[TYPO3-linux] Problems with Typolink after upgrade
Christopher Torgalson
bedlamhotel at gmail.com
Wed Mar 14 15:57:04 CET 2007
Hi,
On 3/14/07, Dimitri Tarassenko <mitka at mitka.us> wrote:
> 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.
Since the original problem was that "In version 4.1 there is no
/media/bullets folder so bullet lists are not rendered correctly
(empty images of no defined size appear before each list item)," this
problem can be fixed by creating a symlink to the /new location/ of
the media directory:
cd public_html (or whatever...)
ln -s typo3/sysext/cms/tslib/media media
However, I'd say Dmitry's solution is the better one (since it doesn't
rely on superfluous images).
--
Christopher Torgalson
http://www.typo3apprentice.com/
More information about the TYPO3-linux
mailing list