_question_block.php

Discussion around this tutorial for symfony 1.0.x

Moderators: dwhittle, Ian

_question_block.php

Postby smallbeer » Wed Apr 26, 2006 7:34 pm

In the partial question/templates/_question_block.php, where does the variable $rule could from?

Code: Select all
<?php echo pager_navigation($question_pager, $rule) ?>


cheers.
smallbeer
Faithful Member
 
Posts: 282
Joined: Sun Nov 27, 2005 3:23 pm

Re: _question_block.php

Postby francois » Wed Apr 26, 2006 9:49 pm

The partial caller must probably specify it:

Code: Select all
<?php echo include_partial('question_block', array('rule' => '@question') ) ?>


Or something like that. Which day are you referring to?
francois
Faithful Member
 
Posts: 1638
Joined: Sat Oct 22, 2005 4:56 pm

Re: _question_block.php

Postby smallbeer » Wed Apr 26, 2006 11:33 pm

I think it was part of some refactoring as it wasn't actually mentioned in one of the days. But yeah, I just found it in a partial caller.

http://trac.askeet.com/trac/browser/trunk/apps/frontend/modu les/question/templates/listSuccess.php

Cheers :)~ :-)~ :smile:
smallbeer
Faithful Member
 
Posts: 282
Joined: Sun Nov 27, 2005 3:23 pm


Return to askeet

Who is online

Users browsing this forum: No registered users and 0 guests