Forums / General / Problems with custom tags - eZ any ideas?

Problems with custom tags - eZ any ideas?

Author Message

Edward Eliot

Wednesday 06 October 2004 4:09:08 am

I have implemented 3 custom tags for use with the online editor but have some problems. I have followed the instructions at:

http://www.ez.no/ez_publish/documentation/customization/components/datatypes/ezxmltext/custom_tags

The tags and their content do not show up on my web site. When I view a page I see everything except the content. On the admin side my custom tags show up as boxes with a question mark in them. I was hoping the online editor would display them visually based on the CSS styles. I am also unclear as to whether or not my custom tags can contain other tags. For example one of my cutom tags implements a div box with a background and border and I want to display a list inside this.

My custom tags are:

<div class='featuresRight'>
	{$content}
</div>

,

<div class='featuresLeft'>
	{$content}
</div>

and

<div class='sectionheading'>
	{$content}
</div>

I have changed the content.ini.append.php files in plain_user and plain_admin and added the following settings:

[CustomTagSettings]
AvailableCustomTags[]=featuresleft
AvailableCustomTags[]=featuresright
AvailableCustomTags[]=sectionheading
IsInline[featuresleft]=true
IsInline[featuresright]=true

Any ideas why this doesn't work?

Edward Eliot

Thursday 07 October 2004 1:01:01 am

Any ideas anyone?

Edward Eliot

Thursday 07 October 2004 1:35:34 am

I should add that the custom tags do regieter properly with thr system and appear in the custom tags list in the Online Editor.

Edward Eliot

Thursday 07 October 2004 2:40:59 am

Fixed it. The custom tags were not properly registered on the user side.