[TYPO3-templavoila] TV Page Module not showing "Main Content Area" and "Create new element" icon

Joerg Wagner - DigiLog multimedia usenet at digilog.de
Tue Mar 7 15:36:14 CET 2006


I found two bug reports that obviously describe the exactly same problem, 
though somewhat vage in their details:

http://bugs.typo3.org/view.php?id=2698
http://bugs.typo3.org/view.php?id=2322

The second one is much more detailed and I will add my findings to it.
Actually I also get the JS error that is described there, if I switch on JS 
debugger in IE or if I open the JS console in FireFox.
And as described there the error in FF has no consequences, but in IE the TO 
and DS entries in the db get filled with nonsense.

--
Jörg Wagner
DigiLog multimedia


"Joerg Wagner - DigiLog multimedia" <usenet at digilog.de> schrieb im 
Newsbeitrag 
news:mailman.1.1141738873.3348.typo3-project-templavoila at lists.netfielders.de...
> Hi Dmitry,
>
> your replies come fast and precise as ever. Thanks a lot!  :)
>
>
>> This happens if TemplaVoila cannot find any "content element" fields in 
>> *DS*.
>
> I have just one TV template in the site and its DS contains the standard 
> content elements, they are mapped and work fine in the pages that are not 
> affected by the problem.
> The problem seems to be that TV writes arbitrary TO numbers into the 
> "tx_templavoila_to" field of the "pages" table when I insert new pages and 
> ADDITIONALLY the "tx_templavoila_ds" field is just empty (instead of 0). 
> As there is no DS given and as the given TO do not exist, the "Main 
> Content Area" box does not appear in the TV page module for these pages.
>
> > Seems like you have a wrong reference to TO there. Check in page
> properties.
>
> Correct! The "Page Template Structure:" dropdown box of the "page 
> properties" page shows the empty item selected (which would be correct for 
> a page that inherits its template from the parent) but in this case this 
> seems to be just the result of the wrong DS and TO entries in the db. If I 
> switch the dropdown box to my template, save the page, and switch the 
> dropdown box back to the empty entry again, the db shows corrected entries 
> (" tx_templavoila_ds" =0, "tx_templavoila_to"=1 - the latter one probably 
> being not important because the first one being 0), and the problem is 
> gone!!!
>
> Important:
> I found that all this mess only happens, if I use the wizard to create new 
> pages:  "New" --> "Click here for wizard" (below Page(inside)).
> If I create the page without the wizard  using  "New" --> "Page(inside)" 
> then the db record is properly filled and I get my "Main Content Area" box 
> immediatelly.
>
> Smells like bug, doesn't it?
> It would be nice if somebody could confirm this behaviour. I would then 
> file a bug report to the tracker.
>
> Thanks again for your help!
>
> --
> Jorg Wagner
> DigiLog multimedia
>
>
>
> "Dmitry Dulepov" <typo3 at fm-world.ru> schrieb im Newsbeitrag 
> news:mailman.1.1141735156.27467.typo3-project-templavoila at lists.netfielders.de...
>> Hi!
>>
>> Joerg Wagner - DigiLog multimedia wrote:
>>> When I add new pages and try to edit them in the TV page module, the BE 
>>> does
>>> not display the "Main Content Area" box and thus no "Create new element"
>>> icon.
>>
>> This happens if TemplaVoila cannot find any "content element" fields in
>> *DS*.
>>
>>> I had a look into the database and found the the field 
>>> "tx_templavoila_to"
>>> is !=0 for all affected pages and is =0 for pages that show the "Main
>>> Content Area".
>>
>> When it is equal to 0, it means "take TO from the upper page in tree".
>>
>>> As far as I can tell, this field has always been =0 in my old 
>>> installations.
>>
>> Not for the root page of the site at least.
>>
>>> If I reset it to 0 the missing "Main Content Area" reappears in the BE.
>>
>> Seems like you have a wrong reference to TO there. Check in page 
>> properties.
>>
>>> BTW:
>>> Where is the right place to post TV bugs? I am quite sure it is NOT in 
>>> the
>>> Typo3 bug tracker.
>>
>> This is a right place to ask questions about TV and confirm problems
>> before posting bugs to bug tracker :)
>>
>> Dmitry.
>> -- 
>> "It is our choices, that show what we truly are,
>> far more than our abilities." (A.P.W.B.D.)
>
> 





More information about the TYPO3-project-templavoila mailing list