[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Building Components
> The big problem I'm having is that I don't have a component selection
> box in the editor. If I create a page based on my templates it
> contains the page title field, the members only field, and the content
> field -- no components.
ok. Your regions need to have some [control] tags in them. These define
where a component can be inserted. From LEFTRIGHT_TOP:
<!--Left Sidebar-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
[include file="templates/components/[control component
search_box_small]" group=vertical][control]
[include file="templates/components/[control component
category_vertical]" group=vertical][control]
[include file="templates/components/[control component none]"
group=vertical][control]
</table>
</td>
<td width="65%" valign="top" align="center" class="maincontent">
[include file="templates/components/[control component none]"
group=content][control]
Here there are definitions for three components in the left part of the
page, and one at the top of the main section.
Jonathan
www.webmaint.net