Zum Inhalt springen

css_styled_content

Erstellt am 26. Mai 2006 · 13 Antworten · letzte Antwort am 26. Mai 2006

Tags: Frage

test.​Mueller4 ·

Also man kann ja Contentinhalte für verschidene Bereiche anlegen wie z.b. Normal,Rechts,Rand und mit dem Rand möchte ich den Marker ansprechen.

RECHTS = styles.content.get
RECHTS{
       table = tt_content
       select.where = colPos = 3

Ich glaub aber das dieser Codeschnipsel totaler Schmarn ist!
War nur ein Versuch von mir!

theo ·
...
LINKS = styles.content.getLeft
MITTE = styles.content.get
RECHTS = styles.content.getRight
RAND = styles.content.getBorder
...
markus_web ·

Hallo!

Bin immer noch test.mueller4 hab nur ne nuen Accond.

Also wie kann ich das jetzt einstellen ich habe jetzt im Tamplat folgendes Stehen:

 RECHTS = styles.content.getBorder

Aber obwohl ich eine Datensatz angelget habe ersheint kein Text!
Und wie Könnte ich es machen das er nur Den inhalt von der pageid 102 ausgibt?

theo ·
markus_web schrieb

Aber obwohl ich eine Datensatz angelget habe ersheint kein Text!

Meinen Beispielcode richtig abschreiben mußt Du schon alleine... 😉

markus_web ·

Also ich habe jetzt das so drin:

 RECHTS = styles.content.getRight

Aber es geht trotzdem nicht!

Was mache ich falsch? #angry#

theo ·

Poste mal bitte Dein komplettes Typoscript. Da muß drumherum irgendwas falsch sein.

btw.: Du hast den besagten Datensatz auch in der Spalte RECHTS angelegt?

P.S.: Wieso setzt Du denn den Thread auf "gelöst", wenn es immer noch nicht funktioniert??

markus_web ·
# Default PAGE object:
page = PAGE


page {
           typeNum = 0
           bodyTag = <body bgColor = "#FFCC66">
           stylesheet = fileadmin/style.css
           meta.AUTHOR = Markus Müller
           meta.DESCRIPTION = Beschreibung
            



           10 = TEMPLATE
           10.template = FILE
           10.template.file = fileadmin/vorlage_02.htm
           10.workOnSubpart = DOKUMENT
           10.marks {
                              TRAILER = IMAGE
                              TRAILER.file = GIFBUILDER
                              TRAILER.file {

                            
                                              XY = 830, 125
                                              backColor = #FFF00
                                                  
                                              10 = TEXT
                                              10.text.field = subtitle // title
                                              10.fontSize = 100
                                              10.fontFile = ../comic.ttf
                                              10.fontColor = #FF9900
                                              10.niceText = 1
                                              10.offset = 160, 95
                                                                                  }

                                  

                                                 
                               MENU_OBEN = HMENU
                               MENU_OBEN.special = directory
                               MENU_OBEN.special.value = 4
                               MENU_OBEN.1 =TMENU
                               MENU_OBEN.1.NO = 1
                               MENU_OBEN.1.ATagParams = class="linkWeiss"
                               MENU_OBEN.1.NO.linkWrap = &nbsp;|&nbsp;&#124; |*|
                                                 &nbsp;|&nbsp;&#124; |*| &nbsp;|

                                   MENU_LINKS = HMENU
                                   MENU_LINKS.special = directory
                                   MENU_LINKS.special.value = 3
                                   MENU_LINKS.entryLevel = 1
                                   MENU_LINKS.1 = GMENU
                                   MENU_LINKS.1.NO = 1
                                   MENU_LINKS.1.NO {
                                                    wrap = | <br>
                                                    XY =146, 30
                                                    backColor = #FFFF00

                                10 =TEXT
                                10.text.field = title
                                10.frontColor = #FFFFFF
                                10.frontFile = fileadmin/fronts/comic_02.ttf
                                10.frontSize = 12
                                10.niceText = 0
                                10.offset = 7, 21


                                 20 = IMAGE
                                 20.file = GIFBUILDER
                                 20.file {
                                          xy =146, 1
                                          backColor = #FFFFFF
                                                                              }
                                 20.offset =0, 29
                                                                }
                      MENU_LINKS.1.RO < .MENU_LINKS.1.NO
                      MENU_LINKS.1.RO {
                                       tmp < .backColor
                                       backColor = #FFCC33
                                       5 < .10
                                       5.frontColor < .tmp
                                       5.offset = 70, 29
                                                                                            }
             MENU_LINKS.2 <.MENU_LINKS.1
             MENU_LINKS.2 {
                           NO.backColor = #FFFF33
                           NO.10.frontColor = #FFCC33
                           NO.20.file.backColor = #FFFFFF
                           RO < .NO
                           RO.backColor = #FFCC33
                           RO.5 >
                           CUR < .RO

                                                               

                                                                                        }
                        CONTENT < styles.content.get
                        CONTENT { 
                                                                                 }     

             RECHTS = styles.content.getRight

                                                                    
                                                                            }
                                                               
                  

                              }
      }
theo ·
theo schrieb

Meinen Beispielcode richtig abschreiben mußt Du schon alleine... 😉

Ooops! :o :o :o

Wer anderen eine Grube gräbt...

Ersetze in meinem Beispielcode (bitte heimlich) alle = durch < 😉

Außerdem kannst Du die Zeile

CONTENT { }

ersatzlos streichen.

markus_web ·

Ok jetzt geht es!
So und wie kann ich es machen dass dieser Seiteninhalt auf allen Seiten in der Rechtenspalte steht?

theo ·
markus_web schrieb

Ok jetzt geht es!

Bitte schön, keine Ursache.

markus_web schrieb

So und wie kann ich es machen dass dieser Seiteninhalt auf allen Seiten in der Rechtenspalte steht?

Indem Du die Forumsuche benutzt (So eine Antwort gips nur, wenn die Frage schon mindestens 1 Million mal gestellt wurde... 😉 )