Monday 13 December 2004 7:09:14 pm
You should create a new inline custom tag. The XML format does not allow text color. The custom tag should probably just specify a span tag which you should apply a CSS style to to change the color.
To add a custom tag:
-Add a new custom .tpl file in the sites override folder - design/SITENAME/override/templates/content/datatype/view/ezxmltags/ (If this folder does not exist, create it.) -Name your custom tag by adding it to the content.ini.append in both the main and admin siteaccess settings folders. If a content.ini.append does not exist, create one and add the line
[CustomTagSettings]
AvailableCustomTags[]=tagname
-Assign the tag to content by wrapping the content in the <custom> tag, with attribute name='tagname'
<custom name='tagname'>Text to which the tag will be applied</custom>
Look at the factbox.tpl in the standard or base design folder for an example of the syntax for the new .tpl Good luck... Mark
http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions
|