The Custom Layout is a -17 template - the leaf template in FirstClass. Use it to create a custom FirstMagic Container Layout.
Note that the code in customlayout.inc is the actual leaf object - the file or folder in the lower pane view: on the web. It will repeat for every existing leaf in the container.
The upper pane behaves like it does in all other FirstMagic Layouts [not in use, exept for the Header Object].
How to use:
You can build any kind of container view inside the customlayout.inc file. Use the <!--#echo expr=`$MAGICURL17`--> tag to represent all leaf object URLs; the other tags are optional.
A list of possible tags:
<!--#echo expr=`$MAGICURL17`-->
The URL to the leaf object. This tag is necessary.
<!--#echo expr=`$HTMLDIRURL`-->
Alternative URL to the leaf object: uses the object´s unique ID instead of a semantic URL
<!--#echo expr=`$HTMLDIRICONPATH`-->
The icon of the leaf object
<!--#echo expr=`$HTMLDIRSUB`-->
If the leaf Subject exists, this is the FirstClass subject. If the Subject field is empty, it is the FirstClass name/filename.
<!--#echo expr=`$HTMLDIRNAME`-->
The FirstClass filename.
<!--#echo expr=`$HTMLDIRFORMID`-->
The Form ID - the Object Type for the leaf object
<!--#echo expr=`$HTMLDIRKEY`-->
The Kewords field
<!--#echo expr=`$HTMLDIRCAT`-->
The Category field
<!--#echo expr=`$HTMLDIRCLASS`-->
A numerical class unique to the object
The customlayout.inc file comes preconfigured with a working example: the example will render all leafs as icons - similar to the upper pane in a standard FirstClass Container.
| ||