[set page_title]Layout Editor[/set] [set page_banner]Layout Editor: Organize your site into categories[/set] [set help_name]layout.edit[/set] [set icon_name]admin/icon_pages.gif[/set] @@UI_STD_HEAD@@

This page doesn't work yet.

[if cgi newarea] [value name=area set="[fcounter etc/area.recordnumber]" hide=1] [data table=area column=name key="[value area]" value="[cgi newarea]"] [elsif cgi newcat] [value name=cat set="[fcounter etc/cat.recordnumber]" hide=1] [data table=cat column=name key="[value cat]" value="[cgi newarea]"] [data table=cat column=area key="[value cat]" value="[data table=area col=selector key='[value area]']"] [/elsif] [/if] [if value area] [/if] [if value cat] [else] [/else] [/if]




[seti win_href][href form="cur_area=[value area]" href="__UI_BASE__/layout_subcat.html" ][/seti]
[seti cat_selector][data table=cat column=selector key="[value cat]"][/seti] [seti cat_name][data table=cat column=name key="[value cat]"][/seti] [seti cat_page][data table=cat column=page key="[value cat]"][/seti] [seti cat_url][data table=cat column=url key="[value cat]"][/seti] [perl] if($Scratch->{cat_url}) { $Scratch->{cat_type} = 'url'; # We need a better way to differentiate between product pages # and other kinds of local pages } elsif($Tag->scratch(cat_page)) { $Scratch->{cat_type} = 'static'; } else { $Scratch->{cat_type} = 'items'; } return; [/perl] Type of category:
[if scratch cat_type eq url] URL: [/if] [if scratch cat_type eq static] Page name: [/if] [if scratch cat_type eq items]

Add an item to "[scratch cat_name]":


Items in category "[scratch cat_name]":

[comment] cat_type: items [/comment] [/if]

This page doesn't work yet.


@@UI_STD_FOOTER@@