1
dconn6
Re: MultiMenu smarty variables
  • 2008/5/5 16:54

  • dconn6

  • Just popping in

  • Posts: 3

  • Since: 2008/3/5 1


version 1.8



2
dconn6
calling a smarty function
  • 2008/5/5 12:25

  • dconn6

  • Just popping in

  • Posts: 3

  • Since: 2008/3/5 1


Hi, I need to call a smarty function and I am not sure on the syntax. For example, my function is called show_hide_blocks and I want to call it like this

<td id="button2"><a {show_hide_blocks}>Elementary</a></td>

This syntax is wrong and I am not sure how to correct it. When my mouse is over the button it no longer behaves like a button. It is just text on the page. The smarty function is in /class/smarty/plugins but I haven't included it in the theme.html page where I am calling it from because I am assuming that plugin functions are always available and no need to include them. Adding an onclick to the above doesn't help in any way.



3
dconn6
MultiMenu smarty variables
  • 2008/5/5 11:53

  • dconn6

  • Just popping in

  • Posts: 3

  • Since: 2008/3/5 1


I have 5 buttons across the top of the page which organise my content into various logical groups such as Home, Elementary, MiddleSchool, HighSchool. When a user clicks a button, for example 'Elementary' I want MultiMenu01, which is responsible for displaying Elementary submenus to be visible and when the user presses 'MiddleSchool' I want multiMenu01 to be hidden and multiMenu02 to become visible in exactly the same location as multiMenu01. And so on.....
Is there a smarty variable for controlling whether a particular multiMenu block is hidden or visible - something like $block.multiMenu.01.hidden == true
I cannot find any reference to properties such as above. Is there a secret listing showing all the XOOPS smarty variables(particularly the block variables) somewhere?




TopTop



Login

Who's Online

207 user(s) are online (140 user(s) are browsing Support Forums)


Members: 0


Guests: 207


more...

Donat-O-Meter

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

Latest GitHub Commits