Hi Alan,
On 28/02/13 10:32, Alan Etkin wrote:
Mind that if this is run in the same action as the app wiki, you'll
duplicate the menu item. For solving this, add a conditional statement
to the model so the menu item is appended only if it's not a wiki.
Thanks for responding.
Yes, I think that the least inelegant thing is to ensure that both menu
options have the same name, and make the non-wiki one conditional on a
non-wiki controller. Not terribly elegant, but transparent to the user.
--
Regards,
PhilK
'a bell is a cup...until it is struck'
--
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.