Massimiliano Bariola
|
Thursday 07 September 2006 6:25:46 am
Greetings, I am trying to add some needed features to OE possibly through configuration or adding some custom tags. The features I need are:
- aligning to right a paragraph or selected text (still allowing nesting of other builtin tags, i.e. bold, italic, eznode: ........ )
- aligning to center a paragraph or selected text (still allowing nesting of other builtin tags, i.e. bold, italic, eznode: ........ ) - possibility to enter 2+ white lines to space content (currently, repeated empty lines are stripped and reduced to just one) has anyone tried to do anything like that and willing to share some pointers? cheers, Max
|
Damien Pobel
|
Friday 08 September 2006 2:34:57 am
In the content.ini you can define available CSS classes for XML tags. For example, you can write in your settings/override/content.ini.php :
[paragraph]
AvailableClasses[]
AvailableClasses[]=pCenter
AvailableClasses[]=pRight
With that, you can choose a CSS class when you select "Properties" after a right clic on a paragraph. For empty lines, you can use
[paragraph]
AllowEmpty=true
Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish
|