Forums / General / TinyMCE with eZPublish?

TinyMCE with eZPublish?

Author Message

Carlos Revillo

Wednesday 25 July 2007 5:03:38 pm

Hello. I want to let my users add articles to my site. i also let these users to format his article using tinymce editor. i got it working quite good.
So, i have a texarea and this textarea can be formatted with tinymce. this content should be stored in a xml block attribute.

I have tested some options and seems to be quite. if i add a table or an urordered list, i can see this list in my xml block attribute.
but i can't make it work for images.

I mean, if my textarea looks like

<ul>
<li>1</li>
<li>2</li>
</ul>
<img src="../src.jpg" />

only the list is stored in the field, but not the code for the image....

i think it could be a issue related to content.ini, but i can't make it work.

so, is there any way to let the posibilities to let the users insert images in his own contents through tinymce, as they can with list and tables?.
Thanks a lot.

André R.

Wednesday 25 July 2007 6:00:04 pm

I'm currently working on the same thing as a time off project, maybe we should collaborate ?

I have started rewriting the advimage plug in to work with ez, but I haven't had much time completing it yet..

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

Carlos Revillo

Thursday 26 July 2007 12:33:03 am

it should be very nice to collaborate. maybe we can create an extension for tinymce as it exists for fckeditor...

btw, i'm not using the advimage plugin, cause it doesn't let me the possibility to upload new images...

so, i tried with mceimagemanager, a plugin you can find at tinymce website, but it is no free cost

So, i have searched for another plugins and i found another one. It's called ibrowser and works quite good. Take a loot at http://pascal.vanhecke.info/2005/08/25/image-upload-plugin-for-tinymce/ if you want.

But i told before, i can't save the html for inline images in my xmlblock field...

please tell me how can i help you.

André R.

Thursday 26 July 2007 3:15:58 am

Give me a week, and I will try to have something more to show. And the project section should be up soon as well, thats where I'm going to put it together with a search engine thing I scrambled together earlier this summer.

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

Xavier Dutoit

Monday 06 August 2007 10:00:49 am

Time flies ;)

Anything visible yet ?

http://www.sydesy.com

André R.

Tuesday 07 August 2007 4:10:15 am

Soon, had birthday this weekend so ended up doing anything else then this ;)

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.

Thursday 16 August 2007 5:07:33 am

Preview available here:
http://ez.no/community/contribs/hacks/tinymce_xhtml_editor

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

Xavier Dutoit

Thursday 16 August 2007 6:40:04 am

Bon anniversaire, donc.

X+

http://www.sydesy.com

eZ debug

Timing: Jan 31 2025 06:20:28
Script start
Timing: Jan 31 2025 06:20:28
Module start 'content'
Timing: Jan 31 2025 06:20:28
Module end 'content'
Timing: Jan 31 2025 06:20:29
Script end

Main resources:

Total runtime0.2234 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 587.8203180.8516
Module start 'content' 0.00610.0118 768.6719105.9297
Module end 'content' 0.01790.2055 874.6016535.2344
Script end 0.2233  1,409.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00351.5518200.0002
Check MTime0.00140.6200200.0001
Mysql Total
Database connection0.00090.412210.0009
Mysqli_queries0.136461.03741410.0010
Looping result0.00130.58691390.0000
Template Total0.205091.710.2050
Template load0.00080.341110.0008
Template processing0.204291.406010.2042
Override
Cache load0.00050.241310.0005
Sytem overhead
Fetch class attribute can translate value0.00090.414310.0009
XML
Image XML parsing0.00020.099910.0002
General
dbfile0.037716.8646200.0019
String conversion0.00000.003130.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0003 secs