Welcome to Geeklog, Anonymous Saturday, September 07 2024 @ 08:12 pm EDT
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
Can you help me ?
![Frown Frown](https://www.geeklog.net/forum/image_set/pixel.gif)
11
13
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 Smile](https://www.geeklog.net/forum/image_set/pixel.gif)
12
27
Quote
Anonymous
Anonymous
Thanks for pointing this out.
12
10
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."
11
24
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.
9
13
Quote
All times are EDT. The time is now 08:12 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