Hello
I was wanting to customize the popup window with the link options. In particular I was wanting to strip down the options so it was just adding a basic link, no advanced options or browsing server/file uploads option.
Is this possible, easy or hard to do?
Thanks
I was wanting to customize the popup window with the link options. In particular I was wanting to strip down the options so it was just adding a basic link, no advanced options or browsing server/file uploads option.
Is this possible, easy or hard to do?
Thanks
Re: Customize popup for link options
Take a look at
fckeditor\editor\dialog\fck_link.html
if you know how to write html then you should be able so that if you change
<select id="cmbLinkType" onchange="SetLinkType(this.value);">
<option value="url" fckLang="DlgLnkTypeURL" selected="selected">URL</option>
<option value="anchor" fckLang="DlgLnkTypeAnchor">Anchor in this page</option>
<option value="email" fckLang="DlgLnkTypeEMail">E-Mail</option>
</select>
by deleteing the options you don't want then it should work.
There is a similar <select><option> tag block for the protocol
Haven't tried it myself but I think it should work.
Regards
Paul
Re: Customize popup for link options
Re: Customize popup for link options
It's pretty simple to do.. get in fckeditor/fckconfig.js and start looking for functions that have some thing to do with the ones u want to take off.. is it clear? for example:
there's a function called "FCKConfig.LinkDlgHideTarget = true ;" and is set as true, then the target window will be hidden.. right?
that's it..
w
peace..
Re: Customize popup for link options
yes i figured it out. For some reason I didnt see those options the first time through the config page
thanks for the response.