Tried this. Added path to pages.php and tested that. Put the specified line in config.js - no change in link dialog behaviour then tried including extraPlugins: 'internpage' in my sample .html This throws the following error (testing in Chrome):
Uncaught ReferenceError: editor is not defined at plugin.js 28
Thank for your plugin First excuse my english it's not my native language Is it possible that you comment your source code because I try to make this king of plugin without success and yours is functional not exactly as I wanted I preferred to inject the contents of pages.php directly into the window and insert the link on click but it's not bad it allows me to implement this feature
I want to add a "Search" before the combobox. When user types a keyword then press "Search", it will post to the "pages.php" then I can filter out the result.
I want to add a "Search" before the combobox. When user types a keyword then press "Search", it will post to the "pages.php" then I can filter out the result.
I've set this plugin up and everything seems to work fine in Fire Fox but in any version of IE lower than 9 I get the following errors:
I get this one when I load the page that has the ckeditor on it. This error disappears when I remove my custom css reference from the config.js file. Unable to get value of the property 'name': object is null or undefined ckeditor.js, line 86 character 1725
And I get this one when I click the link icon within ckeditor. Unable to get value of the property 'type': object is null or undefined ckeditor.js, line 56 character 1
var InternPagesSelectBox = new Array(
new Array( '', '' ),
new Array( 'First', 'index.php?page=link1' ),
new Array( 'Second', 'index.php?page=link2' )
);
Re: Link to your own pages in link dialog
Put the specified line in config.js - no change in link dialog behaviour
then tried including extraPlugins: 'internpage' in my sample .html
This throws the following error (testing in Chrome):
Any suggestions pls..
Thx Paul
Re: Link to your own pages in link dialog
Still learning how plugins work so please advise correct fix.
Thx Paul
Re: Link to your own pages in link dialog
Re: Link to your own pages in link dialog
First excuse my english it's not my native language
Is it possible that you comment your source code because I try to make this king of plugin without success and yours is functional not exactly as I wanted I preferred to inject the contents of pages.php directly into the window and insert the link on click but it's not bad it allows me to implement this feature
Thks
Re: Link to your own pages in link dialog
Re: Link to your own pages in link dialog
I want to add a "Search" before the combobox. When user types a keyword then press "Search", it will post to the "pages.php" then I can filter out the result.
Can you show me how to do this?
Thank you
Re: Link to your own pages in link dialog
same question with this one
Re: Link to your own pages in link dialog
I get this one when I load the page that has the ckeditor on it. This error disappears when I remove my custom css reference from the config.js file.
Unable to get value of the property 'name': object is null or undefined
ckeditor.js, line 86 character 1725
And I get this one when I click the link icon within ckeditor.
Unable to get value of the property 'type': object is null or undefined
ckeditor.js, line 56 character 1
Doesn't work in the newest
Doesn't work in the newest Version 4.4.4.
Is there a solution for this version?
This should work
This should work
Thanks for the update, but it
Thanks for the update, but it doesn't work. I get no button "Interne Seite".
Attachments:
Did you edit pages.php? For
Did you edit pages.php? For testing you can use
var InternPagesSelectBox = new Array( new Array( '', '' ), new Array( 'First', 'index.php?page=link1' ), new Array( 'Second', 'index.php?page=link2' ) );Clear your cache before open the editor.
That's the solution. I
That's the solution. I cleared the cache and now it works.
Great job! Thanks a lot for this plugin!