Keyword

Change $item value in event onK2AfterDisplayContent but no effect ?

  • JOOBLOGs.COM
  • JOOBLOGs.COM's Avatar Topic Author
  • Offline
  • Premium Member
More
14 years 6 months ago #75031 by JOOBLOGs.COM
Hi
My target is change data showed under itemAuthorBlock.
I have tried to change $item->author->name in onK2AfterDisplayContent but Author Name under itemAuthorBlock do not change ???
Have any idea ?

PS: Yes, i can make template overwrite for this purpose. but i hope i can do it via plugin ;

Tks

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

More
14 years 2 weeks ago #75032 by Ivo Apostolov
I second this. Tried to figure it out, so far didn't find any way to modify this data.

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

  • JOOBLOGs.COM
  • JOOBLOGs.COM's Avatar Topic Author
  • Offline
  • Premium Member
More
14 years 2 weeks ago #75033 by JOOBLOGs.COM
I have found this trouble. Because data of event was passed into event before Author data insert to variable :)

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


Powered by Kunena Forum