Multiple Categories One Template
In this new release we introduce the idea of Multi Terms, a new field under the [Page] Editor.
This Feature allows us to produce many pages using just a single template.
Multi Terms allow us to define a set of Terms for a page such as..
Asian,Teen,Stocking,Lace,Big Tits
When placed into the Multi Term field this comma delimited list will spurn multiple pages using each item of the list.
First the script will create unique files using each of the terms.
If your target filename is defined as '../../multi.shtml' Comus inserts each 'term' into the filename just before the extension,
this would produce a list of files named..
../../multi.Asian.shtml
../../multi.Teen.shtml
../../multi.Stocking.shtml
../../multi.Lace.shtml
Note that 'Big Tits' will converted to BigTits (middle space removed)
../../multi.BigTits.shtml
This makes it compatible with variables like the %cat% variable and Comus can then create paths to it with ../../multi.%cat%.shtml from within element styles, thumbs and links.
Now while building the template Comus will see variables like this
%term% will come in as 'Asian' then 'Teen' then 'Stocking' then 'Lace' then 'Big Tits'
You can then use this in queries like...
{{setquery-age1-" periodsshown>0 and category like '%multiterm%' ORDER BY periodsshown,clicks/clickperiods DESC "}}
{{all-thumbs-5-8-query-age1}}
And you can also use it in page titles like ..
<h1> Welcome to the %multiterm% Page </h1>
Note that 'Big Tits' will be seen within %term% as 'Big Tits' and NOT 'BigTits' so the filenames and variables are different, but if you want the short form from within the template then %shortterm% will contain the shortened 'BigTits' version of the variable.