Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Friday 23 February 2007 2:42:02 am - 2 replies
André R.
Friday 23 February 2007 4:09:53 am
Looking at how factbox is used in ezwebin, content.ini:
[factbox] CustomAttributesDefaults[align]=right CustomAttributesDefaults[title]=factbox
And override/templates/datatype/ezxmltext/factbox.tpl:
<div class="object-{if is_set($align)}{$align}{else}left{/if}"> <div class="factbox"> <div class="factbox-header"> <h2>{if is_set($title)}{$title}{/if} </h2> </div> <div class="factbox-content"> {$content} </div> </div> </div>
Hopfully this is what you are after :)
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom
paul bolger
Sunday 25 February 2007 8:53:56 pm
Thanks Andre, that looks like it might do the trick.
Paul Bolger
You must be logged in to post messages in this topic!