19 December 2008 at 3:40pm
I have been asked to use components in CMS and all the page based on page.php
To do that, firstly, create template.ss and template-Edit.ss to control the components in the CMS, which means the content is not allow to write again. To edit the content, need to grab such as "HTML Editor" to create the content. And the main and mata_data in under a new one called Page Porperties.
the template.ss looks like:
<% control retrieveSlotItems(A) %>
<div class="slot sort$Sort $Component.class">
<% end_control %>