So far I have been using getSlot and then checking $slot->value for
content manually in the template before deciding whether to display it
or not. Feels wrong though...
Thanks
> --
>
> You received this message because you are subscribed to the Google Groups "pkcontextcms" group.
> To post to this group, send email to pkcont...@googlegroups.com.
> To unsubscribe from this group, send email to pkcontextcms...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/pkcontextcms?hl=en.
>
>
>
--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com
I have a page layout with several standard pk slot rich text areas.
Two of the rich text areas sit as a kind of large box-out - so within
divs creating rounded corners and uneven edging / bordering graphics.
If the corresponding slot has no content then I want to ommit the
entire box from the layout, rather than have it appear as an empty
box.
Normally this isn't an issue as if a slot has no content then the
presence of the pk wrapping divs on the page makes no odds, but in
this case the slot is wrapped in divs which add background grahpics
and formatting that need to be ommitted if the slot has no content.
> > For more options, visit this group athttp://groups.google.com/group/pkcontextcms?hl=en.
Cheers, Daniel