Einzelnen Beitrag anzeigen

  #3  
Alt 11.01.2008, 17:27
Tapio Markula
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] TinyRTE Error Handling https:// links... - FIXED

Timothy Patterson kirjoitti:
> 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!


Please make a bugreport about this issue in
http://tinyrte.outraxx.de/bugreport0/
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english