• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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

Marcus

Well-known member
#1
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.