1
zzzzsg
Collapsible menu in Custom blocks
  • 2006/2/17 2:11

  • zzzzsg

  • Just popping in

  • Posts: 86

  • Since: 2005/12/22


Hi

Does anybody know how to make a collapsible menu item in a Custom Block - like in Main Menu block?

In XOOPS Main Menu and other system blocks, clicking on a module item will cause it to collapse into its submodule items. For example, clicking on News will cause Submit News and Archives to appear. However, in my custom blocks are links to XOOPS Content module pages and not modules.

I've tried Smarty in Custom Block and obviously Smart does not work in the Option Contents of Custom Block. I've tried Multi-Menu as well but it is for modules and not pages. I also tried Javascript but it does not work for internal links - the collapsed menu closes once the href link is followed through.

Thank you very much.

Gui

Okay, I've found a way. Smarty and Javascript do not work. Have to use PHP.

Login

Who's Online

123 user(s) are online (74 user(s) are browsing Support Forums)


Members: 0


Guests: 123


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits