Advanced Content default smarty value dropdown
Posted: Sun Mar 02, 2014 8:19 pm
Hello,
Have made the following advanced content block:
The items worked.
But the default value doesn't work.
$root_page_alias is for example "contact", why can't I make it like
"contact_sidebar_menu" as default?
Can I use smarty in default?
Martijn.
Have made the following advanced content block:
Code: Select all
{content block="block_3" label="Sidebar menu" page_tab="Blokken" block_type="dropdown" sortable="true" items=":::get_gcb_list allowed_group='Admin':::" default="`$root_page_alias`_sidebar_menu" assign="block_3" smarty=true}But the default value doesn't work.
$root_page_alias is for example "contact", why can't I make it like
"contact_sidebar_menu" as default?
Can I use smarty in default?
Martijn.