Re: com.xaraya.modules.uploads: Display of property from a xar:data-getitems tag n...
Jason <[email protected]>
| Newsgroups | gmane.comp.cms.xaraya.devel |
|---|---|
| Organization | Xaraya |
| Message-ID | <[email protected]> |
Hb wrote: > Reworked version > > [email protected] schrieb: >> Branch : com.xaraya.modules.uploads >> http://mt.xaraya.com/revision/info/3b147d952eef18384c57aa9cc7be7b6980f4db0b >> Date : 2008-10-13T15:27:51 >> Changelog: >> Display of property from a xar:data-getitems tag not working because >> 'style' attribute not being passed in down the line. Fixed (no bug raised) >> >> xarproperties/Dynamic_Upload_Property.php >> xaruserapi/showoutput.php >> xartemplates/includes/attachment-list.xd > > This changed the default behaviour of the DD Uploads property of the Uploads > module. Before the change $myvar_output delivered an array to the output template. > > After Oktober 2008 the content of the template attachment-list.xd is delivered > to the output template. This crashed my site. > > It is needed to use the style attribute to get the old behaviour back (Change > from 'Icon' (=template) back to former array). > > How to set the style attribute for this DD property? I saw your change - was it just down to a rogue '=' instead of an '=='? The old array behaviour should have been the default for backwards compatibility (and I think this '=' broke that). It is probably the wrong way around anyway, as the xar:data-getitems tag is supposed to return formatted HTML anyway, and not raw data. -- JJ