Menu module; include a page menu but keep that page hidden for visitors
Bernard Sfez / Tiki Specialist wrote:
I want anonymous able to see the menu page module in the footer when they load https://tiki.org
But not be able to load directly the page (https://tiki.org/Shared_t_o_footer
)
Ah.... got it. You can easily do this with CSS:
Copy to clipboard
{if !$user} <style type="text/css"> .page-data .twfooter {display:none} </style> {/if}
And if you want to make the page only available to admins, you could simply change it to something like:
Copy to clipboard
{if $tiki_p_admin_wiki eq 'y'} ... {/if}
Of course, this isn't perfect (as the user can always see the page's content in the source).
HTH,
- Rick
| My Tiki Blog | My Tiki UserPage
Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties
, your source for the best (and only) Tiki books, guides, and tutorials.
Tiki for Smarties