Share » Forums » Setup & design » Custom tags in online-editor

Custom tags in online-editor

Custom tags in online-editor

Monday 06 November 2006 4:33:42 am - 3 replies

Author Message

Mark Marsiglio

Monday 06 November 2006 4:53:32 am

I think you should use content classes for this, not custom tags. If you just need to use CSS to style a table, you can add an optional table class (or th, or tr or td) by adding it as an option in content.ini.append, then adding the css that handles the new style.

I have this option in my content.ini.append.php

[table]
AvailableClasses[]=merchantnetwork

When I create a table in the online editor, it gives me the option of assigning it this custom class, which if selected, will render the table with that class assigned.

Then I use custom CSS to specify a different design for any table with this class.

You can do this for any tag, and multiple class options per tag.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Mark Marsiglio

Monday 06 November 2006 6:08:01 am

I should clarify the distinction between content classes and content classes.

In this case I am not talking about creating a new content class consisting of datatype attributes, but instead content classes that are styled with css and designated by class='xxxxxclass' in the HTML.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Luc Chase

Monday 06 November 2006 7:57:33 am

Mark,
thanks for the guidance. I'll try that... what I would call a CSS Style Class.
So, to distinguish between this and custom tags; custom tags are used for invoking / including special templates? Could they then be used together?

The Web Application Service Provider

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu