Zum Inhalt springen

wie muss die syntax aussehn?

Erstellt am 1. Dezember 2004 · 3 Antworten · letzte Antwort am 1. Dezember 2004

Tags: HTML & CSS, Frage

wozki ·

Hi,

wenn ich bei templates auf den CSS Styler geh steht da dass kein Stylesheet definiert wurde.

1) either manually set up stylesheets by configuring this in the 'Backend Editor Configuration' field

wie muss nun die Syntax in diesem feld aussehn?

stylesheet = fileadmin/style.css

is nich richtig 😉

Wie isses richtig?

MfG wozki

johanness ·

Mit TS ein Stylesheet einfügen kannst du so:

seite = PAGE
seite {
  typeNum = 0
  stylesheet = fileadmin/static/style.css
  meta.AUTHOR = www.foto-scherg.de.tf

  10 = TEMPLATE
  10.template = FILE
  10.template.file = fileadmin/static/template.html
  10.workOnSubpart = DOCUMENT
  10.marks {
      //...
  }
}
Hirsch ·

Hi wozki,

1. Du mußt ein Stylesheet in den fileadmin Ordner hochladen.

2. Du mußt es im Setup deines Templates einbinden.

Das sieht dann etwa so aus:

# Default PAGE object:
deinSeitenName = PAGE
deinSeitenName.typeNum = 0
deinSeitenName.stylesheet= fileadmin/deinPfadZumStylesheet/xxx.css

Das sollte es gewesen sein.

Gruß

Knut

wozki ·

hi

wie ich´s im script einbinde weis ich ja.

No stylecollections
The stylesheet editor needs to know about one or more stylesheet(s) to edit. None is found at this point.
You can...
1) either manually set up stylesheets by configuring this in the 'Backend Editor Configuration' field (advanced, see documentation) or
2) set stylesheet filenames for your PAGE objects in the TypoScript templates and they will automatically be detected and editable (recommended!)

jetzt einfach mal die 2. Möglichkeit weg lassen ...
Wie genau funktioniert das mit der 'Backend Editor Configuration' ?