Hello,
while testing carousel module in Joomla 3.0.2 I tried to enter my own CSS Styles in textarea. When I saved it the textarea was filled with a "0".
Reason is a conflict with already existing form field named "jform[params][style]" for selecting the module style.
Test:
Create new Module Ari-cloud-carousel.
Goto Advanced Options.
Change Module Style to "html5".
Save module.
Goto Basic Options.
Check content of textarea CSS Styles. It's "System-html5" now.
See HTML Source code. Double "jform[params][style]".
Code: |
<div class="control-group">
<div class="control-label">
<label id="jform_params_style-lbl" for="jform_params_style" class="hasTip" title="CSS Styles::Specify additional styles if necessary. You can use predefined variable {$id} which will be replaced with id of the carousel container">CSS Styles</label>
</div>
<div class="controls">
<textarea name="jform[params][style]" id="jform_params_style" cols="50" rows="10">System-html5</textarea>
</div>
</div>
|
Code: |
<div class="control-group">
<div class="control-label">
<label id="jform_params_style-lbl" for="jform_params_style" class="hasTip" title="Module Style::Use this option to override the template style for it's position.">Module Style</label>
</div>
<div class="controls">
<select id="jform_params_style" name="jform[params][style]">
...
<optgroup label="System">
<option value="System-none">none</option>
<option value="System-html5" selected="selected">html5</option>
...
|