Search:
step askeet tutorial, i was puzzle by great step by PHP errors and layout absence after splitting the previous step from my SVN depot and copy/paste of the question template listSuccess.php and adding the previous code of listSuccess in _list.php, it works again. http://szgy.org/tags/release_day_5/frontend/modules/question/templates/_question_list.php : <div id="question_pager"> <?php if ($question_pager->haveToPaginate()): ?> .
<?php echo link_to_unless($page == $question_pager->getPage(), $page, "question/list?page=".$page) ?> <?php echo ($page != $question_pager->getCurrentMaxLink()) ? "-" :
Milestone:
Assigned to:
Development
#3410 (askeet/1_0/5 tutorial in _list.php
<?php echo question_pager_link("«", 1) ?> <?php echo question_pager_link("<", $question_pager->getPreviousPage()) ?>
#3410 (askeet/1_0/5 tutorial in _list.php : <?php foreach ($question_pager->getLinks() as $page): ?>
<?php echo question_pager_link(">", $question_pager->getNextPage()) ?> <?php echo question_pager_link("»", $question_pager->getLastPage()) ?> a <?php echo link_to("«", "question/list?page=1") ?> <?php echo link_to("<", "question/list?page=".$question_pager->getPreviousPage()) ?> Hello,
Comma-delimited Text
<?php echo link_to(">", "question/list?page=".$question_pager->getNextPage()) ?> <?php echo link_to("»", "question/list?page=".$question_pager->getLastPage()) ?>
<?php endif ?> </div>
Opened 5 months ago
<?php endif; ?> </div>
FabianLange by <?php if ($question_pager->haveToPaginate()): ?>
Following the code from
askeet/1_0/5 tutorial in _list.php : code from svn file did not work)
<?php echo link_to_unless($page == $question_pager->getPage(), $page, "question/list?page=".$page) ?> <?php echo ($page != $question_pager->getCurrentMaxLink()) ? "-" : RSS Feed
(closed defect: duplicate)
Maybe I did not understand this step but after the diff from
<div id="question_pager">