Two glitches I'm getting - after updating to cmsms 1.7.1 and moving to the XContent Module
When retrieving values from a module into a multiple_select, the items and values aren't splitting out into separate option tags. I just get one option tag with all values and labels ---
here's my tag
Code: Select all
{content block_tab="By Offering" block="By Offering" label="<strong>Choose Offering </strong> (command click to select more than one)" style="width:270px;" assign="ByOffering" type="select_multiple" values=":::news browsecattemplate=catOfferingValues action=browsecat detailpage=home:::" items=":::news browsecattemplate=catOffering action=browsecat detailpage=home:::" smarty="true"}
Code: Select all
{foreach from=$cats item=node name=foo}
{if $node.hierarchy > 9 && $node.hierarchy <10}{$node.news_category_id}{if $smarty.foreach.foo.last}{else},{/if}{/if}{/foreach}
Code: Select all
{foreach from=$cats item=node name=foo}
{if $node.hierarchy > 9 && $node.hierarchy <10}{$node.news_category_name}{if $smarty.foreach.foo.last}{else},{/if}{/if}{/foreach}

And the other one is that if I add new content and make it Content (Extensible) the admin breaks and displays a blank page after the main menu... I get this as an error
Code: Select all
Fatal error: Call to undefined method Content2::_setPropertyValue() in /var/users/a/d/admin/dev.designworks.co.nz/htdocs/designworks-2010/modules/XContent/contenttype.Content2.php on line 242
Any ideas?