1
Hi Everybody
I am trying to have collapsible menu items in my custom blocks - like those in XOOPS Main Menu and other system blocks where 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. For example, I have a custom block called Office and there are 3 links in it, namely, Admin, Finance and IT. When user clicks on Admin, the Admin sublinks (Vacation Leave, Sick Leave) will apear below Admin in the custom block, and the Admin main page will also appear in XOOPS center column - just like clicking on News in the XOOPS Main Menu block.
I tried to use Smarty in the Options of my Custom block but it didn't work.I also tried Javascript but it does not work for internal links - the collapsed menu closes once the href link is followed through.
Can anybody help?
Thank you very much in anticipation.
Gui
okay, I've found a way - smarty & javascript do not work. have to use php.