To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Ticket #441 (closed enhancement: fixed)

Opened 20 months ago

Last modified 16 months ago

Tags on blogposts should be links to filter posts by that tag

Reported by: rickybanister Owned by: wjohnald
Priority: major Milestone: 1.5
Component: apostropheBlogPlugin Version: trunk
Keywords: Cc: dordille, geoffd, jake
Symfony version: 1.4

Description

We don't currently have the ability to click on a tag associated with a post to filter the blog.

Right now I'm using this code to display the tags, but they don't link anywhere:

	<div class="tags">
		<?php if ((count($a_blog_post->getTags()) != 0)): ?>
			Tags:
			<?php $i = 1?>
			<?php foreach ($a_blog_post->getTags() as $tag): ?>
				<?php echo $tag ?><?php if($i < count($a_blog_post->getTags())):?>, <?php endif ?>
				<?php $i++ ?>
			<?php endforeach ?>
		<?php endif ?>
	</div>

Make them filter please.

Change History

Changed 19 months ago by agilbert

  • owner changed from agilbert to jkeller
  • status changed from new to assigned

Assigning to Jon for him to take a stab at this.

Jon, attach your changes as a patch.

Changed 16 months ago by geoffd

  • owner changed from jkeller to wjohnald
  • version set to trunk
  • milestone changed from 1.4.2 to 1.5

Changed 16 months ago by wjohnald

Where does this list appear? All the tags lists that I have found filter properly.

Changed 16 months ago by geoffd

I think this would be if you show a list of tags at the bottom of a post.

Changed 16 months ago by geoffd

Actually, we seem to have made it work here:
 http://philly360.visitphilly.com/

Is this at the project level?

Changed 16 months ago by wjohnald

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.