Keyword

Change $item value in event onK2AfterDisplayContent but no effect ?

  • JOOBLOGs.COM
  • JOOBLOGs.COM's Avatar Topic Author
  • Offline
  • Premium Member
More
15 years 4 weeks 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 7 months 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 7 months 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