Re: xar:set with dynamicdata in xarpage template
Dave Taylor <[email protected]>
| Newsgroups | gmane.comp.cms.xaraya.user |
|---|---|
| Message-ID | <[email protected]> |
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