Welcome to Geeklog, Anonymous Saturday, November 30 2024 @ 09:47 pm EST
Geeklog Forums
Block question.
bullet
Anonymous
Ok.. I'm a newb when it comes to this stuff so just play dumb and you might be able to figure out what I'm talking about. I've searched the site and haven't seen anything posted that is close to this.
I've successfully installed geeklog on my site. I'm currently working on my design and I've ran into a problem, of sorts. I would like 2 different styles or themes of blocks on the side. Is there an easy way of doing this?
6
8
Quote
Status: offline
Euan
Forum User
Full Member
Registered: 04/22/02
Posts: 292
Can't you do this by just creating two themes? Ah, you want to create two types of sideblock in one theme? That would be cool.
Should be doable if you could pass a value when you call COM_blockheader and COM_blockfooter, and edit those functions. But I think that all the blocks are built in a loop with COM_blockheader and COM_blockfooter called automatically, so I can see problems...
Excuse me if I'm being ignorant and this is all BS Can a pro comment on this?
Cheers,
Euan.
-- Heather Engineering
-- No job too small
-- Heather Engineering
-- No job too small
7
10
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Well, you can not have different styles on a block-by-block basis. What you can have, though, is a different look for the blocks on the left and on the right. Check out the themes that already do this, like Smooth_Blue or Evolution.
bye, Dirk
10
8
Quote
Anonymous
Anonymous
Welp, thanks guys! Question answered for the most part. I was actually looking to do 2 themes of blocks on one side. However, since I know nothing about programming, I'm gonna forgo that particular part of my project. -- A friend of mine actually looked at it and said he didn't think it was possible because of the looping but I just thought I'd ask to make sure.
7
9
Quote
All times are EST. The time is now 09:47 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