hallo leute,
wie bringt man eigentlich mehrere Frontend-Extentions im setup unter?
Besser gesagt ich hab dieses "css styled content" installiert und alles funktioniert prima, nur nun möchte ich eine weitere extention hinzufügen.
Ich weiß nicht wie das geht???
Das grundsätzliche setup ohne menü sieht so aus:
# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = fileadmin/index.html
# Here we define which elements in the HTML that
# should be wrapped in subpart-comments:
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
TD.all = 1
}
# Prefix all relative paths with this value:
relPathPrefix = fileadmin/
}
# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <body>-tags
workOnSubpart = DOCUMENT_BODY
# Substitute the ###content### subpart with some example content:
#subparts.content = TEXT
#subparts.content.value = HELLO WORLD - CONTENT
subparts.content < styles.content.get
#subparts.CONTENT_RIGHT = TEXT
#subparts.CONTENT_RIGHT.value = HELLO WORLD - CONTENT
subparts.CONTENT_RIGHT< styles.content.getRight
}
# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <head>-tags
workOnSubpart = DOCUMENT_HEADER
}
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.stylesheet = fileadmin/_lib/styles.css
# Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate
# Copying the content from TEMPLATE for <head>-section:
page.headerData.10 < temp.headTemplate
nun die schwierige frage: Wie bekomme ich nun das aus dem Manual da rein??
plugin.tx_imgswopper4x4_pi1 {
# templates are to be located in the extension folder:
templatefilename=fileadmin/index.html
# folder containing the images for hotspots & swop-images:
imgPath= fileadmin/swop-images/
# code to be rendered into empty hotspot-cells:
emptySpotCode= <img src="fileadmin/swop-images/blank.gif" width="54" height="54" border="0" alt="" />
}
Wäre toll wenn das jemand wüßte