|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hi all,
First, I am a beginner with TV. I have set up a template and mapped this with the wizard. The mail content part and the menu works fine. my problem: In the last <td> of my template i have a footer like this: <p class="bodytext"><span class="detail">©###YEAR### Company</span>|last update: ###LAST_CHANGE###</p> I want to replace the markers with the following TS: page.10.marks.YEAR = TEXT page.10.marks.YEAR.data = date:Y page.10.marks.LAST_CHANGE = TEXT page.10.marks.LAST_CHANGE.data = register:SYS_LASTCHANGED page.10.marks.LAST_CHANGE.strftime = %d.%m.%Y Where I have to place the TS code ? In the template setup section ? (Dosn´t work) In the DS ? (Where ?) Thanks, Torsten _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#2
|
|||
|
|||
|
Hello Torsten,
There is really no need to use markers for this. You would normally produce everything within the paragraph tag with one TS library and then map that to the paragraph using inner mapping. Like this: lib.footer = COA lib.footer.10 = TEXT lib.footer.10 { data = data:Y wrap = <span class="detail">© | Company</span> } lib.footer.20 = TEXT lib.footer.20.data { register:SYS_LASTCHANGED strftime = %d.%m.%Y wrqp = | lastupdate: } This goes into your TS template for the site. You would then setup a field in the DS to bring in lib.footer and map it to <p class="bodytext"> with inner mapping. Please note I have not tested that TS. I just rewrote what you had. Thanks, Ron Hall On Sep 7, 2008, at 2:31 PM, Torsten Kirmse wrote: > Hi all, > > First, I am a beginner with TV. > I have set up a template and mapped this with the wizard. > The mail content part and the menu works fine. > > my problem: > In the last <td> of my template i have a footer like this: > <p class="bodytext"><span class="detail">©###YEAR### Company</span>| > last > update: ###LAST_CHANGE###</p> > > I want to replace the markers with the following TS: > page.10.marks.YEAR = TEXT > page.10.marks.YEAR.data = date:Y > page.10.marks.LAST_CHANGE = TEXT > page.10.marks.LAST_CHANGE.data = register:SYS_LASTCHANGED > page.10.marks.LAST_CHANGE.strftime = %d.%m.%Y > > Where I have to place the TS code ? > In the template setup section ? (Dosn´t work) > In the DS ? (Where ?) > > Thanks, > Torsten > > _______________________________________________ > TYPO3-project-templavoila mailing list > TYPO3-project-templavoila (AT) lists...netfielders.de > http://lists.netfielders.de/cgi-bin/...ct-templavoila _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#3
|
|||
|
|||
|
Hi!
Torsten Kirmse wrote: > I want to replace the markers with the following TS: TV does not support markers. Please, (re)read the "Futuristic template building" tutorial. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extens...velopment/book In the blog: http://typo3bloke.net/pages/book-rev...garr-reynolds/ _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#4
|
|||
|
|||
|
Hi Ron,
thanks for your answer and rewriting it in the correct way. I will try this. Thanks again. Torsten _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#5
|
|||
|
|||
|
> TV does not support markers. Please, (re)read the "Futuristic template
> building" tutorial. Hi Dimitri, thanks for the advice. I will read it again. Let me say something about this tutorial: It is a tutorial with really good content - but it is unreadable. I can read it online only. The DocBook doesn´t work. There is something missing at Oasis. The .sxw isn´t convertable to any useful format without OO installed. Should I set up a VM, install OpenOffice, open the document and convert it to an pdf and then kick the VM ? Why is it impossible to place a PDF for download or a printable version ? Thanks Torsten _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#6
|
|||
|
|||
|
Torsten,
I have Futuristic Template Building in PDF. I will send to you directly. Personally, if you are going to do much with TYPO3, I would install OO permanently just so you can convert manuals to PDF. Having those in PDF makes it easy for both searching and printing. If you are on Mac, you can install NeoOffice instead. Ron On Sep 8, 2008, at 3:57 PM, Torsten Kirmse wrote: >> TV does not support markers. Please, (re)read the "Futuristic >> template >> building" tutorial. > > Hi Dimitri, > > thanks for the advice. > I will read it again. > > Let me say something about this tutorial: > It is a tutorial with really good content - but it is unreadable. > I can read it online only. > The DocBook doesn´t work. There is something missing at Oasis. > The .sxw isn´t convertable to any useful format without OO installed. > Should I set up a VM, install OpenOffice, open the document and > convert it > to an pdf and then kick the VM ? > Why is it impossible to place a PDF for download or a printable > version ? > > Thanks > Torsten > > > _______________________________________________ > TYPO3-project-templavoila mailing list > TYPO3-project-templavoila (AT) lists...netfielders.de > http://lists.netfielders.de/cgi-bin/...ct-templavoila _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#7
|
|||
|
|||
|
Hi!
Torsten Kirmse wrote: > Let me say something about this tutorial: > It is a tutorial with really good content - but it is unreadable. > I can read it online only. > The DocBook doesn´t work. There is something missing at Oasis. > The .sxw isn´t convertable to any useful format without OO installed. > Should I set up a VM, install OpenOffice, open the document and convert > it to an pdf and then kick the VM ? You do not need a VM to install OO. It is available for any platform. > Why is it impossible to place a PDF for download or a printable version ? Ask those who manage typo3.org... -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extens...velopment/book In the blog: http://typo3bloke.net/pages/book-rev...garr-reynolds/ _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#8
|
|||
|
|||
|
On 2008-09-08 22:57:32 +0200, "Torsten Kirmse"
<torsten.kirmse (AT) netnotix (DOT) com> said: > > Why is it impossible to place a PDF for download or a printable version ? > well it isn't impossible, but TYPO3 is open source and therefor the documentation is in a format (Oo) that is open source too, which makes sense as not everybody has got a mac to automatically create pdfs or any pdf converte/adobe acrobat etc. to create pdfs on a windows machine ![]() rgds GUIDO _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#9
|
|||
|
|||
|
G.Unger <skyfreak1 (AT) gmx (DOT) net> writes:
> On 2008-09-08 22:57:32 +0200, "Torsten Kirmse" > <torsten.kirmse (AT) netnotix (DOT) com> said: >> Why is it impossible to place a PDF for download or a printable >> version ? >> > > well it isn't impossible, but TYPO3 is open source and therefor the > documentation is in a format (Oo) that is open source too, which makes > sense as not everybody has got a mac to automatically create pdfs or > any pdf converte/adobe acrobat etc. to create pdfs on a windows > machine ![]() But recent OpenOffice-version can export pdf directly, so the freee/non-free is not the argument. I think it is more historic, as this feature is rather new in Ooo. And pdf is not easily converted to html, a thing that is done for typo3.org extension docu-pages. Björn _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#10
|
|||
|
|||
|
Hi,
>>> Why is it impossible to place a PDF for download or a printable >>> version ? >>> >> well it isn't impossible, but TYPO3 is open source and therefor the >> documentation is in a format (Oo) that is open source too, which makes >> sense as not everybody has got a mac to automatically create pdfs or >> any pdf converte/adobe acrobat etc. to create pdfs on a windows >> machine ![]() > > But recent OpenOffice-version can export pdf directly, so the > freee/non-free is not the argument. I think it is more historic, as > this feature is rather new in Ooo. And pdf is not easily converted to > html, a thing that is done for typo3.org extension docu-pages. But I agree that not serving a PDF is not very user-friendly for beginners. It could be done either automatically or be available as another format to any extension. For instance lots of Kasper's documentation are available as DocBook too: http://typo3.org/documentation/docum...nside/current/ while most (if not all) of the extensions are only as HTML or Ooo available. Should developers put a manual.pdf inside doc/ ? -- Xavier Perseguers http://xavier.perseguers.ch/en/tutorials/typo3.html _______________________________________________ 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-templavoila] typoscript in FCE | Martin Rebetez | typo3-project-templavoila@lists.netfielders.de | 2 | 03.09.2008 11:02 |
| Re: [TYPO3-templavoila] typoscript in FCE | Michael Niemann | typo3-project-templavoila@lists.netfielders.de | 0 | 02.09.2008 16:09 |
| [TYPO3] Typoscript in Templavoila | LinTong | typo3-english@lists.netfielders.de | 11 | 03.07.2008 21:20 |
| [TYPO3-templavoila] Horizontalmenu, typoscript & templavoila | Alix Justus | typo3-project-templavoila@lists.netfielders.de | 6 | 08.04.2008 23:00 |
| Re: [TYPO3-templavoila] TemplaVoila v/s Traditional Templating(Template AutoParser, TypoScript etc.) | Dennis Riedel | typo3-project-templavoila@lists.netfielders.de | 5 | 02.12.2006 22:27 |