Hi, I managed to create content and menue items for registered users, only.
I have all the pages i) unchached, ii) unserached and obviously I had to keep them Active and Shown in menu for to e useful.
However, when I include module_simplesitemap, all the registered contents (being shown in the registed menues) do get shown up in this publically available list.
Any suggestion would be greatly appreciated.
Thanks.
How can one exclude registered content/menu from being shown in SimpleSiteMap?
Re: How can one exclude registered content/menu from being shown in SimpleSiteMap?
I suggest you make your own sitemap by just making a menu template for it.
Use the extra1 attribute on the pages you want hidden from non members. Just put a 1 in there on the options tab for each page.
Then in your menu call add the parameter loadprops=1 {menu template='sitemap' loadprops=1}.
Then in your menu template, for each node do this:
Use the extra1 attribute on the pages you want hidden from non members. Just put a 1 in there on the options tab for each page.
Then in your menu call add the parameter loadprops=1 {menu template='sitemap' loadprops=1}.
Then in your menu template, for each node do this:
Code: Select all
{foreach from=nodelist item=node} {* this line is already in the menu template *}
{if ($node->extra1 && $ccuser->loggedin()) || !$node->extra1}
{* regular menu logic in here *}
{/if}
{/foreach}{* this line is already in menu template *}
Re: How can one exclude registered content/menu from being shown in SimpleSiteMap?
Thanks so much. I will give it a try.