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

Ticket #465 (new enhancement)

Opened 20 months ago

Last modified 13 months ago

aBlogSlot - Slot options for filtering at the template level

Reported by: johnnybenson Owned by: dordille
Priority: major Milestone: 1.6
Component: apostropheBlogPlugin Version: trunk
Keywords: blog, slots, frontend Cc: rickybanister, jake, johnnyoffline, , dordille, , tboutell, geoffd
Symfony version: 1.4

Description

Dan, Tom, Alex, Rick, Jake

Below is sample code syntax for a filters option with blog slots.

<?php a_slot('blog-related','aBlog', array('template' => 'personRelatedNews', 'filters' => array('tag' => $person->getName(), ), 'edit' => 'false')) ?>

The idea is that as template designers / frontend guys, we can create a blog slot that pulls posts based on a specific filter into another area of an apostrophe site.

We can optionally use edit = false on the slot to disable editing on that slot.

IF we do not disable editing, then any filters introduced by the administrator are additive to the filters defined in the template.


Attachments

Screen shot 2010-06-30 at Jun 30 - 3.09.47 PM.PNG Download (100.6 KB) - added by anonymous 20 months ago.

Change History

Changed 20 months ago by anonymous

Changed 13 months ago by geoffd

  • milestone changed from 1.4.2 to 1.6
Note: See TracTickets for help on using tickets.