Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

loop 'Font Color' or 'Font Attribute' usw

Quote Reply
loop 'Font Color' or 'Font Attribute' usw
Hello

thge site markup_help.html ist very long when i insert a lot of special sign.
So in want to make an Site for
'Font Color'
'Font Attribute'
'Page Format'
Miscellaneous

and one or two own imagining

Can you help me to make this possible.

how must i loop to get a result for this task

thanks hoefti
linktobuy Web Directory
Ratgeber Recht
Quote Reply
Re: [hoefti] loop 'Font Color' or 'Font Attribute' usw In reply to
The easiest way would probably be to add new page actions (Setup -> Actions) - have them parse markup_help_font.html, for example, and markup_help_icons.html. Then copy over markup_help.html to those two template. Inside the <%loop markup_loop%> of each page, add:

<%if type ne 'xyz'%><%nextloop%><%endif%>

'xyz' should be one of the text strings for the markup tags, as defined in the admin panel (i.e. 'Font Color', 'Font Attribute', 'Emotion Icon', etc.). If you wanted to combine a few on a page, you would use:

<%if type ne 'xyz' and type ne 'zyx'%>

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] loop 'Font Color' or 'Font Attribute' usw In reply to
Hello Jagerman

Thanks for your help.
It works fine

Hoefti
linktobuy Web Directory
Ratgeber Recht