PDA

View Full Version : Trouble - can`t get variable in template from plugin


Ljusya
30 Sep 2009, 14:24
Please, help with my code:

I have 2 plugin

First - in blog_entry_start


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Second in blog_list_entries_start


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



And template 'mytemplate' with code


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Both plugin work - phrase "some text" appear in the right places But text from variable $myvar appear only in places of blog_entry_start

How can i get my variable for use in mytemplate from second plugin in hook blog_list_entries_start ? Why similar code gives different results?

--------------- Added 1254401073 at 1254401073 ---------------

Nobody can`t help me?