- Posts: 363
- Thank you received: 25
OS Property support center
Make certain tabs visible only for registred user
- Stephen
-
Topic Author
- Offline
- Platinum Member
-
Less
More
9 years 11 months ago #63362
by Stephen
If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Make certain tabs visible only for registred user was created by Stephen
Hi
Is it possible to make certain tabs only visible for registred users?
Tab´s like:
a) Add to compare list.
b) Print as PDF.
c) Print this page.
If this is possible how to accomplish this?
If this is not possible now, mybee it could be possible in a future release.
Is it possible to make certain tabs only visible for registred users?
Tab´s like:
a) Add to compare list.
b) Print as PDF.
c) Print this page.
If this is possible how to accomplish this?
If this is not possible now, mybee it could be possible in a future release.
If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
9 years 11 months ago #63370
by Mr. Dam
Replied by Mr. Dam on topic Make certain tabs visible only for registred user
Hi Stephen,
You can make the those buttons to be visible with registered user by adding
on those buttons. The source file is in: components > com_osproperty > templates > theme1 > details.html.tpl.php
Good luck
Dam
You can make the those buttons to be visible with registered user by adding
Code:
$user = Jfactory::getUser();
if($user->id > 0){
//show buttons
}
Good luck
Dam
Please Log in or Create an account to join the conversation.
- Stephen
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 363
- Thank you received: 25
9 years 11 months ago #63389
by Stephen
If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Replied by Stephen on topic Make certain tabs visible only for registred user
Hi
Thank you for your answer, but since I´m not exactly 100% sure where to pu the code perhaps som guidance from your side could help me.
In picture, where should I put the code you mention above (in wich line).
Most greatful for any help.
Thank you for your answer, but since I´m not exactly 100% sure where to pu the code perhaps som guidance from your side could help me.
In picture, where should I put the code you mention above (in wich line).
Most greatful for any help.
If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
9 years 11 months ago #63399
by Mr. Dam
Replied by Mr. Dam on topic Make certain tabs visible only for registred user
Hi,
You can put the code (IF statement) above the <LI> tag and end if at </LI> tag
Thanks
Dam
You can put the code (IF statement) above the <LI> tag and end if at </LI> tag
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Stephen
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 363
- Thank you received: 25
9 years 11 months ago #63410
by Stephen
If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Replied by Stephen on topic Make certain tabs visible only for registred user
Hi
Thank you for explaining but still no luck for me to do this, must have put it in the wrong place
Anyway no problem I can manage without this.
Once again thank you for all your help.
cheers
Thank you for explaining but still no luck for me to do this, must have put it in the wrong place

Anyway no problem I can manage without this.
Once again thank you for all your help.
cheers
If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
9 years 11 months ago #63460
by Mr. Dam
Replied by Mr. Dam on topic Make certain tabs visible only for registred user
OK Stephen, if you need any help, you can use Ticket system
Thanks
Dam
Thanks
Dam
The following user(s) said Thank You: Stephen
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.