Author
|
Message
|
André R.
|
Friday 13 June 2008 6:54:15 am
Piotrek: Problems with input (in editor) or output in ezwebin / ezpublish?
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
|
Piotrek Karaś
|
Friday 13 June 2008 7:16:29 am
André,
At first it's with output, but when editing again, it becomes an input problem ;) I'll try to provide some details over the weekend.
--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu
|
Nicolas Lescure
|
Friday 13 June 2008 8:25:14 am
Hi, I used a custom tag on an older version of ezoe, but it doesn't work anymore (last version from SVN) I had :
[CustomTagSettings]
AvailableCustomTags[]=color
IsInline[color]=true
[color]
ClassDescription[]
CustomAttributes[]=colorchoice
CustomAttributesNames[colorchoice]=Choose your color
CustomAttributeColorchoiceSelections[OERouge]=Red
CustomAttributeColorchoiceSelections[OEOrange]=Orange
CustomAttributeColorchoiceSelections[OERose]=Pink
CustomAttributeColorchoiceSelections[OEVert]=Green
CustomAttributeColorchoiceSelections[OEBleu]=Blue
It seems it changed. If I read the new content.ini, I think I shoud do like this:
[CustomTagSettings]
AvailableCustomTags[]=color
IsInline[color]=true
[color]
CustomAttributes[myselect]=Choose your color
[CustomAttribute_color_myselect]
Name=Choose
Type=select
Selection[]
Selection[OERouge]=Red
Selection[OEOrange]=Orange
Selection[OERose]=Pink
Selection[OEVert]=Green
Selection[OEBleu]=Blue
But it doesn't work either. Any idea please?
|
André R.
|
Friday 13 June 2008 2:53:13 pm
Yes, the content.ini structur has been further cleaned up now. The first example in content.ini isn't complete, look at the second one:
#[table]
#CustomAttributes[]=summary
#
#[CustomAttribute_table_summary]
#Name=Summary (WAI)
#Required=true
Btw: Do you need a color selector? ;)
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
|
Nicolas Lescure
|
Friday 13 June 2008 3:21:47 pm
Thanks for your answer. I'll try this asap. And you're right this is a simple color selector. **** EDIT : solution **** OK, here is the new code :
[CustomTagSettings]
AvailableCustomTags[]
AvailableCustomTags[]=color
IsInline[color]=true
[color]
CustomAttributes[]=colorchoice
[CustomAttribute_color_colorchoice]
Name=Choose a color
Type=select
Required=true
Selection[]
Selection[OERouge]=Red
Selection[OEOrange]=Orange
Selection[OERose]=Pink
Selection[OEVert]=Green
Selection[OEBleu]=Blue
The new system is not compatible with the old one. I have to edit the contents and create my tags again.
|
André R.
|
Monday 16 June 2008 5:28:26 am
> The new system is not compatible with the old one. I have to edit the contents and create my tags again. This shouldn't happen, if you first change the ini settings and you clear all cache ( at least ini and template cache) straight after you upgrade, you should be fine.
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
|
Guillaume Kulakowski
|
Friday 20 June 2008 12:17:41 am
With the final ezoe version, will be there all the TinyMCE's button (http://tinymce.moxiecode.com/example_full.php?example=true) ? Like text-align (left, right, center, justify), fonts (size, family), etc...
My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"
|
André R.
|
Friday 20 June 2008 1:02:29 am
No, it will be more or less as it is now. Where the only tested plugins and buttons are the ones mentioned in ezoe.ini. The restriction is in eZ Publish, since the storage format is Xml, there is no syntax for font face or size. But it would be possible to have align button, but it would only work on embed images and embed objects since thats the only tags that has an align attribute. http://ez.no/doc/ez_publish/technical_manual/4_0/reference/xml_tags
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
|
Guillaume Kulakowski
|
Friday 20 June 2008 1:52:58 am
> But it would be possible to have align button, but it would only work on embed
> images and embed objects since thats the only tags that has an align attribute.
Why not text align buttons with class ? For exemple, the "justify" button add class "justify" to a paragraph, etc...
My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"
|
Piotrek Karaś
|
Monday 23 June 2008 11:19:25 pm
Hello André,
Here's some simple approach for class attribute based button sets. I've seen that you left some @todo notes for that as well as button list fetch outside of run-once template part. Well, here's the details: http://ez.ryba.eu/index.php/ez_publish/lab/class_attribute_based_button_sets_in_new_mce_online_editor I really hope we can work it out ;)
Cheers, Piotrek
--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu
|
André R.
|
Tuesday 24 June 2008 1:58:10 am
> I really hope we can work it out ;)
I think we can, working on cleaning the patches now. Also need to rename it so it isn't a online editor specific setting. The idea is that the xml datatype also can validate input based on this, so I'll move the setting to content.ini or something and add a link when I create a eZ Publish enhancement issue for this. Just one thing for next time, diff files are a lot easier to deal with then hacked source ;)
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
|
Jérôme Vieilledent
|
Wednesday 25 June 2008 6:49:15 am
Hi !
I have a problem with the Online Editor MCE. When I try to upload an image, the OE creates an embed object, not an embed image, and so I can't choose the image size, etc... Can you help me please ?
|
Jérôme Vieilledent
|
Wednesday 25 June 2008 8:05:37 am
OK, I finally found out where was the problem. It seems that the file upload uses the upload.ini MimeClassMap settings. The problem occurs when you have configured Webdav for massive image upload, with a specific content class... All I had to do was to add my image content class used in this case to the [MediaClassSettings] / ImageClassIdentifiers setting in ezoe site.ini
Is it possible to fix this ? Thanks :-)
|
André R.
|
Wednesday 25 June 2008 11:45:56 am
With some great feedback during the conference there is some new features this week in svn:
* custom attributes types now has their own templates so they are easier to override and extend
* added color picker custom attribute type (you need to allow html files from your design folders in your rewrite rules just like the code button)
* added ezoe.ini CustomAttributStyleMap to map custom attributes to a style (so you can preview custom attribute that are used for style directly in the editor)
* added possibility to change the toolbar / path layout (top / bottom / none) * implemented Piotrek button layout patch but with some modifications, it also contains possibility to set the toolbar / path orientation pr [EditorLayout]
The last point requires a patch that will be part of eZ Publish 4.1 final in some form, the enhancement request with diff and screen shoot from OE with different layouts and class/edit can be found here: http://issues.ez.no/IssueView.php?Id=13249&activeItem=1 I will pack eZ OE 5.0Beta4 by the end of the week for the ones that don't use svn.
Jérôme: >Is it possible to fix this ? What is there to fix? ImageClassIdentifiers?
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
|
Piotrek Karaś
|
Wednesday 25 June 2008 2:50:54 pm
implemented Piotrek button layout patch but with some modifications, it also contains possibility to set the toolbar / path orientation pr [EditorLayout]
Great! And backward (4.0.x) compatibility seems maintained. Thanks!
--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu
|
Jérôme Vieilledent
|
Monday 30 June 2008 1:45:51 am
Hi André,
I'm sorry, I wasn't very clear. What I find disturbing is that ezoe setting for the content class used when uploading an image is mixed with the one used by WebDav feature. The problem for me is that I would like to use both features... Could it be possible to use separate settings ?
|
André R.
|
Monday 30 June 2008 2:12:14 am
Oe 5.0 uses eZ Publish's 'eZContentUpload' class, just like Oe 4.x did and all other upload functionality in eZ Publish does.
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
|
Jérôme Vieilledent
|
Monday 30 June 2008 2:30:52 am
OK In this case, is it possible to define several possibilities for the content class when uploading an image ? Thanks
|
André R.
|
Monday 30 June 2008 2:47:26 am
This is controlled by upload.ini, so you can have several settings depending on the mime type if that is what you mean.
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
|
Jérôme Vieilledent
|
Monday 30 June 2008 2:55:49 am
Yes, you can have several settings depending with the mime type, but you can't have different settings for one mime type, depending on the context (webdav, OE...)
|