hi coucher!
another question.
i like to create some switcher for slider to make it on/off.
the code not work. im sure something wrong with that. but i cant find what is wrong
another question.
i like to create some switcher for slider to make it on/off.
- Code: Select all
- Code: Select all
setting.php
<cms:editable name='slider' label='Slider Setting' opt_values="Off=|On=<cms:embed 'slider.html' />|" type='dropdown'/>
- Code: Select all
<!-- Start slider -->
<cms:pages masterpage='setting.php' >
<cms:show slider />
</cms:pages>
<!-- End slider wrapper -->
the code not work. im sure something wrong with that. but i cant find what is wrong