Re: xar:set with dynamicdata in xarpage template
Jonathan Linowes <[email protected]>
| Newsgroups | gmane.comp.cms.xaraya.user |
|---|---|
| Message-ID | <[email protected]> |
you dont need the escape kludge. this will be enough: <xar:set name="the_body">$current_page['dd']['body']</xar:set> On Feb 23, 2007, at 1:56 PM, Dave Taylor wrote: > Ryan Walker wrote: >> Any reason I can't do something like this in a xarpage... >> >> <xar:set name="the_body">$current_page.dd.body</xar:set> >> >> I'm getting an exception and in the URL it says something about >> 'dd' is >> an undefined constant. >> >> >> > Wouldn't $current_page['dd']['body'] work just as well? I think there > is a xar:set bug that mangles this approach, so maybe you can try: > > <xar:set name="dummy">1; $the_body = $current_page['dd']['body']</ > xar:set> > > Dave T > _______________________________________________ > Xaraya_user mailing list > [email protected] > http://xaraya.com/mailman/listinfo/xaraya_user