Ok, after sifting through this stockpile of PHP / JavaScript mix I
present you with the solution that I have found...
You have to edit the class.tx_tinyrte_base.php file in the tinyrte
extension directory.
Look for this code, then add what is shown:
function setTheValue(type,value,act) {
tinyMCE.selectedInstance.selection.moveToBookmark( s);
switch(type){
case "link":
var prefixURL=getActivePagefromFilebrowser(act);
// ADD THIS CODE!!! // Modification Start
if(prefixURL=="http://")
{
var secVal = value.substring(0,8);
// Check value to see if it is https...
if(secVal == "https://")
{
prefixURL="https://";
value=value.substr(8);
}
}
// Modification End
var linkValue=value.split(" ");
var linkURL=linkValue[0];
var target=linkValue[1];
Don't know if this helps anyone but here it is nevertheless!
Timothy Patterson wrote:
> TinyRTE v1.6.6 does not seem to handle external links to a secure web
> site properly.
>
> When I enter an external URL (ex: https://www.msn.com) I get this in my
> code: http://https://www.msn.com
>
> I am using the toolbar button to add the link.
>
> Any ideas?
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english