Forums / Developer / Custom Tags editor

Custom Tags editor

Author Message

Fabien Mas

Wednesday 07 March 2007 7:01:16 am

Is it possible to pre-define the attributes in my custom tag( and not to add them manually ) ?
or why not add a button "browse"...

thx, Fabien

Bruce Morrison

Wednesday 07 March 2007 3:15:56 pm

Hi Fabien

You can pre-define the attributes in a custom tag by adding entries in content.ini

e.g.

[factbox]
CustomAttributesDefaults[align]=right
CustomAttributesDefaults[title]=factbox

From: http://ez.no/community/forum/setup_design/template_variables_in_custom_tags

I'm not sure what you mean about the browse button?

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Fabien Mas

Thursday 08 March 2007 12:52:21 am

I would like to put a browse button beside my attribute "objectID" for example,
just like we can have when we create a link :
when you select a "ezobjet", you can browse until your object and get its ID

It could be complicated for a customer to find the right object id and put it into the attribute value ...

thx for your help, Fabien

Fabien Mas

Thursday 08 March 2007 1:11:20 am

Which template should I create if I want to render my custom tags in the online editor ?
At the moment, it is only a classical text, black with nothing special ..

thx, Fabien