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 07.09.2008, 21:31
Torsten Kirmse
Gast
 
Beiträge: n/a
Standard [TYPO3-templavoila] TypoScript with TV

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
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 07.09.2008, 23:12
Ron Hall
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] TypoScript with TV

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">&copy;&nbsp;|&nbsp;Company</span>
}
lib.footer.20 = TEXT
lib.footer.20.data {
register:SYS_LASTCHANGED
strftime = %d.%m.%Y
wrqp = |&nbsp;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
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 08.09.2008, 07:09
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] TypoScript with TV

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
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 08.09.2008, 22:34
Torsten Kirmse
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] TypoScript with TV

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
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 08.09.2008, 22:57
Torsten Kirmse
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] TypoScript with TV

> 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
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!
  #6  
Alt 08.09.2008, 23:33
Ron Hall
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] TypoScript with TV

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
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!
  #7  
Alt 09.09.2008, 08:00
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] TypoScript with TV

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
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!
  #8  
Alt 11.09.2008, 12:39
G.Unger
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] TypoScript with TV

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
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!
  #9  
Alt 11.09.2008, 15:34
Bjoern Pedersen
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] TypoScript with TV

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
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!
  #10  
Alt 18.09.2008, 15:46
Xavier Perseguers
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] TypoScript with TV

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
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-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


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:39 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2009, 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 76 77