Re: [TYPO3-german] TYPO3 Onepage-Layout

2010-07-13 Thread JoH asenau
> ich habe eine TYPO3-Webseite mit 5 Seiten.
> 
> Ziel ist es, diese 5 Seiten bei Aufrufe der Startseite (Domain) sofort
> untereinander auszugeben.
> 
> Wie kann man dies bewerkstelligen? Man kann leider weder für PAGE oder
> TEMPLATE eine Seiten-ID zuweisen (was hierfür ideal wäre).

z.B. so in der Art:

page = PAGE
page {
  10 = HMENU
  10 {
special = list
special.value = 1,2,3,4,5
1 = TMENU
1 {
  NO {
doNotLinkIt = 1
stdWrap.cObject = COA
stdWrap.cObject {
  wrap = |
  10 = CONTENT
  10 {
select.pidInList.field = uid
  }
}
  }
}
  }
}

Cheers

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german


Re: [TYPO3-german] TYPO3 Onepage-Layout

2010-07-13 Thread Markus Ehrlich
Hallo Joey, danke für den Ansatz.

Ist es nun möglich irgendwie folgendes dort rein zu bringen? Ich möchte die
bisherige Technik mit TEMPLATE beibehalten und nicht alles HTML mit
TypoScript schreiben müssen.
 
10 = TEMPLATE
10 {
template = FILE
template.file = fileadmin/{$cString.tplFolder}/content.html
workOnSubpart = DOCUMENT

marks.LNKHOME < lib.linkhome
...
}

So das dies 5 Mal ausgeführt würde. Irgendwie muss dafür aber temporär die
Seiten ID 'gesetzt' werden können. Finde keinen Weg.



> -Ursprüngliche Nachricht-
> Von: typo3-german-boun...@lists.typo3.org [mailto:typo3-german-
> boun...@lists.typo3.org] Im Auftrag von JoH asenau
> Gesendet: Dienstag, 13. Juli 2010 13:47
> An: typo3-german@lists.typo3.org
> Betreff: Re: [TYPO3-german] TYPO3 Onepage-Layout
> 
> > ich habe eine TYPO3-Webseite mit 5 Seiten.
> >
> > Ziel ist es, diese 5 Seiten bei Aufrufe der Startseite (Domain)
> sofort
> > untereinander auszugeben.
> >
> > Wie kann man dies bewerkstelligen? Man kann leider weder für PAGE
> oder
> > TEMPLATE eine Seiten-ID zuweisen (was hierfür ideal wäre).
> 
> z.B. so in der Art:
> 
> page = PAGE
> page {
>   10 = HMENU
>   10 {
> special = list
> special.value = 1,2,3,4,5
> 1 = TMENU
> 1 {
>   NO {
> doNotLinkIt = 1
> stdWrap.cObject = COA
> stdWrap.cObject {
>   wrap = |
>   10 = CONTENT
>   10 {
> select.pidInList.field = uid
>   }
> }
>   }
> }
>   }
> }
> 
> Cheers
> 
> Joey
> 
> --
> Wenn man keine Ahnung hat: Einfach mal Fresse halten!
> (If you have no clues: simply shut your gob sometimes!)
> Dieter Nuhr, German comedian
> Xing: http://contact.cybercraft.de
> Twitter: http://twitter.com/bunnyfield
> TYPO3 cookbook (2nd edition): http://www.typo3experts.com
> ___
> TYPO3-german mailing list
> TYPO3-german@lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

___
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german


Re: [TYPO3-german] TYPO3 Onepage-Layout

2010-07-13 Thread JoH asenau
> Ist es nun möglich irgendwie folgendes dort rein zu bringen? Ich
> möchte die bisherige Technik mit TEMPLATE beibehalten und nicht alles
> HTML mit TypoScript schreiben müssen.
> 
> 10 = TEMPLATE
> 10 {
> template = FILE
> template.file = fileadmin/{$cString.tplFolder}/content.html
> workOnSubpart = DOCUMENT
> 
> marks.LNKHOME < lib.linkhome
> ...
> }
> 
> So das dies 5 Mal ausgeführt würde. Irgendwie muss dafür aber
> temporär die Seiten ID 'gesetzt' werden können. Finde keinen Weg.

Ersetze in dem Beispiel 10 = CONTENT durch 10 = TEMPLATE - done!

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german


Re: [TYPO3-german] TYPO3 Onepage-Layout

2010-07-13 Thread Markus Ehrlich
Hatte ich vorhin bereit probiert. Das funktioniert leider nicht, er nimmt
dann 5 Mal die Startseite:

page.20 = HMENU
page.20 {
special = list
special.value = 3,4,5,6,7
1 = TMENU
1.NO {
doNotLinkIt = 1
stdWrap.cObject = COA
stdWrap.cObject {
10 = TEMPLATE
10 {
select.pidInList.field = uid

template = FILE
template.file =
fileadmin/{$cString.tplFolder}/content.html
workOnSubpart = DOCUMENT

marks.LNKHOME < lib.linkhome
marks.LOGOTITLE < lib.logotitle
marks.SLOGAN < lib.slogan
marks.PAGELOGO < lib.pagelogo
marks.MAINMENU < lib.mainmenu
marks.CONTENT < lib.content

#marks.GA < lib.ga
}
}
}
}


> -Ursprüngliche Nachricht-
> Von: typo3-german-boun...@lists.typo3.org [mailto:typo3-german-
> boun...@lists.typo3.org] Im Auftrag von JoH asenau
> Gesendet: Dienstag, 13. Juli 2010 14:19
> An: typo3-german@lists.typo3.org
> Betreff: Re: [TYPO3-german] TYPO3 Onepage-Layout
> 
> > Ist es nun möglich irgendwie folgendes dort rein zu bringen? Ich
> > möchte die bisherige Technik mit TEMPLATE beibehalten und nicht alles
> > HTML mit TypoScript schreiben müssen.
> >
> > 10 = TEMPLATE
> > 10 {
> > template = FILE
> > template.file = fileadmin/{$cString.tplFolder}/content.html
> > workOnSubpart = DOCUMENT
> >
> > marks.LNKHOME < lib.linkhome
> > ...
> > }
> >
> > So das dies 5 Mal ausgeführt würde. Irgendwie muss dafür aber
> > temporär die Seiten ID 'gesetzt' werden können. Finde keinen Weg.
> 
> Ersetze in dem Beispiel 10 = CONTENT durch 10 = TEMPLATE - done!
> 
> HTH
> 
> Joey
> 
> --
> Wenn man keine Ahnung hat: Einfach mal Fresse halten!
> (If you have no clues: simply shut your gob sometimes!)
> Dieter Nuhr, German comedian
> Xing: http://contact.cybercraft.de
> Twitter: http://twitter.com/bunnyfield
> TYPO3 cookbook (2nd edition): http://www.typo3experts.com
> ___
> TYPO3-german mailing list
> TYPO3-german@lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

___
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german


Re: [TYPO3-german] TYPO3 Onepage-Layout

2010-07-13 Thread JoH asenau
> Hatte ich vorhin bereit probiert. Das funktioniert leider nicht, er
> nimmt dann 5 Mal die Startseite:
>
> 10 = TEMPLATE
> 10 {
> select.pidInList.field = uid
> 
> marks.LNKHOME < lib.linkhome
> marks.LOGOTITLE < lib.logotitle
> marks.SLOGAN < lib.slogan
> marks.PAGELOGO < lib.pagelogo
> marks.MAINMENU < lib.mainmenu
> marks.CONTENT < lib.content
> 

So geht das ja auch nicht, weil
a) select.pidInList hier nichts nutzt, da es zu CONTENT gehört
und
b) Du den lib-Kram entsprechend anpassen mußt, damit er sich auf die uid des 
gerade gerenderten Menü-Elements bezieht.

mal als Beispiel (angenommen part 10 der lib.content wäre ein CONTENT Element):

marks.CONTENT < lib.content
marks.CONTENT {
  10.select.pidInList.field = uid
}

Da ich nicht genau weiß, wie Deine libs aufgebaut sind, kann ich den Rest nur 
raten.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german