Hide page tag button for guest

Login / Search

Hide page tag button for guest

i new for ocportal and did't know any programming language. i want to ask a couple question.

1. I would like to hide page tag camcode in side welcome page. i want it to apear after user log in only.

the purpose for that i didn't want guest to see inside.

2. what the best solution to hide page forum or etc because if guest click rules link it will open new page and our group requirement guest only can see welcome page only and the rest only member can see. One of our member suggest, for guest only can see logo and login module. can it be done.

3. How to hide left side bar for guest. Already set on permission tree for no view for guest at welcome page and site (camcode left side bar). Log out to check but it still there for welcome page.

1. To hide the button, log in using your admin username, then click Edit this page at the bottom of the Welcome page. Near the top of the Text Editing window (just below the title of your website), you have a box named "main_greeting" and then a box named "page_tag". Immediately before "page_tag" type this (or copy & paste it in):
{+START,IF,{$NOT,{$IS_GUEST}}}
Then, immediately after the "page_tag" box, type
{+END}
Then Save your page.
Anyone who has not logged in will not see the button now. (The code is in a language called Tempcode, and this would be called a "Tempcode restrictor")

2. To make the "Rules" menu button invisible to Guests, go to Adminzone>Structure>Menu management. In the Menu_existing window, select root_website, then click Choose. Under "Branches", find "Rules" and click its name. Expand the page by clicking the tiny icon on the lower right of the screen. Then scroll down to "Advanced" and click to expand it. In the "Restrict link visibility" field, paste in:
{$?,{$IS_GUEST},_never_}
Then save your page.
Again. this Tempcode will allow logged-in users to see the Rules page, but Guests will not.

You can hide the Social/ Forum tab on the top menu by returning to the Menu management Menu_existing window, and choosing zone_menu. Then perform the same steps as above for the "Social" (or "Forum") branch,

There is another, actually quicker method of hiding both of the above from Guests. Go to Admin_zone>Security>Permissions tree editor. Click on the + symbol beside Zone:Welcome to expand the tree, then select (highlight) comcode_page:rules. Scroll down to the Permissions table and uncheck the "view access" box on the Guests row. Then save. Now go back up to the tree, and highlight Zone:Forums
Then scroll down to the Permissions table and uncheck the view access box for Guests. Then save.

3. To hide the Welcome page's left sidebar, scroll down to the bottom of the sidebar and click the "Edit in Zone editor" link. On the Zone editor page, click Edit on the left panel. There will be some grey boxes in the edit screen. Immediately before the first box, type/paste in the same Tempcode as in Item 1 above,{+START,IF,{$NOT,{$IS_GUEST}}}Then, immediately after the last box, type{+END}
Then save the Zone editor page.