having problem toolbar button "save" not setting view parameter in url.
toolbar created with:
when hover on button can see value:
however when value statement:
it returns blank. there else needs set in tmpl\default.asp
page populate variable correctly?
ideas?
toolbar created with:
code: select all
jtoolbarhelper::title(jtext::_('com_wms_system_parameters'));
jtoolbarhelper::apply('wms.apply');
jtoolbarhelper::save('wms.save');
jtoolbarhelper::cancel('wms.cancel');
when hover on button can see value:
code: select all
index.php?option=com_wms&view=configparams#
however when value statement:
code: select all
jrequest::setvar('view', jrequest::getcmd('view','cpanel'));
it returns blank. there else needs set in tmpl\default.asp
page populate variable correctly?
ideas?
if referring options button in top right, standard button there , put component wide settings. example, if read external web services or database component, here put api or db credentials controller, model or view in extension access.
the button launches modal window comprised of 2 xml documents should in root of components admin/ folder.
config.xml
this file build out custom options using joomla's standard field types or creating own custom fields.
http://docs.joomla.org/form_field
http://docs.joomla.org/creating_a_custo ... field_type
http://docs.joomla.org/adding_custom_fi ... _component
access.xml
this file how joomla manages acl component.
the button launches modal window comprised of 2 xml documents should in root of components admin/ folder.
config.xml
this file build out custom options using joomla's standard field types or creating own custom fields.
http://docs.joomla.org/form_field
http://docs.joomla.org/creating_a_custo ... field_type
http://docs.joomla.org/adding_custom_fi ... _component
code: select all
<?xml version="1.0" encoding="utf-8"?>
<config>
<fieldset name="permissions"
description="jconfig_permissions_desc"
label="jconfig_permissions_label"
>
<field name="rules" type="rules"
component="com_joomprosubs"
filter="rules"
validate="rules"
label="jconfig_permissions_label"
section="component" />
</fieldset>
</config>
access.xml
this file how joomla manages acl component.
code: select all
<?xml version="1.0" encoding="utf-8"?>
<config>
<fieldset name="permissions"
description="jconfig_permissions_desc"
label="jconfig_permissions_label"
>
<field name="rules" type="rules"
component="com_joomprosubs"
filter="rules"
validate="rules"
label="jconfig_permissions_label"
section="component" />
</fieldset>
</config>
Comments
Post a Comment