dimopoulos
08-07-2008, 08:58 PM
Greetings,
I have read quite a bit on hooks in the article section so I decided to give it a go.
I created a plugin which hooks to the global_start. It queries the blogs and picks the last 10 entries from it. It then stores it in a variable which I can use.
Everything works fine if I put the variable to be 'echo'ed in the footer lets say. However when I put the variable in the sidebar (I am using the Ultimate sidebars product) it just doesn't display.
Any ideas as to how I can make a variable that clearly has data work inside another plugin?
Pointers are more than appreciated.
I have read quite a bit on hooks in the article section so I decided to give it a go.
I created a plugin which hooks to the global_start. It queries the blogs and picks the last 10 entries from it. It then stores it in a variable which I can use.
Everything works fine if I put the variable to be 'echo'ed in the footer lets say. However when I put the variable in the sidebar (I am using the Ultimate sidebars product) it just doesn't display.
Any ideas as to how I can make a variable that clearly has data work inside another plugin?
Pointers are more than appreciated.