CKEditor Link Browser error
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 10
- Joined: Tue Feb 03, 2009 2:20 pm
CKEditor Link Browser error
I am trying to use CKEditor and CKFinder on Joomla 1.6. The editor works fine but the CKFinder Link Browser causes errors when trying to select a page from the Link Browser tree. The tree does not appear to construct itself correctly as it duplicates tree items under different parents. Also when selecting a tree item the errors are always the same, it produces multiple occurrances of:
Undefined property: stdClass::$nameError in line 63 of file C:\\wamp\\www\\test.domain.org\\plugins\\editors\\ckeditor\\plugins\\linkBrowser\\extensions\\links\\joomlalinks\\menu.php
and
Undefined property: stdClass::$nameError in line 90 of file C:\\wamp\\www\\test.domain.org\\plugins\\editors\\ckeditor\\plugins\\linkBrowser\\extensions\\links\\joomlalinks\\menu.php
I've searched extensively for reports of a similar issue without success, does anyone have any ideas what the problem may be?
The site is running:
PHP 5.2.9
MYSQL 5.0.51a community
Windows Apache 2.2.11
Joomla 1.6.0 Stable
Thanks
Undefined property: stdClass::$nameError in line 63 of file C:\\wamp\\www\\test.domain.org\\plugins\\editors\\ckeditor\\plugins\\linkBrowser\\extensions\\links\\joomlalinks\\menu.php
and
Undefined property: stdClass::$nameError in line 90 of file C:\\wamp\\www\\test.domain.org\\plugins\\editors\\ckeditor\\plugins\\linkBrowser\\extensions\\links\\joomlalinks\\menu.php
I've searched extensively for reports of a similar issue without success, does anyone have any ideas what the problem may be?
The site is running:
PHP 5.2.9
MYSQL 5.0.51a community
Windows Apache 2.2.11
Joomla 1.6.0 Stable
Thanks
-
- Joomla! Apprentice
- Posts: 44
- Joined: Wed Feb 02, 2011 12:54 pm
Re: CKEditor Link Browser error
Hi,
Link Browser plugin is under development in this moment. Remember that CKEditor extension to joomla 1.6 is in beta stage. In free time I will try look and fix issues to Link Browser. Thanks for reporting this bug.
Link Browser plugin is under development in this moment. Remember that CKEditor extension to joomla 1.6 is in beta stage. In free time I will try look and fix issues to Link Browser. Thanks for reporting this bug.
-
- Joomla! Apprentice
- Posts: 10
- Joined: Tue Feb 03, 2009 2:20 pm
Re: CKEditor Link Browser error
OK, I will watch out for the latest updates.
Thanks
Thanks
-
- Joomla! Apprentice
- Posts: 44
- Joined: Wed Feb 02, 2011 12:54 pm
Re: CKEditor Link Browser error
Hi,
I have added new release to joomla extension. Please try it http://extensions.joomla.org/extensions ... tors/12821. There are few improvements and bug fixes to link Browser.
I have added new release to joomla extension. Please try it http://extensions.joomla.org/extensions ... tors/12821. There are few improvements and bug fixes to link Browser.
-
- Joomla! Apprentice
- Posts: 20
- Joined: Sat May 03, 2008 2:35 am
Re: CKEditor Link Browser error
Hello,
I just downloaded the extension and installed it in J1.6.1
I wanted to add this plugin found here:
http://cksource.com/forums/viewtopic.ph ... it=[youtube]
I downloaded the file and unzip it in the plugins directory called ckeditor/plugins/[youtube]
In the editor configuration in the backend, I have added this code:
config.extraPlugins = '[youtube]';
CKEDITOR.config.toolbar_custombar = [
['Source','-','[youtube]','-'],
]
config.toolbar = 'custombar';
But I cannot get the [youtube] button to show up on the editor. I must be doing something wrong.
Any help would be greatly appreciated.
Thanks
I just downloaded the extension and installed it in J1.6.1
I wanted to add this plugin found here:
http://cksource.com/forums/viewtopic.ph ... it=[youtube]
I downloaded the file and unzip it in the plugins directory called ckeditor/plugins/[youtube]
In the editor configuration in the backend, I have added this code:
config.extraPlugins = '[youtube]';
CKEDITOR.config.toolbar_custombar = [
['Source','-','[youtube]','-'],
]
config.toolbar = 'custombar';
But I cannot get the [youtube] button to show up on the editor. I must be doing something wrong.
Any help would be greatly appreciated.
Thanks
-
- Joomla! Apprentice
- Posts: 44
- Joined: Wed Feb 02, 2011 12:54 pm
Re: CKEditor Link Browser error
Hi,
@checksum I will try use this plugin and give you an info how it works.
@checksum I will try use this plugin and give you an info how it works.
-
- Joomla! Apprentice
- Posts: 20
- Joined: Sat May 03, 2008 2:35 am
Re: CKEditor Link Browser error
Thank you, I am looking forward to this as I want an easy way to insert [youtube] videos.
This plugin is even better, since you can preview the video and resize it before you submit:
http://cksource.com/forums/viewtopic.ph ... it=[youtube]
Thanks
This plugin is even better, since you can preview the video and resize it before you submit:
http://cksource.com/forums/viewtopic.ph ... it=[youtube]
Thanks
-
- Joomla! Apprentice
- Posts: 44
- Joined: Wed Feb 02, 2011 12:54 pm
Re: CKEditor Link Browser error
@checksum I checked JW Player plugin . To install it in Joomla 1.6 (in 1.5 it should works also) please follow:
- unzip this plugin to your joomla /plugins/editors/ckeditor/plugins directory
- paste something like this in Custom configuration field in Advanced settings tab in component configuration (please look at attached image)
Hope this helps you.
- unzip this plugin to your joomla /plugins/editors/ckeditor/plugins directory
- paste something like this in Custom configuration field in Advanced settings tab in component configuration (please look at attached image)
Code: Select all
CKEDITOR.config.toolbar= [['Source','-','Save','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['BidiLtr', 'BidiRtl'], ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
'/',
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','Anchor'],
['Image','jwplayer','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
'/',
['Styles','Format','Font','FontSize'],
['TextColor','BGColor'],
['Maximize', 'ShowBlocks','-','About']];
You do not have the required permissions to view the files attached to this post.
-
- Joomla! Apprentice
- Posts: 20
- Joined: Sat May 03, 2008 2:35 am
Re: CKEditor Link Browser error
Thanks, the added plugin works in the editor as I can see the button mow.
The problem is with Joomla, it strips all <iframe> and <object> tags which [youtube] uses. So the video is never displayed with the post.
I was trying to find a solution with this CK editor to post [youtube] video in joomla, but I could not find any that does not insert the <iframe> or <object> tag in the article.
The problem is with Joomla, it strips all <iframe> and <object> tags which [youtube] uses. So the video is never displayed with the post.
I was trying to find a solution with this CK editor to post [youtube] video in joomla, but I could not find any that does not insert the <iframe> or <object> tag in the article.
-
- Joomla! Apprentice
- Posts: 44
- Joined: Wed Feb 02, 2011 12:54 pm
Re: CKEditor Link Browser error
You have to set proper values for users to text filters in article manager options (black or white lists for tags/html) . When you do this Joomla should allow adding iframe , embed and others tag to article.
-
- Joomla! Apprentice
- Posts: 20
- Joined: Sat May 03, 2008 2:35 am
Re: CKEditor Link Browser error
Ok, thanks
Now it works....
Is it a big security risk to allow <iframe> or <object> for registered users through the editor?
I am using J! 1.6.1
Now it works....
Is it a big security risk to allow <iframe> or <object> for registered users through the editor?
I am using J! 1.6.1
-
- Joomla! Apprentice
- Posts: 44
- Joined: Wed Feb 02, 2011 12:54 pm
Re: CKEditor Link Browser error
Yes, I think it is .
-
- Joomla! Apprentice
- Posts: 20
- Joined: Sat May 03, 2008 2:35 am
Re: CKEditor Link Browser error
Thanks for the tip. I did not know you could filter HTML tags in the admin area.
Good day!
Good day!
-
- Joomla! Apprentice
- Posts: 20
- Joined: Sat May 03, 2008 2:35 am
Re: CKEditor Link Browser error
Hi, me again :-)
How do I add the button to the basic editor so my registered users can see it.
Right now, I can only see the nutton in the admin area. When I go into Layout Setting, the button is not listed under Available Buttons for me to add it to the Basic Editor.
Thanks
How do I add the button to the basic editor so my registered users can see it.
Right now, I can only see the nutton in the admin area. When I go into Layout Setting, the button is not listed under Available Buttons for me to add it to the Basic Editor.
Thanks
-
- Joomla! Apprentice
- Posts: 44
- Joined: Wed Feb 02, 2011 12:54 pm
Re: CKEditor Link Browser error
Hi,
@checksum I will check this when I will have some time. In this moment there is no easy solution for this, maybe I have to make some fix/improvements to do this. Thanks for notice this problem. Please be patient I will give you an info after check this.
You cant try add some config for toolbars (full, basic ) in field custom configuration that I have mention in earlier posts. Please follow http://docs.cksource.com/CKEditor_3.x/D ... de/Toolbar
@checksum I will check this when I will have some time. In this moment there is no easy solution for this, maybe I have to make some fix/improvements to do this. Thanks for notice this problem. Please be patient I will give you an info after check this.
You cant try add some config for toolbars (full, basic ) in field custom configuration that I have mention in earlier posts. Please follow http://docs.cksource.com/CKEditor_3.x/D ... de/Toolbar
-
- Joomla! Apprentice
- Posts: 20
- Joined: Sat May 03, 2008 2:35 am
Re: CKEditor Link Browser error
OK
Thank you!
I appreciate your help though
Thank you!
I appreciate your help though
-
- Joomla! Apprentice
- Posts: 44
- Joined: Wed Feb 02, 2011 12:54 pm
Re: CKEditor Link Browser error
Hi,
I created ticket http://joomlacode.org/gf/project/ckedit ... m_id=25619 for this issue.
Please be patient.
I created ticket http://joomlacode.org/gf/project/ckedit ... m_id=25619 for this issue.
Please be patient.
-
- Joomla! Apprentice
- Posts: 44
- Joined: Wed Feb 02, 2011 12:54 pm
Re: CKEditor Link Browser error
Hi,
@checksum I check and there is easy and ready solution to add buttons from plugins.
Please open config.ini file in joomla /plugins/editors/ckeditor directory. Add something like this to it
MediaEmbed plugins is shipped with CKEditor extension and here is as example. After save this file you should see button from jwplayer plugin in component configuration.
Hope this helps .
@checksum I check and there is easy and ready solution to add buttons from plugins.
Please open config.ini file in joomla /plugins/editors/ckeditor directory. Add something like this to it
Code: Select all
[MediaEmbed]
pluginName = MediaEmbed
image = mediaembed/images/icon.gif
title = media embed
[jwPlayer]
pluginName = jwplayer
image = jwplayer/jwplayer/jwPlayer.gif
title = Add [youtube] video
Hope this helps .
-
- Joomla! Apprentice
- Posts: 20
- Joined: Sat May 03, 2008 2:35 am
Re: CKEditor Link Browser error
Thank you.
It would be nice to add couple of google fonts to the editor font selection list.
I am running a blog site and would love to be able to have additional fonts from the google font library.
Would this be something easy to accomplish?
Thanks
It would be nice to add couple of google fonts to the editor font selection list.
I am running a blog site and would love to be able to have additional fonts from the google font library.
Would this be something easy to accomplish?
Thanks
-
- Joomla! Apprentice
- Posts: 44
- Joined: Wed Feb 02, 2011 12:54 pm
Re: CKEditor Link Browser error
Hi,
please look at http://docs.cksource.com/ckeditor_api/s ... font_names. You can add this settings to config.js (in plugins/editors/ckeditor) directory. Please try this setting and give an info if this works as you expected.
please look at http://docs.cksource.com/ckeditor_api/s ... font_names. You can add this settings to config.js (in plugins/editors/ckeditor) directory. Please try this setting and give an info if this works as you expected.