Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 11:29 pm EST
Geeklog Forums
3 column layout to a 2 column layout
Status: offline
trenchteam
Forum User
Regular Poster
Registered: 06/08/04
Posts: 89
How can I accomplish this? I read the faq's but it really didnt enlighten me
5
4
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
I assume you are talking about CSS. or are you interested in the much more complicated DHTML solutions?
If CSS, the easiest way would be to nest your 3rd column within the 2nd column (float right). when the 3rd column/rightblocks are not called, the 2nd column will expand. viola! 3 columns into 2. You can see an example of this in my purplerose theme, which you can find here ,</shamelessPlug> but has been updated (read the comment).
If you're just talking about not using the rightblocks on any page including the index page, look for COM_siteFooter('true'); and change to COM_siteFooter() in the appropriate php file, eg, index.php. but i think you already knew that.
If CSS, the easiest way would be to nest your 3rd column within the 2nd column (float right). when the 3rd column/rightblocks are not called, the 2nd column will expand. viola! 3 columns into 2. You can see an example of this in my purplerose theme, which you can find here ,</shamelessPlug> but has been updated (read the comment).
If you're just talking about not using the rightblocks on any page including the index page, look for COM_siteFooter('true'); and change to COM_siteFooter() in the appropriate php file, eg, index.php. but i think you already knew that.
5
6
Quote
Status: offline
trenchteam
Forum User
Regular Poster
Registered: 06/08/04
Posts: 89
and if I wanted to change a 2 column layout to three columns, I would just add the {right_blocks} to the footer?
4
3
Quote
Status: offline
Euan
Forum User
Full Member
Registered: 04/22/02
Posts: 292
No.... right_blocks is in the header.thtml file. You should probably read this and a bit of this but neither are completely simple introductions (which implies that someone should write one I guess...).
Cheers,
Euan.
-- Heather Engineering
-- No job too small
Cheers,
Euan.
-- Heather Engineering
-- No job too small
3
3
Quote
All times are EST. The time is now 11:29 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content