[TYPO3-linux] Problems with Typolink after upgrade
Dimitri Tarassenko
mitka at mitka.us
Wed Mar 14 14:47:53 CET 2007
On 3/14/07, Darryl Krause <DarrylK at ywam.no> wrote:
> Seems like you're talking about a raw replace in the tt_content table in the database, right?
> I had thought of that, but wondered about the <li> tags?
update tt_content set bodytext = replace(bodytext,
'<typolist>','<ul><li>') where CType='list';
update tt_content set bodytext = replace(bodytext,
'</typolist>','</li></ul>') where CType='list';
update tt_content set bodytext = replace(bodytext,
char(13),'</li><li>') where CType='list';
Note - I'm not sure 'list' is a correct value for bullet lists, look
it up. You also may need to check if your line ends are LF's or CRLFs,
as well as add a cleanup of empty <li></li> lines if the content
elements have empty lines at the end.
> I just thought that there must have been some cleaner way of upgrading this as new versions were released.
Nope;). Not as far as I know.
--
Dimitri Tarassenko
More information about the TYPO3-linux
mailing list