- Posts: 29
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- Display Joomla K2 Extra Fields only to Certain Users or Grou
Display Joomla K2 Extra Fields only to Certain Users or Grou
- Usop Wilcha
- Topic Author
- Offline
- Junior Member
Less
More
7 years 2 months ago - 7 years 2 months ago #163764
by Usop Wilcha
Display Joomla K2 Extra Fields only to Certain Users or Grou was created by Usop Wilcha
Hi
I was looking on this post, which kinda resemblance with my small project requirements here but mine were just much simpler
I need a quick fix where only certain user groups that can view the extra fields value in the item page, does this achievable by using CSS only?
What i can think now is to use custom css module to hide certain value to be displayed, and this module access level will do the tricks
Unfortunately, currently i can't find the right css line that control the each extra fields value.. does it need some special tweak or located elsewhere unusually?
Is there any easier solution options available? kindly please share : )
Many thanks for your kindness
Regards
I was looking on this post, which kinda resemblance with my small project requirements here but mine were just much simpler
I need a quick fix where only certain user groups that can view the extra fields value in the item page, does this achievable by using CSS only?
What i can think now is to use custom css module to hide certain value to be displayed, and this module access level will do the tricks
Unfortunately, currently i can't find the right css line that control the each extra fields value.. does it need some special tweak or located elsewhere unusually?
Is there any easier solution options available? kindly please share : )
Many thanks for your kindness
Regards
Last edit: 7 years 2 months ago by Usop Wilcha.
Please Log in or Create an account to join the conversation.
- Emmanouil
- Offline
- Senior Member
Less
More
- Posts: 58
7 years 2 months ago - 7 years 2 months ago #163772
by Emmanouil
Replied by Emmanouil on topic Display Joomla K2 Extra Fields only to Certain Users or Grou
Hi Danny,
just to be clear. You have a group of extra fields and you want one of them to be visible only to a certain user group right?
I have a solution but it not involves css in. If i understood right let me know and i will guide you.
just to be clear. You have a group of extra fields and you want one of them to be visible only to a certain user group right?
I have a solution but it not involves css in. If i understood right let me know and i will guide you.
Last edit: 7 years 2 months ago by Emmanouil.
Please Log in or Create an account to join the conversation.
- Usop Wilcha
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
7 years 2 months ago #163774
by Usop Wilcha
Replied by Usop Wilcha on topic Display Joomla K2 Extra Fields only to Certain Users or Grou
Hi Emmanouil,
Yes, you're right here
Here's the scenario,
I'm creating a directory listing , which contents were submitted by the registered users
Some fields of the custom values only for the internal records only, not to be visible to the public, that's why i've planned to use the css tricks if possible since it can be manipulated with custom css module and acl related settings
All Extra Fields submitted by registered user (agent) - Visible by admin
e.g
Fields 1
Fields 2
Fields 3
Fields 4
Fields 5
Some extra fields were hidden from the public / guest views
e.g
Fields 1
Fields 3
Fields 5
Appreciate your helpful sharing here : )
Yes, you're right here
Here's the scenario,
I'm creating a directory listing , which contents were submitted by the registered users
Some fields of the custom values only for the internal records only, not to be visible to the public, that's why i've planned to use the css tricks if possible since it can be manipulated with custom css module and acl related settings
All Extra Fields submitted by registered user (agent) - Visible by admin
e.g
Fields 1
Fields 2
Fields 3
Fields 4
Fields 5
Some extra fields were hidden from the public / guest views
e.g
Fields 1
Fields 3
Fields 5
Appreciate your helpful sharing here : )
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 2 months ago #163785
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Display Joomla K2 Extra Fields only to Certain Users or Grou
Hello,
Please read this post
www.joomlaworks.net/forum/k2-en/47425-how-do-i-make-extra-fields-visible-to-registered-users-alone
In order to render each field individually:
github.com/kricore/Advanced-templating-with-K2/blob/master/_inc/cheatsheet.php#L168-L173
Remember to always use overrides.
Please read this post
www.joomlaworks.net/forum/k2-en/47425-how-do-i-make-extra-fields-visible-to-registered-users-alone
In order to render each field individually:
github.com/kricore/Advanced-templating-with-K2/blob/master/_inc/cheatsheet.php#L168-L173
Remember to always use overrides.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- Display Joomla K2 Extra Fields only to Certain Users or Grou