TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-linux@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 14.03.2007, 11:50
Darryl Krause
Gast
 
Beiträge: n/a
Standard [TYPO3-linux] Problems with Typolink after upgrade

Hi all,



I have just completed the transfer of a large site including a long
overdue upgrade from 3.7 to 4.1 and am now trying to "iron out some
wrinkles".



In version 3.7 bullet lists were rendered with <typolist> tags and used
images from the /media/bullets folder.

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).



I have been playing around with this for some time now. I have
discovered that by opening a content element and saving it again, then
RTE htmlarea substitutes all the <typolink> tags with <ul> and <li>. So
that fixes the problem right?



But a global search for "</typolist>" showed over 150 records needing
attention. There must be a "cleaner" way to change this! Perhaps there
is something I need to do with static templates? I expect there is a
simple solution.



Thanks for any clues!

-Darryl


_______________________________________________
TYPO3-linux mailing list
TYPO3-linux (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/...fo/typo3-linux
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 14.03.2007, 14:16
Dimitri Tarassenko
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-linux] Problems with Typolink after upgrade

There is.

update tt_content set bodytext = replace(bodytext, '<typolist>','<ul>');
update tt_content set bodytext = replace(bodytext, '</typolist>','</ul>');

+ clear all cache.

D.

On 3/14/07, Darryl Krause <DarrylK (AT) ywam (DOT) no> wrote:

> I have been playing around with this for some time now. I have discovered
> that by opening a content element and saving it again, then RTE htmlarea
> substitutes all the <typolink> tags with <ul> and <li>. So that fixes the
> problem right?
>
> But a global search for "</typolist>" showed over 150 records needing
> attention. There must be a "cleaner" way to change this! Perhaps there is
> something I need to do with static templates? I expect there is a simple
> solution.


--
Dimitri Tarassenko
_______________________________________________
TYPO3-linux mailing list
TYPO3-linux (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/...fo/typo3-linux
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 14.03.2007, 14:26
Darryl Krause
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-linux] Problems with Typolink after upgrade

Thanks Dimitri,

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?

I just thought that there must have been some cleaner way of upgrading this as new versions were released.

-Darryl

PS. For now, as a temporary solution, I have just put a copy of the old media/bullets/ folder in place. But this leads to different rendering of existing and newer bullet lists.



-----Opprinnelig melding-----
Fra: typo3-linux-bounces (AT) lists (DOT) netfielders.de [mailto:typo3-linux-bounces (AT) lists (DOT) netfielders.de] På vegne av Dimitri Tarassenko
Sendt: 14. mars 2007 14:16
Til: TYPO3 Installation on Linux and other Unices
Emne: Re: [TYPO3-linux] Problems with Typolink after upgrade

There is.

update tt_content set bodytext = replace(bodytext, '<typolist>','<ul>');
update tt_content set bodytext = replace(bodytext, '</typolist>','</ul>');

+ clear all cache.

D.

On 3/14/07, Darryl Krause <DarrylK (AT) ywam (DOT) no> wrote:

> I have been playing around with this for some time now. I have discovered
> that by opening a content element and saving it again, then RTE htmlarea
> substitutes all the <typolink> tags with <ul> and <li>. So that fixes the
> problem right?
>
> But a global search for "</typolist>" showed over 150 records needing
> attention. There must be a "cleaner" way to change this! Perhaps there is
> something I need to do with static templates? I expect there is a simple
> solution.


--
Dimitri Tarassenko
_______________________________________________
TYPO3-linux mailing list
TYPO3-linux (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/...fo/typo3-linux

_______________________________________________
TYPO3-linux mailing list
TYPO3-linux (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/...fo/typo3-linux
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #4  
Alt 14.03.2007, 14:47
Dimitri Tarassenko
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-linux] Problems with Typolink after upgrade

On 3/14/07, Darryl Krause <DarrylK (AT) ywam (DOT) 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
_______________________________________________
TYPO3-linux mailing list
TYPO3-linux (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/...fo/typo3-linux
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #5  
Alt 14.03.2007, 15:57
Christopher Torgalson
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-linux] Problems with Typolink after upgrade

Hi,

On 3/14/07, Dimitri Tarassenko <mitka (AT) mitka (DOT) us> wrote:
> On 3/14/07, Darryl Krause <DarrylK (AT) ywam (DOT) 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/
_______________________________________________
TYPO3-linux mailing list
TYPO3-linux (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/...fo/typo3-linux
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3] 4.0.3 to 4.1 upgrade problems Derek Harkness typo3-english@lists.netfielders.de 7 21.03.2007 16:11
[TYPO3] tt_news 2.4.0 upgrade issue Bing Du typo3-english@lists.netfielders.de 0 12.03.2007 20:52
[TYPO3-linux] ImageMagick Problems - exec() disabled Sandy Matheson typo3-linux@lists.netfielders.de 2 08.02.2007 15:18
[TYPO3-linux] Install problems relating GD Kari Salovaara typo3-linux@lists.netfielders.de 2 03.02.2007 10:46
[TYPO3-UG France] Prolème - Upgrade 3.7 -> 3.8.1 benoit at norrin.fr typo3-france@lists.netfielders.de 0 08.03.2006 16:49


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:49 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75