General Community > Scripting Help

Show HTML after user login

<< < (2/3) > >>

Arantor:
And what exactly do you want to show if the user is logged in?

The reason I'm being so awkward is because there are going to be several nested conditions in that piece of code (though, honestly, copying/pasting that part of the file here would be *much* easier than using a screenshot to work with)

merlyn333:
(...) I want the tab to be hidden until the user logs in.

Arantor:
And just that <label> code is the tab is it?

* Arantor prepares to sit and retype all that code to show you how to integrate it in to the tertiary if statement where you've added it...

merlyn333:
(...) Yes, the <label> code is the tab.

Arantor:
Is there any chance you could copy/paste the code from your index.template.php file instead of my sitting there and retyping it all?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version