Welcome to Geeklog, Anonymous Thursday, December 26 2024 @ 04:55 am EST
Geeklog Forums
Menu sections in 'Blocks'
Anonymous
Anonymous
I would like to use the menu add on but i have one small problem with it...i would like it so that instead of a horisontal line when you leave the comment box blank it made another block. i hope that makes sense...i thought that just adding the code for the nice block table footer and header where the <hr> code goes might solve it?i havnt had a chance to try it yet but any help would be nice!!
9
8
Quote
Anonymous
Anonymous
ok i have managed this in a really really nasty way..
i am using the gameserver theme and this will only work for that. i just took the code in the block_footer.thtml and block_header.thml and put that in to the menubar.thtml, canging the {title} (i think) to {m_label}.
i also had to add
$TL->set_var('layout_url',$_CONF['layout_url']);
to the functions.inc of the menu plugin (geeklogpath/plugins/menu/functions.inc)
this is really messy and will of course only work for one theme.
if anyone knows a way to take the blockheader.thtml of the current theme and include it that would be better.
hope somebody finds this helpful... and i hope someone can improve it!!!
Steve
6
7
Quote
All times are EST. The time is now 04:55 am.
- 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