Welcome to Geeklog, Anonymous Thursday, November 07 2024 @ 03:27 pm EST

Geeklog Forums

How to make the left & right blocks differnent look ?


maxPayne

Anonymous
Hey , My Problem is I want to create a theme and the left and right blocks data includes the blocks and they looks same . But I want different Menüs. I´d try so much and all diddnt work Frown Can you help me ?
 Quote

Status: offline

knuckles

Forum User
Chatty
Registered: 12/17/01
Posts: 35
This is very simple. In my theme "clean" I have several examples, however, it is not obvious from the default install as it was not made to take advantage of it. I did however, ship it with the ability to have different left and right blocks as well as different blocks within the left or right. Open the clean theme and read the included functions.php file in it. The code you will find in the functions.php file for the clean theme is NOT included in any other theme. There you will find examples on how to have different block styles within the left or right blocks AND have a different left and right block altogether. I think the code you will find is very self explainitory and should not require additional help on my part. Keep in mind though that you will need to start making extra thtml files in your theme to support the left and right block and also for any individual block you want to create. Have fun! PS: A big thanks goes out to Tony for writing that code for me more than a year ago! Smile
 Quote

Anonymous

Anonymous
Thanks for pointing this out.
 Quote

Status: offline

soydog

Forum User
Chatty
Registered: 08/18/03
Posts: 49
Quote by knuckles: The code you will find in the functions.php file for the clean theme is NOT included in any other theme.
Can this functions.php from the Clean theme brought into other themes to do the same?
Keep in mind though that you will need to start making extra thtml files in your theme to support the left and right block and also for any individual block you want to create.
Could someone tell me what extra thtml files need to be made? This wasn\'t clear to me by just looking at that functions.php file. Thanks.
Anarchist Football Network - http://www.passionbomb.com/soccer
"If I can't play soccer, I want no part of your revolution."
 Quote

Status: offline

DTrumbower

Forum User
Moderator
Registered: 01/08/03
Posts: 507
Can this functions.php from the Clean theme brought into other themes to do the same?
It sure can.
Could someone tell me what extra thtml files need to be made?
From memory: Look for files that say leftblock and rightblocks or something similar.
 Quote

All times are EST. The time is now 03:27 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