Ticket #465 (new enhancement)
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
Change History
Note: See
TracTickets for help on using
tickets.


