Autohide for non-registered?

6 years 11 months ago #1 by Ralf Longwitz
Hi,

I just downloaded and installed your plugin - very nice, worked at once. I also submitted a review to JED.

You mention one should make sure the link is only shown to logged in users. Perhaps you could add a check and always hide the button when not logged in?
What I would do now, is either add php around the link with Sourcerer, or add JS to the template. If you had this built in, it would save some people headaches ...

Thank you!

Regards, Ralf.
6 years 11 months ago - 6 years 11 months ago #2 by Function90
Hello Ralf,

Thank you so much for the appreciation.
Initially we thought the same. But we found that there is some uncertainty in the html of logout link and we can not be sure to which element should be removed.
For example:
<li>
    <a href="#" class="f90-logout-button">Logout</a>
</li>

In the above case li should be removed and in some other cases it could be different with different nesting level.

So there may be various case. Thats why we have not given it in plugin itself.

Thank you
Team Function90
You can share your views regarding our extension at JED ( extensions.joomla.org/profile/profile/details/225115#extensions )

Hire Professional Joomla Developers. ( www.function90.com/contact-us.html )
Powered by Kunena Forum
Cron Job Starts