Callback: Pass parameter in $params or access with $template

Marcus

Well-known member
I want to fetch the page number. This works within the callback php:
PHP:
ZEND_DEBUG::dump($template->getParam('page'));

However I wonder if it is not better to put the page number in the <xen:callback /> as parameter.

I also wonder how to access the current page number (1,2,3,4,5 ...) in forum_view.
 
Top Bottom