Loading...
 
Skip to main content

Features / Usability


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.orgQuestion
But not be able to load directly the page (https://tiki.org/Shared_t_o_footerQuestion)


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,

- RickQuestion | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.comQuestion
Tiki for SmartiesQuestion, your source for the best (and only) Tiki books, guides, and tutorials.