Keyword

Mark articles with special access level

  • WinniePooh
  • WinniePooh's Avatar Topic Author
  • Offline
  • Senior Member
More
7 years 4 months ago #159600 by WinniePooh
Mark articles with special access level was created by WinniePooh
Hello,

before using K2 there was a nice function in my old template that marked articles visually which were published on special access level.

Is there a way to integrate this for K2?

Regards
Denis

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 4 months ago #159606 by Krikor Boghossian
Replied by Krikor Boghossian on topic Mark articles with special access level
Hello,

Yes this option is still available in the item's form. You can still change the item's access level.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • WinniePooh
  • WinniePooh's Avatar Topic Author
  • Offline
  • Senior Member
More
7 years 4 months ago #159620 by WinniePooh
Replied by WinniePooh on topic Mark articles with special access level
No, I didn't meant that. I wanted to know which attribute I need in the PHP code to get the access level of an article. If the article is special, I would like to mark it in the frontend by just appending a css class.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 4 months ago #159645 by Krikor Boghossian
Replied by Krikor Boghossian on topic Mark articles with special access level
Oh I see.
You can use var_dump($this->item) or var_dump($this) in order to see all the properties of the object.
Let me know if that helps or you need any further assistance.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum