Info
- 2 posts
- 1 voice
- Started 5 years ago by thomasklaiber
- Latest reply from thomasklaiber
- This topic is not a support question
Strange views
-
- Posted 5 years ago #
Hey,
Maybe it's just getting too late now (02:12 am here in germany) or I am doing something wrong.
I've added a new view-section called Posts since last visit.
And when I'm on the specified view page it's calling the right function added via plugin, if I put in a echo it is displayed on the very top of my page (yeah ... it's an echo in the plugin-file, this seems correct).
But everything I add to the variable
$topicswont be displayed, the variable is always empty?! I need to add the topics array to this variable because the whole views template uses it ... but I can add anything, Nothing happens.Any ideas? Some small thing I'm missing?
-
- Posted 5 years ago #
Bah ... I'm sure it was to late... i forgot to add
global $topic;to my function -.-" -
You must log in to post.