Development

#3007 (typo in example code)

You must first sign up to be able to contribute.

Ticket #3007 (closed documentation: fixed)

Opened 4 months ago

Last modified 4 months ago

typo in example code

Reported by: pihentagy Assigned to: xavier
Priority: minor Milestone:
Component: sfPropelActAsTaggablePlugin Version: 1.0.11
Keywords: Cc:
Qualification: Accepted

Description

In the section "Tags cloud generation"

<?php
// gets the popular tags
$tags = TagPeer::getPopulars();

// display the tags cloud. The tags will use the route name "@tag" which tags 
// the request parameter "tags"
echo tag_cloud($tags, '@tag?tags');

the last line should be:

echo tag_cloud($tags, '@tag?tags=');

Change History

02/25/08 15:38:11 changed by xavier

  • status changed from new to closed.
  • resolution set to fixed.
  • qualification changed from Unreviewed to Accepted.

fixed in [7607]