Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 01:11 pm EST

Geeklog Forums

menu_elements in a block


Big Daddy

Anonymous
Is there a way to add the menu_elements to a block.

I like the look of the "frame" used for my left blocks and would like for the menu to appear in one of these block frames without having to hard code a menu for the site.
 Quote

Status: offline

samstone

Forum User
Full Member
Registered: 09/29/02
Posts: 820
There is a Menu Plugin that you can find it in download area.
 Quote

Big Daddy

Anonymous
Thanks, but I was trying to avoid using the plug-in.

I have decided to just use an html table as a wrapper, using the same graphics that are used to create the wrapper around my blocks.

Worked great and you can't tell its not a block, to look at.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
It should be possible to call COM_renderMenu (in lib-common.php) from a PHP block. Requires some PHP code, of course.

bye, Dirk
 Quote

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