Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

HTML Editor with image upload...
koobooFX
#1 Posted : Sunday, May 30, 2010 2:15:44 PM(UTC)
Rank: Member
Groups: Registered

Joined: 3/14/2010(UTC)
Posts: 27
Location: USA
Hi guys:
can any one help me how i can use this in kooboo 2.0.1.0 ?
Link below :
HTML Editor with image upload feature

with regards...
koobooFX
#2 Posted : Monday, May 31, 2010 3:27:55 AM(UTC)
Rank: Member
Groups: Registered

Joined: 3/14/2010(UTC)
Posts: 27
Location: USA
Any answer is appreciated !
koobooFX
#3 Posted : Tuesday, June 01, 2010 3:56:58 AM(UTC)
Rank: Member
Groups: Registered

Joined: 3/14/2010(UTC)
Posts: 27
Location: USA
Do you have any advise dear vincent ?
vincent
#4 Posted : Tuesday, June 01, 2010 11:36:32 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 4/29/2010(UTC)
Posts: 62
Location: xiamen
Hi, I am sorry for late replying to this.

I was travelling, from Xiamen to Frankfurt, then to Amsterdam now. I will get Jifeng to answer on this topic how you can change the code yourself to use the image upload function.

A personal tip from me, I also have the problem of uploading image, right now I am get used to external tool like windows like writer, Ms office word to manage the content using metaweblog. In the case of using metaweblog, I do not need to worry about image upload any more, I just copy and paste the image into the document, during saving, the metaweblog will handle the image uploading.

Please check the document regarding metaweblog, I hope this helps.
jifeng
#5 Posted : Wednesday, June 02, 2010 9:44:56 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,552
Location: Xiamen China
HI

I am strongly recommended you to use the FCKEditor instead of HtmlEditor with image plugin.

But if you are really want to use the plugin, it is also very simple.

As the plugin demo says, you are only have to add the "plugins" property to integrate the plugin. Here is the example code you can place it to a standalone js file and include it to admin panel page.

Code:


Ext.override(Ext.form.HtmlEditor,{
plugins: [
new Ext.ux.form.HtmlEditor.Divider(),
new Ext.ux.form.HtmlEditor.Picture({
uploadUrl:'php/up-img.php',
downloadUrl:'php/get-images.php',
flashUrl:'js/swfupload.swf'
})
]
});



The code is tend to extend the HtmlEditor to integrate the plugin. As you know, I think you have to implement the uploadUrl and downloadUrl, I think you can create a new Controller and actions to achieve file management.

BTW, you can add your owner js files to the section of names "extjsux" which in the file of "externalResources.config".

I think it will be helps.
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
koobooFX
#6 Posted : Wednesday, June 02, 2010 1:39:25 PM(UTC)
Rank: Member
Groups: Registered

Joined: 3/14/2010(UTC)
Posts: 27
Location: USA
Thank you Dear jifeng:
i have some question:
1- did you see this topic ?
link: Sample By a user

what did you mean "The code is tend to extend the HtmlEditor to integrate the plugin. As you know, I think you have to implement the uploadUrl and downloadUrl, I think you can create a new Controller and actions to achieve file management."

we did not have any php download or upload so .

2- is it possible to use MetaweblogAPI in kooboo 2.0.1.0 ?

3- if it is impossible, how i can can upgrade a localized version of kooboo 2.0.1.0 to 2.1.1.0 version without losing schema and js files translation and localization?

4- at least how i can use fckeditor in kooboo?

with regards...
vincent
#7 Posted : Friday, June 04, 2010 5:01:06 AM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 4/29/2010(UTC)
Posts: 62
Location: xiamen
1. above code example is used to extend the html editor with the image upload function. However you need to implement the uploadurl and downloadurl yourself.

> 2- is it possible to use MetaweblogAPI in kooboo 2.0.1.0 ?
That version does not include metaweblog. If you want to use it in that version, you may copy the implementation into that version. Please check RFCController in the latest version.

also in the routes.config, below is the value for this metaweblog.
Code:

<add name="metaweblog" url="metaweblog" routeType="Everest.CmsServices.Web.KoobooRoute, Everest.CmsServices" routeHandlerType="Everest.CmsServices.Web.KoobooMvcRouteHandler, Everest.CmsServices">
<defaults controller = "Rfc" action = "Metaweblog"></defaults>
<dataTokens Namespaces="Everest.CmsServices.Controllers"/>
</add>



> 3- if it is impossible, how i can can upgrade a localized version of kooboo 2.0.1.0 to 2.1.1.0 version without losing schema and js files translation and localization?
I do not have a good solution for this now.

4- at least how i can use fckeditor in kooboo?
Can you check the implementation of FCKeditor in new version first. You can always post questions back in case you do not fully understand it.
koobooFX
#8 Posted : Wednesday, June 23, 2010 1:35:28 PM(UTC)
Rank: Member
Groups: Registered

Joined: 3/14/2010(UTC)
Posts: 27
Location: USA
Hi Dear vincent:
because of i am newbie to kooboo, can you explain step by step how i can use metaweblog API in kooboo 2.0.1.0?

with regards ....
zguoqi
#9 Posted : Wednesday, June 23, 2010 8:47:16 PM(UTC)
Rank: Administration
Groups: Registered, Administrators

Joined: 9/2/2009(UTC)
Posts: 692
Location: xiamen
Please see this link
http://www.kooboo.com/do...s/detail/Metaweblog-API
Regards,

Vincent

Kooboo Team
koobooFX
#10 Posted : Thursday, June 24, 2010 3:53:53 AM(UTC)
Rank: Member
Groups: Registered

Joined: 3/14/2010(UTC)
Posts: 27
Location: USA

Hi dear :
I read this document but it seems to be not applicable to kooboo version 2.0.1.0 ! i want a way to use on this version.
Is it possible ?!!!

with regards...
luiz@wise.com.br
#11 Posted : Friday, June 25, 2010 4:23:09 AM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 3/4/2010(UTC)
Posts: 157
Location: brazil
It I don't use the metawebblog API, and if I upload the images to the same text schema that is the html text, could we have just beside the thumbnail the relative link of the image so we could copy and paste in the html editor?
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.366 seconds.