[TYPO3] tinyrte makes filelink urls ABSOLUTE, as the url you are accessing the backend at, how to force RELATIVE?
Tapio Markula
tapio.markula at xetpoint.fi
Tue Sep 25 20:04:08 CEST 2007
Andrew Davis
>
> In the RTE API it seems to indicate that normally urls ARE saved as
> relative, which is what I want, but I dont see where this is configured,
hardcoded in class.tx_tinyrte.base
You need to create an XCLASS for that to change the behavior.
Note make this change too
- change form name dynamic :
template["file"] =
"'.$this->Path.'mod1/browse_links.php?act="+act+expPage+"&mode=wizard&P[ext]=../'.t3lib_extMgm::siteRelPath("tinyrte").'&P[init]=tinyrte&P[formName]='
. $pObj->formName .
'"+current+"&P[itemName]=data%5B'.$table.'%5D%5B'.$row["uid"].'%5D%5B'.$field.'%5D&P[fieldChangeFunc][setTheValue]=setTheValue%28\'link\',input,document.location.search%29%3B&P[fieldChangeFunc][TBE_EDITOR_fieldChanged]=TBE_EDITOR_fieldChanged%28%27'.$table.'%27%2C%27'.$row["uid"].'%27%2C%27'.$field.'%27%2C%27data%5B'.$table.'%5D%5B'.$row["uid"].'%5D%5B'.$field.'%5D%27%29%3B";
More information about the TYPO3-english
mailing list