Hello,
Can I have some lights about what steps should we take in order to show the "Add FAQ" option only when a user is registered.
Thanks in advance,
Márcio
Show "Add FAQ" only after login
Moderator: Thorsten
Re: Show "Add FAQ" only after login
I have:
1) Comment the li element on the index.tpl file that corresponds to the "Add Faq" item.
2) Change the loggedin.tpl
And added:
<a href="http://faq.myurl.com/admin/index.php?ac ... entry">Add FAQ</a>
Since I was unable to properly echo the {msg...} I was getting a literal string
The same for the href path. So hard code it was.
Regards,
Márcio
1) Comment the li element on the index.tpl file that corresponds to the "Add Faq" item.
2) Change the loggedin.tpl
And added:
<a href="http://faq.myurl.com/admin/index.php?ac ... entry">Add FAQ</a>
Since I was unable to properly echo the {msg...} I was getting a literal string
The same for the href path. So hard code it was.
Regards,
Márcio