You are not logged in.
Hi it's me again.
Now there is a problem again: I created a little image-plugin. So now I have only to type in an ID and my site creates a full link.
At the moment the link starts with "http://" and an IP.
Everytime when I switch between the WYSIWYG-Mode and the HTML-Mode or save the HTML-Code Xinha deletes th beginning part. Why?
When I am using my host entry (a pseudo-domain which is mapped to the same IP) it runs normal.
For the tests I have to use the IP.
Thx in ahead.
Offline
See the following config options, particularly stripBaseHref
// specify a base href for relative links
/** Specify a base href for relative links<br />
* ATTENTION: this does not work as expected and needs t be changed, see Ticket #961 <br />
* Default: <code>null</code>
* @type String|null
*/
this.baseHref = null;
/** If true, relative URLs (../) will be made absolute.
* When the editor is in different directory depth
* as the edited page relative image sources will break the display of your images.
* this fixes an issue where Mozilla converts the urls of images and links that are on the same server
* to relative ones (../) when dragging them around in the editor (Ticket #448)<br />
* Default: <code>true</code>
* @type Boolean
*/
this.expandRelativeUrl = true;
/** We can strip the server part out of URL to make/leave them semi-absolute, reason for this
* is that the browsers will prefix the server to any relative links to make them absolute,
* which isn't what you want most the time.<br />
* Default: <code>true</code>
* @type Boolean
*/
this.stripBaseHref = true;
James Sleeman
Offline
Ah thx for the info I will change it today.
Last edited by LeMacabre (2010-10-22 02:28:18)
Offline