I have a few questions regarding templates.
How do you tell the url of the current page the user is viewing? I would like to be able to refer to this url in index.tpl or a theme's config.inc.php
How do you specify options for radio buttons in the theme configurator? select_values does not seem to work:
Code: Select all
$template_config = array(
array(
'var' => 'header',
'title' => XYZ_HEADER,
'description' => XYZ_HEADER_DESCRIPTION,
'type' => 'radio',
'default' => "a",
'select_values' => array("a"=>"a","b"=>"b")
)
);