Hello,
I'm building a CMS for a client. Basically the client will be able to create and structure pages/files in his site. The pages and files are stored in a database.
The client wants to be able to use WSYIWYG controls to type the content of this pages. I've looked into FCKeditor and it seems to be a good option for simple things like bold, color changes, fonts, etc. But I worry about situations when the client wants to add a link, not to an external site, but to one of the dynamic pages or files he's just created in the CMS.
Obviously, I don't want to make him type in a url...he should just have to pick the page from a database query and the url should be created dynamically
Does anyone have any insight regarding extending FCKeditor to work in a dynamic web application like this?
Thanks!
I'm building a CMS for a client. Basically the client will be able to create and structure pages/files in his site. The pages and files are stored in a database.
The client wants to be able to use WSYIWYG controls to type the content of this pages. I've looked into FCKeditor and it seems to be a good option for simple things like bold, color changes, fonts, etc. But I worry about situations when the client wants to add a link, not to an external site, but to one of the dynamic pages or files he's just created in the CMS.
Obviously, I don't want to make him type in a url...he should just have to pick the page from a database query and the url should be created dynamically
Does anyone have any insight regarding extending FCKeditor to work in a dynamic web application like this?
Thanks!
Re: Creating Custom CMS--will FCKeditor work?
A new version of JoomlaFCK2 has a plug-in/button allows the user to select a content link by section, category, etc.
joomlafck2 - New working & safe FCKeditor for Joomla
http://forum.joomla.org/index.php/topic,217042.0.html
See screen shot of "Insert Joomla Content Link" button here:
http://www.databasedevelopments.com/content/view/42/67/
Works well.
Re: Creating Custom CMS--will FCKeditor work?
Re: Creating Custom CMS--will FCKeditor work?
Re: Creating Custom CMS--will FCKeditor work?
FCkeditor is basically a nice replacement for a textarea, so set up your CMS to be able to edit the pages that you want with a plain textarea and when you have done that, then it's merely a matter of replacing the textarea with an instance of FCKeditor.
Re: Creating Custom CMS--will FCKeditor work?
alfonsoml, thanks, I am aware of how it can replace a textarea, but more specifically, can it's functionality be hooked up to a database query?
For example, when the user clicks on add link, the window appears that allows him to choose from a list generated by a database query...almost akin to an auto-complete field in which a query happens on the fly
Re: Creating Custom CMS--will FCKeditor work?
As kenmcd has said, yes it's possible to provide links to anything special in your CMS, but there's no functionality built in for that. You can find sample code and plugins for other CMS so you can adapt them to your system.