[Typo3] Issues with the Futuristic Template Building (FTB) tutorial

Vincent typo3 at crel.us
Fri Oct 28 08:53:20 CEST 2005


Hi.

I thought I would provide some feedback on my experiences/problems
so far with the FTB tutorial / TemplaVoila on NetBSD with 
    Typo3-3.8.0
    TemplaVoila-0.4.0

Issue 1
-------
With PHP 5.0.5 I got an error in the content window in the page module.

    Fatal error: Cannot unset string offsets in
    /u2/htdocs/typo3_src-3.8.0/t3lib/class.t3lib_div.php on line 3300

Also, the new web->page module for TV and the new web->TemplaVoila
module
did not show up.

This was corrected by downgrading to PHP-4.4.0.


Issue 2
-------
The FTB tutorial section 1.2.2, it says to copy the folder "template/"
from this tutorial extension into the folder "fileadmin/".  However,
When I click on the Web->TemplaVoila module after doing it, it produces
a "MISSING DIRECTORY" error.
It says "The directory "fileadmin/templates/" does not exist!

So in reality you must copy
typo3conf/ext/doc_tut_ftb1/template  to  fileadmin/templates (note
plural)


Issue 3
-------
In the FTB tutorial, 
Section 1.3.1 Modifying a formerly made DS/TO

It says
    if you like, you can set the Mapping rules to "a:attr:href"
    - meaning "map this DS element only to an "href" attribute of an
    <a>-tag!"

With that rule set, it does not work.  I click the "map" button for
the "Print version link URL" and select the <a> tag, but after saving,
there is no change in the FE page and the TemplaVoila mapping table
still shows the "Map" button for that element while all the other
elements have a "Re-Map" button.

Unset the "a:attr:href" rule and it accepts the mapping.  However,
instead of substituting the href portion of the link, it substitutes
the text, outputing this on the FE:

<p><a href="fileadmin/templates/main/#">index.php?id=1&amp;print=1&amp;no_ca che=1</a></p>

So the link does not provide the print version of the page and shows
"index.php?id=1&amp;print=1&amp;no_cache=1" rather than "Print
version".

I have not solved this one.

I pasted this code into the setup field as the tutorial says.  Unless
there is some kind of customization I must make to it that it does not
mention.

    #Print Version URL:
    lib.print_url = TEXT
    lib.print_url.value = index.php?id={page:uid}&print=1&no_cache=1
    lib.print_url.htmlSpecialChars = 1
    lib.print_url.insertData = 1
    [globalVar = GP:print > 0]
    lib.print_url.value = index.php?id={page:uid}
    [global]


-- 
Vincent Stemen
Avoid the VeriSign/Network Solutions domain registration trap!
Read how Network Solutions (NSI) was involved in stealing our domain name.
http://inetaddresses.net/about_NSI.html




More information about the TYPO3-english mailing list