Keyword

onK2AfterDisplayContent on item.php - JomLike

  • stavroch
  • stavroch's Avatar Topic Author
  • Offline
  • Elite Member
More
13 years 2 months ago #98291 by stavroch
I use the JomLike (www.corephp.com) but in some items I can't see the like / dislike and in some others I can see.

 

As the corephp.com told me the like / dislike component works only if the onK2AfterDisplayContent is used on my template (which is custom). So can I insert the onK2AfterDisplayContent into the item.php?

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

More
13 years 2 months ago #98292 by william white
Replied by william white on topic onK2AfterDisplayContent on item.php - JomLike
Check out the item.php in the default folder. Search for onK2AfterDisplayContent. Copy the code into your override if its not there. I would be carefull about the order of the events and make it the same as in default/item.php

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

  • stavroch
  • stavroch's Avatar Topic Author
  • Offline
  • Elite Member
More
13 years 2 months ago #98293 by stavroch
Replied by stavroch on topic onK2AfterDisplayContent on item.php - JomLike
The solution was not to hard.

 

I hadn't enable the "" from the whole categories.

 

;)

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

More
13 years 2 months ago #98294 by william white
Replied by william white on topic onK2AfterDisplayContent on item.php - JomLike
""  ??

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

  • stavroch
  • stavroch's Avatar Topic Author
  • Offline
  • Elite Member
More
13 years 2 months ago #98295 by stavroch
Replied by stavroch on topic onK2AfterDisplayContent on item.php - JomLike
Enable K2 plugins

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


Powered by Kunena Forum