im using xinha editor on an etomised website (0.6.1 Final (Prelude)).
I'm happy with this editor but i miss two things in the insert file section:
- target: - i would like to give the file a target (for example _blank)
- text instead of filename - i would like to choose between filename and some text i type in myself.
Can anybody help me to add this?
I found in the config.php (\manager\media\xinha\plugins\InsertFile)
/* MY_LINK_FORMAT The string to be inserted into textarea. This is the most crucial setting. I apologize for not using the DOM functions any more, but inserting raw string allow more customization for everyone. The following strings are replaced by corresponding values of selected files/folders: _editor_url the url of htmlarea root folder - you should set it in your document (see htmlarea help) IF_ICON file type icon filename (see plugins/InsertFile/images/ext directory) IF_URL relative path to file relative to $MY_DOCUMENT_ROOT IF_CAPTION file/folder name IF_SIZE file size in (B, kB, or MB) IF_DATE last modification time acording to $MY_DATETIME_FORMAT format */ //$MY_LINK_FORMAT = '<span class="filelink"><img src="_editor_urlplugins/InsertFile/IF_ICON" alt="IF_URL" border="0">Â <a href="IF_URL">IF_CAPTION</a> Â <span style="font-size:70%">IF_SIZE Â IF_DATE</span></span>Â '; $MY_LINK_FORMAT = '<span class="filelink"><a href="'.$MY_URL_TO_OPEN_FILE.'IF_URL" target='_blank'>IF_CAPTION</a> <img class="fileimg" src="'.$MY_BASE_URL.'/manager/media/xinha/plugins/InsertFile/IF_ICON" alt="" border="0"><span class="filesize">IF_SIZE</span></span>';
Thanks
sandra-ch











