Re: [TYPO3-english] convert link to html a tag

2013-12-04 Thread Jigal van Hemert
Hi, On 4-12-2013 8:30, TSniper wrote: Did you resolved this ? i'm having the same problem because i'm using the new typo3 6.1.5 with an old project database that has link tags instead of a tags. if you do have a solution, please let me know about guys. TYPO3 6.x still uses link tags

Re: [TYPO3-english] convert link to html a tag

2013-12-04 Thread Stanislas Rolland
Hi Dawid, I can't and also I don't want to create a FE plugin just to make an export. If on FE this links are rendered properly there must be a way to invoke this. I want only some fields so rendering whole page than parsing it is a very bad idea IMO On RTE-enabled fields, you may try to

[TYPO3-english] convert link to html a tag

2013-03-29 Thread Dawid Pacholczyk
Hello, TYPO3 keeps hyperlinks as link http://target.loc - some more dataLabel/link I'm writing exporter of my content to the external system that isn't based on TYPO3 so I need to convert this link to normal a href=target.locLabel/a How can I do this while exporting thata from BE module to xml

Re: [TYPO3-english] convert link to html a tag

2013-03-29 Thread Jigal van Hemert
Hi, On 29-3-2013 11:09, Dawid Pacholczyk wrote: Hello, TYPO3 keeps hyperlinks as link http://target.loc - some more dataLabel/link I'm writing exporter of my content to the external system that isn't based on TYPO3 so I need to convert this link to normal a href=target.locLabel/a How can I

Re: [TYPO3-english] convert link to html a tag

2013-03-29 Thread Dawid Pacholczyk
I can't and also I don't want to create a FE plugin just to make an export. If on FE this links are rendered properly there must be a way to invoke this. I want only some fields so rendering whole page than parsing it is a very bad idea IMO Best regards, Dawid Pacholczyk 2013/3/29 Jigal van

Re: [TYPO3-english] convert link to html a tag

2013-03-29 Thread Sergey Alexandrov
if you need to replace only links try something like this. $pattern = /(link ([^]*))(.*?)(\/link)/si; preg_match_all($pattern,$message,$regs); for ($i = 0; $i count($regs[0]); $i++) { if (is_numeric($regs[2][$i])) { // Internal link $message = str_replace($regs[1][$i],'a

Re: [TYPO3-english] convert link to html a tag

2013-03-29 Thread Dmitry Dulepov
Hi! Dawid Pacholczyk wrote: If on FE this links are rendered properly there must be a way to invoke this. Nope. There are too many things that can affect the way those links are generated. -- Dmitry Dulepov TYPO3 CMS core security teams member