Keyword

How to generate Unique id for K2 article?

  • aarokkiyam
  • aarokkiyam's Avatar Topic Author
  • Offline
  • New Member
More
6 years 7 months ago - 6 years 7 months ago #167354 by aarokkiyam
How to generate Unique id for K2 article? was created by aarokkiyam
Hi, I am currently installing Vuukle 2.0 comments platform using JavaScript.

docs.vuukle.com/how-to-embed-vuukle-2.0-via-js/

I can see the comments in my website but those comments are repeating at every K2 article, due to mismatched articleId.

My requirement is ...

UNIQUE_ARTICLE_ID – Replace with a variable which generates the unique ID used to identify an article on your website
Last edit: 6 years 7 months ago by aarokkiyam.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 7 months ago #167358 by Krikor Boghossian
Replied by Krikor Boghossian on topic How to generate Unique id for K2 article?
Hello,

Depending on the context (category_item, item) the id can be printed with either $this->item->id or $item->id

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