Forums / Extensions / Call for testers: new Online Editor

Call for testers: new Online Editor

Author Message

Russell Michell

Sunday 01 February 2009 5:16:33 pm

Hi and thanks but:

It's looks like it is your rewrite rules, as most file extension are normally only allowed from the var/ folder in .htaccess rules.

Sure, but using View = 'embed' or 'full', it's OK (without further modifications to .htaccess) - I can download the PDF but using view = 'embed-inline' it breaks causing 'Module not found'.

Why do you call your object '*.pdf' ?
> I don't, th file I'm uploading is called 'my-file.pdf' on the filesystem. I upload this PDF and when I go to select it in the 'insert/edit file' popup, the URL in the preview section is 'http://my-host/my-siteaccess/content/download/1234/5678/file/my-file.pdf'.

Russell Michell, Wellington, New Zealand.
We're building! http://www.theruss.com/blog/
I'm on Twitter: http://twitter.com/therussdotcom

Believe nothing, consider everything.

André R.

Tuesday 03 February 2009 3:42:48 am

Russ:
#1:
/my-siteaccess/Media/Files/ez-publish-ezoe-my-uploaded-file.pdf
and
/my-siteaccess/content/download/1234/5678/file/my-file.pdf
is not the same.. Fist is ez object url and the secund is file url using content download.

#2 This is not a oe issue, this is template (ezwebin|ezflow|ezpublish) / .htaccess (ezpublish) issue, so please use another forum topic + issue tracker.

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

Laurent Dorier

Friday 24 April 2009 1:47:50 am

Hi,

very nice extension, but I get problems to implement something pretty easy I think.
Can someone help me about ?..

I need to allow editors to write ALT and TITLE attributes for IMG tags...
Not sure if the right way is to use custom attributes for the embed tag, but it looks like it could be a solution...

In this case my problem is to get these alt and title attributes in the editor immediatly...
Like by default ezoe use the size for the ALT tag and the file name for the title attribute...
For the frontend I get it (finally :) )

Cheers
Laurent

André R.

Friday 24 April 2009 7:37:44 am

Yes, you will need to use custom attributes, and they will not be used for image tag inside the editor (as you said already used by site and object name).

In templates you simply use {$alt} if you called the custom attribute alt.
If you want to force editors to fill this out then see in ezaoe_attributes for how to do that.

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

Russell Michell

Tuesday 28 April 2009 8:28:01 pm

Hey there,

You can't seem to add a custom-tag to any non-paragraph text. The custom tag button inside ezoe becomes greyed-out/disabled as soon as you select any non-paragraph text - like a heading-2 for example.

Is this by design or is it a bug? Or is there an ini setting I've overlooked?

<update>
Commenting lines 1026:1027 of ezoe/design/standard/javascript/themes/ez/editor_template.js "re-enable" this functionality and I can now add super/sub-script custom-tags to headings.

However, there is obviously a reason why these are disabled by default in ezoe but I can't think why - sub and sup at least are allowed under XHTML Transitional and Strict.

</update>

Thanks a lot
Russ

Russell Michell, Wellington, New Zealand.
We're building! http://www.theruss.com/blog/
I'm on Twitter: http://twitter.com/therussdotcom

Believe nothing, consider everything.

André R.

Tuesday 05 May 2009 8:11:19 am

5.0.1 is now out:
http://ez.no/developer/contribs/applications/ez_oe_5_0

For those of you who have used OE 5.0.0 (including beta / rc versions) in production, make sure you pay attention to this part from changelog:

* Fixed bug #14670: Embed relations are not removed when embed tag is
IMPORTANT: Apply update/database/5.0/dbupdate-5.0.0-to-5.0.1.sql to fix
inconsistency in database (if you have used ezoe prior to version 5.0.1)

@Russ:
This change was introduced in:
http://issues.ez.no/011618
I don't remember the details, but think it has to do with what kind of content you are allowed to have in header tags in ezxmltext. Block tags are not allowed, but inline are.

So create an enhancement request to re allow adding inline custom / embed tags in header tags and I'll try to look into it soon.

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

Jani Tarvainen

Wednesday 06 May 2009 11:14:21 am

Having worked with the editor (training mostly) for a few weeks now I must say you've really hit the spot with this one. Excellent work. Keep it up!

--
http://ezpublish.fi/

Russell Michell

Wednesday 06 May 2009 4:42:16 pm

@André, thanks for your reply - here you go:

http://issues.ez.no/IssueView.php?Id=14868&activeItem=2

(I know you get auto-mailed anyway from the issue-tracker, but in case others would like to see the bug quickly!)

Cheers!
Russ

Russell Michell, Wellington, New Zealand.
We're building! http://www.theruss.com/blog/
I'm on Twitter: http://twitter.com/therussdotcom

Believe nothing, consider everything.

Mark Marsiglio

Friday 22 May 2009 12:59:18 pm

André - is there a way to pre-select a image upload location (or change the location of automatic) to a subfolder in the media library based on a user's group or permissions, or the subtree that they are editing in?

Basically we have a site with nearly 100 divisions, and each division has their own media library subfolder. The list of choices is really, really long. If we could auto select for them based on some attribute, setting, or even a hack, that would save them a lot of trouble.

Let me know if anything like this exists...

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

André R.

Friday 22 May 2009 3:02:38 pm

@Russ: Actually I don't unless I assign it to myself or comment on it, maybe a setting for it though, haven't checked :)

@Mark: Unsure if you have looked in settings/content.ini, but look at the ClassSpecificAssignment[] setting there and carefully read its comment text witch reveals a couple of tricks to control automatic placement.

But that might not work for you, needed to do something similar for a site a few years ago, and ended up overriding the oe template for the drop down selection of placements.
In oe5 that is unfortunately upload_images.tpl, upload_objects.tpl and upload_files.tpl if you have enabled the files button.

One clear enhancement request would be to include one template for this part so you only need to override one template. If you have any other ideas for features that would make multiple sites / organizations sites easier to setup and works with, shout out ;)

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

André R.

Friday 22 May 2009 3:05:54 pm

@Jani: Thanks, the focus was to simplify editor work flow and make it more extend-able, so if you see some room for improvement somewhere, don't be afraid to bring it up;)

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

Noicokuna Niemoge

Tuesday 02 June 2009 6:48:47 am

Hi;

I've got a problem: the right-click menu (which I assume should be in editor) isn't working for me, just a regular right-click menu is displayed. Can you give me any advice what's wrong?

Thanks in advance :)

Shiki soku ze ku...

André R.

Tuesday 02 June 2009 7:41:53 am

There is nothing wrong, there is no right click menu in ezoe 5.0 to be able to use built in spell checker in browsers. TinyMCE does support right click menus though, so it would be possible to re add it in the future if there is a demand for it.

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

Tony Wood

Monday 27 July 2009 4:15:57 am

Hi André

Is there an update as to when the Online editor will get a spell checker?

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

André R.

Monday 27 July 2009 8:36:57 am

It has, just enable the "spellchecker" plugin and button in ezoe.ini ;)
It uses google api, but that can be configured from ezoe.ini with settings that maps directly to the ones in the TinyMCE plugin witch are explained here:
http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker

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

Tony Wood

Monday 27 July 2009 8:45:44 am

Thanks André

I must have been blind..

Nice!

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Eirik Alfstad Johansen

Friday 25 September 2009 12:22:00 am

Hi André,

How is removing the formatting when pasting from Word handled in the new OE? I have received an RFP where automatic removing of "old formatting" (like Word formatting) when copying and pasting is a requirement.

Thanks in advance!

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

André R.

Friday 25 September 2009 1:03:56 am

Should work out of the box in version 5.0.3 and slightly better in 5.0.4 ( http://issues.ez.no/15501 and TinyMCE updated from 3.2.5 to 3.2.7 http://tinymce.moxiecode.com/js/tinymce/changelog.txt ) which will be out next week together with eZ Publish 4.2.

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

Richard Lundberg

Sunday 11 October 2009 2:54:37 am

Hi,

A while ago I reported a problem with inserting URLs in literal text, (specifically when using literal text to embed Youtube, google maps etc). The problem was, when using Internet Explorer, if the embedded code contained a URL, every time IE detects "http://www...." it thinks it is a link and inserts <a> tags around it. the result is the embedded code is corrupted so no video or map or whatever.
I reported this in respect to the previous Online editor as I had not yet tried OE 5.0. Having now installed OE 5.0 I can confirm that the same problem arises in IE7 and IE8.
The issue is related to the online editor, because if you disable the editor, enter the embed code between the <literal> tags, it is OK.
Should I raise this as an issue?

www.peakm3.com

André R.

Thursday 15 October 2009 4:24:04 am

Actually, I don't think there is anything I can do about that.
It's IE doing this, so if you want to create an issue for it, then you need to do it in the Microsoft tracker (Closed at the moment but here: http://connect.microsoft.com/IE ).
If you do find anything about working around this, please share, but couldn't find anything myself.

So, use custom tags instead with custom attributes for the links and parameters.

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

eZ debug

Timing: Jan 17 2025 23:58:32
Script start
Timing: Jan 17 2025 23:58:32
Module start 'content'
Timing: Jan 17 2025 23:58:33
Module end 'content'
Timing: Jan 17 2025 23:58:33
Script end

Main resources:

Total runtime0.7900 sec
Peak memory usage4,096.0000 KB
Database Queries278

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 589.3750180.8281
Module start 'content' 0.00810.6614 770.20311,046.3828
Module end 'content' 0.66950.1204 1,816.5859395.9453
Script end 0.7899  2,212.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00470.5968210.0002
Check MTime0.00180.2291210.0001
Mysql Total
Database connection0.00100.121510.0010
Mysqli_queries0.646881.87012780.0023
Looping result0.00300.38372760.0000
Template Total0.760596.320.3802
Template load0.00220.276420.0011
Template processing0.758395.981920.3791
Template load and register function0.00020.020410.0002
states
state_id_array0.00090.111810.0009
state_identifier_array0.00090.111020.0004
Override
Cache load0.00230.28701250.0000
Sytem overhead
Fetch class attribute can translate value0.00130.1587100.0001
Fetch class attribute name0.00140.1803270.0001
XML
Image XML parsing0.00710.8942100.0007
class_abstraction
Instantiating content class attribute0.00010.0117380.0000
General
dbfile0.00540.6880630.0001
String conversion0.00000.001330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
18content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
20content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
33content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
16content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 91
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs