I have the following piece of code.
$template->assign_block_vars('topicrecentpopular', array(
'TOPICSPOPULAR' => $poppost,
'TOPICSPOPULARC' => $poppostc,
'TOPICSPOPULARVIEW' => $popviewpost,
'TOPICSPOPULARVIEWC' => $popviewpostc,
'TOPICSRECENT' => $lastpost)
);
If I change topicrecentpopular to another name like stacy and then change it in the one other place I have it, I get no data. topicrecentpopular is not declared anywhere, so I don't understand why php would mind if it had a different name.
Any ideas? Thanks.
$template->assign_block_vars('topicrecentpopular', array(
'TOPICSPOPULAR' => $poppost,
'TOPICSPOPULARC' => $poppostc,
'TOPICSPOPULARVIEW' => $popviewpost,
'TOPICSPOPULARVIEWC' => $popviewpostc,
'TOPICSRECENT' => $lastpost)
);
If I change topicrecentpopular to another name like stacy and then change it in the one other place I have it, I get no data. topicrecentpopular is not declared anywhere, so I don't understand why php would mind if it had a different name.
Any ideas? Thanks.