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-project-templavoila@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 15.07.2008, 07:13
Uschi Renziehausen
Gast
 
Beiträge: n/a
Standard [TYPO3-templavoila] All CEs unreferenced after DS/TO update :-(

Dear folks,

yesterday I did the following. After having created a new FCE and some
minor changes in existing templates (no renaming or adding of fields)
everything was ok in my local installation.

To bring the real thing up to date I then truncated the two tv tables
and and inserted the new data (uid still being the same). Nevertheless
the effect was that all CEs were unreferenced. As the site is quite
large, rereferencing all elements manually is a no go in my situation. I
had no other chance but rewinding the whole process by reinserting the
database dump of the whole site.

So here my question:
Why is it that all those references were lost? Where are those
references stored? I need an easy way to keep the DS/TO tables on the
same state in a couple of installations.

Do you have a solution for me?

Uschi
_______________________________________________
TYPO3-project-templavoila mailing list
TYPO3-project-templavoila (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-templavoila
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 15.07.2008, 08:38
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] All CEs unreferenced after DS/TO update :-(

Hi!

Uschi Renziehausen wrote:
> yesterday I did the following. After having created a new FCE and some
> minor changes in existing templates (no renaming or adding of fields)
> everything was ok in my local installation.
>
> To bring the real thing up to date I then truncated the two tv tables
> and and inserted the new data (uid still being the same). Nevertheless
> the effect was that all CEs were unreferenced. As the site is quite
> large, rereferencing all elements manually is a no go in my situation. I
> had no other chance but rewinding the whole process by reinserting the
> database dump of the whole site.


Unreferenced - you mean lost in Page module right? This is a separate thing. Most likely you canhed the field name for the content field (for example, from field_content to field_maincontent). Content elements are bound to their content field. If you rename that field, you loose references.

> Why is it that all those references were lost? Where are those
> references stored? I need an easy way to keep the DS/TO tables on the
> same state in a couple of installations.


References are independent of DS/TO of FCE. You can remove DS/TO for FCE and it will not affect references in any way.

They are stores in "pages" table, in the XML field named "tx_templavoila_flex".

--
Dmitry Dulepov
TYPO3 Core team
More about TYPO3: http://typo3bloke.net/
Subscribe: http://typo3bloke.net/rss.xml
_______________________________________________
TYPO3-project-templavoila mailing list
TYPO3-project-templavoila (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-templavoila
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 15.07.2008, 14:44
Uschi Renziehausen
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] All CEs unreferenced after DS/TO update :-(

Hi Dmitry,

thanks for your quick answer.

>
> Unreferenced - you mean lost in Page module right? This is a separate
> thing. Most likely you canhed the field name for the content field (for
> example, from field_content to field_maincontent). Content elements are
> bound to their content field. If you rename that field, you loose
> references.
>


Right, Dmitry. All the pages were just empty and when I then looked at
unused elements, all elements (normal CEs as well as FCEs) there. I did
not change any fieldname in any DS, so I still do not know what went wrong.

>> Why is it that all those references were lost? Where are those
>> references stored? I need an easy way to keep the DS/TO tables on the
>> same state in a couple of installations.

>
> References are independent of DS/TO of FCE. You can remove DS/TO for FCE
> and it will not affect references in any way.


>
> They are stores in "pages" table, in the XML field named
> "tx_templavoila_flex".
>


I know, and as far as I understand it, a ce is removed from the xml when
I 'delete' it. But as I did neither change the fieldnames nor 'deleted'
any CEs what can be the reason that all pages became blank?

Kind regards, Uschi

_______________________________________________
TYPO3-project-templavoila mailing list
TYPO3-project-templavoila (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-templavoila
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 15.07.2008, 14:54
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] All CEs unreferenced after DS/TO update :-(

Hi!

Uschi Renziehausen wrote:
> Right, Dmitry. All the pages were just empty and when I then looked at
> unused elements, all elements (normal CEs as well as FCEs) there. I did
> not change any fieldname in any DS, so I still do not know what went wrong.


And how flexform looks like? You can click on the page tree and display flexform XML using popup menu. Check with several pages.

> I know, and as far as I understand it, a ce is removed from the xml when
> I 'delete' it. But as I did neither change the fieldnames nor 'deleted'
> any CEs what can be the reason that all pages became blank?


It is removed from xml when you *unlink* it (not delete).

The reason that it blank is that it is not included into current content field.

Firsts, check your flexform and find content field name. Second, find what DS you use for this page. Third check that this DS has that field.

--
Dmitry Dulepov
TYPO3 Core team
More about TYPO3: http://typo3bloke.net/
Subscribe: http://typo3bloke.net/rss.xml
_______________________________________________
TYPO3-project-templavoila mailing list
TYPO3-project-templavoila (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-templavoila
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 16.07.2008, 07:54
Uschi Renziehausen
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] All CEs unreferenced after DS/TO update :-(

Hello Dmitry,

> The reason that it blank is that it is not included into current content
> field.
>
> Firsts, check your flexform and find content field name. Second, find
> what DS you use for this page. Third check that this DS has that field.
>


I tried to reproduce the whole thing. When I first inserted my changed
DS/TOs I did that with phpmyadmin. This time I did it via shell, and,
alas, everything was perfectly alright! So I could not reproduce the
error. But next time it happens I will proceed like you said.

Thanks, Uschi

_______________________________________________
TYPO3-project-templavoila mailing list
TYPO3-project-templavoila (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-templavoila
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-german] TemplaVoila: Nach Mapping Update keine Inhalte mehr Jens Carl typo3-german@lists.netfielders.de 0 09.06.2008 16:11
[TYPO3-german] Smile_glossary zeigt nur eine leere Seite an,nach TemplaVoila Update Lisa typo3-german@lists.netfielders.de 1 24.04.2008 15:13
[TYPO3-german] Probleme mit rgaccordion in templavoila - condition für templavoila content Ralf-René Schröder typo3-german@lists.netfielders.de 0 26.01.2008 15:24
[TYPO3-templavoila] no content after update to 4.1.2 Philipp Holdener typo3-project-templavoila@lists.netfielders.de 35 22.08.2007 11:46
[TYPO3-german] Nach Update auf Typo3 4.1 und update des htmlarearteauf1.4.4 Christian Hensel typo3-german@lists.netfielders.de 2 14.04.2007 14:17


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:28 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