Hi! I need to can activate and deactivate secciones of my web site from admin panel. For example, I'm using this theme http://pi-themes.com/, that have many seccions and with some if statment to can activate or not each seccion?
For example, I've this code, but i dont know what put in "activate_from_admin"
For example, I've this code, but i dont know what put in "activate_from_admin"
- Code: Select all
<cms:if activate_from_admin>
<!-- - - - - - - - - - SECTION 1 - - - - - - - - - -->
<div>
<h2>This is my section 1</h2>
</div>
<!-- - - - - - - - - - END SECTION 1- - - - - - - - - -->
</cms:if>
<cms:if activate_from_admin>
<!-- - - - - - - - - - SECTION 2 - - - - - - - - - -->
<div>
<h2>This is my section 2</h2>
</div>
<!-- - - - - - - - - - END SECTION 2- - - - - - - - - -->
</cms:if>