Development

#3069 (Askeet - _list.php link is wrong)

You must first sign up to be able to contribute.

Ticket #3069 (closed documentation: wontfix)

Opened 9 months ago

Last modified 7 hours ago

Askeet - _list.php link is wrong

Reported by: adam Assigned to: fabien
Priority: major Milestone:
Component: askeet Version: 1.0.10
Keywords: Cc:
Qualification: Unreviewed

Description

I think that there is a problem with the tutorial. On day 5, in the templates, section it tells you to replace listSuccess with a few simple lines of code. Then it gives a link to get the _list.php from svn.

Unfortunately, that link doesn't point to a file called _list.php, it links to a file called _question_list.php. That doesn't work even after I change the name, or change the include_partial to use this name.

I listed it as major because it seems no one can complete the tutorial without having the correct file.

Here is the section with the problem:

= = = = = = = =

Templates

The list of question displayed in question/templates/listSuccess.php will be reused somewhere else in the future. So we will put the template code to display a list of question in a _list.php fragment and replace the listSuccess.php content by a simple:

<h1>popular questions</h1>

<?php echo include_partial('list', array('question_pager' => $question_pager)) ?>

The content of the _list.php fragment can be seen in the askeet SVN repository.

= = = = = = = =

Change History

03/09/08 04:50:40 changed by Carl.Vondrick

  • component changed from other to askeet.

04/14/08 07:10:34 changed by matthew.hallsworth

I've been working through the tutorial today and agree with this ticket.

To get around the issue of the wrong file being present, I merely for the moment, copied the contents of listSuccess.php into _list.php before replacing the code in listSuccess.php with the smaller snippet code provided on Day 5.

Hope this helps.

12/03/08 00:10:33 changed by FabianLange

  • status changed from new to closed.
  • resolution set to wontfix.

because this is minor and can be fixed by the reader, we will not fix askeet in favor of the new Jobeet Tutorial