Start ::
Extensions Support and Information ::
Themes ::
HTML problem with AutoTheme
Moderated by: Support Team
-
- rank:
-
pnFreshman
- registered:
- February 2008
- Status:
- offline
- last visit:
- 17.03.08
- Posts:
- 12
Hi everyone!
Since I can't seem to make an account on the AutomTheme support forums (keeps giving me an error...), I have to ask my question here, but I am very confident the people here will be able to help me
.
Ok my problem is the following:
On my webpage, when I go to certain modules, not all blocks that I have turned on show or show in the right place. The main problem is with the right blocks not wanting to go to the right.
I dug a bit deeper in the files that code for the layout of these modules and found these to be the theme.html, theme2.html and theme3.html. The problem lies in the theme3.html. In this file, only the left blocks are called and not the center or right blocks.
I tried (by looking at the other theme files) to call the right blocks (I don't need the center ones). Now the only way this actually worked for me, was to make a new table and put the right blocks in there. Now in firefox this worked partially, if your resolution is high enough, otherwise the right blocks will disappear behind the module, which is in the center part of the page. In IE 7 however this partial solution doesn't seem to work, in IE the right blocks disappear behind the left blocks.
I have tried to call for the right blocks in the table where the left blocks are also called, but I can't get it to work properly. The right blocks always appear somewhere else. So if someone understands what I mean in the first place and can help me I would really appreciate it, because its being a pain the ...!
The code I added in theme3.html is between the "------", this is the code that works in firefox at higher resolutions.
The weird thing also is that the modules that are coded by theme.html and theme2.html don't have all the calls for these theme images (I can just turn them on or of in AutoTheme). However the modules that are coded by theme3.html, somehow need this "hard" code for the theme to show on them. Also I don't understand what the selection process is for the certain modules to be coded by theme.html, theme2.html and theme3.html.
Well again hope someone understands the problem and can help me out! If you need screenshots of the problem I'll be glad to provide those too.
Thanks in advance! -
- rank:
-
pnProfessional
- registered:
- March 2003
- Status:
- offline
- last visit:
- 02.03.08
- Posts:
- 1309
Easiest thing would be to make a copy of theme.html, name it theme3.html and remove the center-blocks call from it.
-----
PostNuke Themes -
- rank:
-
pnFreshman
- registered:
- February 2008
- Status:
- offline
- last visit:
- 17.03.08
- Posts:
- 12
Yeah I tried that, but if I do that the theme will disappear. Which makes perfect sense now, because in AutoTheme, I set the theme to be theme3.html for all the custom pages. The only weird thing is that the modules that are coded by the theme.html and theme2.html show the blocks correctly and can have the look of theme3.html, but the modules coded by theme3.html can't show the blocks, because they aren't called for in the theme3.html. So to solve this problem I guess I would have to edit some file, so all the modules will be coded by either theme.html or theme2.html, so the blocks show correctly and then through AutoTheme set the theme to be theme3.html.
But in what file can I edit the theme file by which each module is coded? -
- rank:
-
pnProfessional
- registered:
- December 2003
- Status:
- offline
- last visit:
- 08.05.08
- Posts:
- 2635
Hi,
It is hard to take in what you are trying to say, without working examples.. You are trying to do a layout with tables.. and that is 'bad form'. Now, I am only speculating... but google pixel.gif for the old white-space hack, I am sure it is well documented, still.
Now if I recall correctly, AutoTheme gives you the ability to assign everything on a per module basis, but I forget how to do it... but it does have an advanced console.
Anyway also google table vs tableless design.
HTH..a bit
-----
-- David Pahl -- (PostNuke Support Team)
<div id="me" class="none" style="none" />
-
- rank:
-
pnFreshman
- registered:
- February 2008
- Status:
- offline
- last visit:
- 17.03.08
- Posts:
- 12
Ok I'm still not getting it to work and I'm becoming pretty frustrated by this. On the AT forums no one is replying to my problem, so I am back here again
.
My newest idea to solve this problem is to find the file that sets the theme-file that codes for each module. In this way I can change the modules that aren't working to read theme2.html for their layout, but set their theme to theme3.html in the AT menu.
Thanks in advance! -
- rank:
-
pnFreshman
- registered:
- February 2008
- Status:
- offline
- last visit:
- 17.03.08
- Posts:
- 12
Well still cant get it to work.... I guess there is no way to get those blocks to show when I put theme3 on. I don't have the knowledge of HTML coding to code the theme3 file to show the right blocks. So if someone has time to help me with that I would greatly appreciate it, otherwise I guess it wont work for me this time around
.
Start ::
Extensions Support and Information ::
Themes ::
HTML problem with AutoTheme
