|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
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 |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| 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 |