Retrieve body text of an event (ProEvents)
Permalink
When I create an event, I can enter a title, a date, a description and some html-formatted body text. Can you explain to me how to retrieve the body text? I looked though the examples, but there is none that also shows the body text.
It seems that
if($b->getBlockTypeHandle()=='content'){
never evaluates to true.
if($b->getBlockTypeHandle()=='content'){
never evaluates to true.
lol...sorry...that would be
$block = $event->getBlocks('Main'); foreach($block as $bi) { if($bi->getBlockTypeHandle()=='content'){ $content = $bi->getInstance()->getContent(); } }
Thanks.
Should have seen that myself...
Should have seen that myself...
2. - in the event list loop, you would use this:
ChadStrat