Forums / Setup & design / Hi!
nicolem cgrgr
Saturday 07 February 2009 4:01:20 pm
Hi!
I trying to create a new object class for one object on the frontage of the site I'm working on. I need to create a object class almost like "Itemize subtree items" but I can't seem to find out there to create this class.
Is this a task that can be solved through the administration interface?
Thanks in advance! :-)
[url=http://www.andysautosport.com/body_kits.html]Body Kits[/url] [url=http://www.bestcarfinder.co.uk/make/Audi-car-leasing.aspx]Audi Leasing[/url]
Fátima Chapri
Sunday 15 February 2009 10:00:28 am
hi,
As I could understand, the Itemized_subtree_items is a class of the ezxmltags. If you want to add xmltags, you must edit the configuration file:settings/override/content.ini.php
Let's say that you want to add a xmltag with the class: my_class
Than, you have to add the lines:
[object] AvailableClasses[]=my_classClassDescription[itemized_sub_items]=My Class
[embed] AvailableClasses[]=my_classClassDescription[itemized_sub_items]=My Class
After that, you must edit the override settings at the file:settings/your_site_language/override.ini.php
I'll give an example of how to create an override rule for your new When editing the override.ini. [my_class] Source=content/view/embed.tpl MatchFile=embed/my_class.tpl Subdir=templatesMatch[classification]=my_class