Einzelnen Beitrag anzeigen
  #1  
Alt 19.04.07, 15:09
bjs1977 bjs1977 ist offline
Forum Stammgast
 
Registriert seit: 12.02.06
Alter: 31
Beiträge: 193

Advanced Macina Bannerwird nicht angezeigt


Hallo zusammen!

Habe auf einer Seite den macina_banner installiert, und habe alles anhand der Doc erledigt.

Füge ich den banner per Plugin ein, so wird dieser im Contentbereich angezeigt. Aber fürge ich das System direkt ins Template ein, so wird er nicht angezeigt.

Ich habe mich überall durchgewühlt und nichts hat geklappt. Ich hoffe hier hat jemand eine Idee, sonst muss ich es wieder per phpAdnew extern machen.

Hier Varianten, die ich ausprobiert habe:

Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
subparts.bannertop < plugin.tx_macinabanners_pi1
subparts.bannertop {
  # show banners with this attribute. Options are: top, left, bottom, right
placement = top

  #mode to show banners. Options are: all, random
mode = random

  # list of page IDs where the banners should be taken from (comma seperated. i.e.: 1,5,7)
pidList = 189,91

  # levels of recursion to search for banners
recursive = 0

  # Limit number of banners
results_at_a_time = 3
}

Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
temp.bannertop < plugin.tx_macinabanners_pi1
temp.bannertop {
  # show banners with this attribute. Options are: top, left, bottom, right
placement = top

  #mode to show banners. Options are: all, random
mode = random

  # list of page IDs where the banners should be taken from (comma seperated. i.e.: 1,5,7)
pidList = 189,91

  # levels of recursion to search for banners
recursive = 0

  # Limit number of banners
results_at_a_time = 3
}

subparts.bannertop < temp.bannertop

Im Template habe ich es per id="bannertop" eingefügt.

Aber nicht wird angezeigt. Wo ist mein Fehler? Die pidList ist der Sys-Folder "Banner" und hat die ID = 189. Also müsste ja alles korrekt sein. Zudem habe ich alle vier Spalten per content für texte vergeben.

Typoscript-Code:
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:
# Substitute the ###content### subpart with some example content:
  #subparts.contentArea < styles.content.get
subparts.contentArea = COA
subparts.contentArea {
10 = CONTENT
10 < styles.content.get - ERROR: Line 5: Object copied in this line "10 < styles.content.get" would leave either the value or properties untouched in TypoScript Version 1. Please check that this is not a problem for you.
15 =TEXT
15.value = <table cellspacing="0" cellpadding="5" border="0" width="100%"><tr><td align="right" valign="middle">
20 < temp.PRINT2
25 =TEXT
25.value = </td></tr></table>

}

#  subparts.contentRight < styles.content.getRight
subparts.contentRight = COA
subparts.contentRight {
10 < temp.contentRight
20 = HTML

30 =CONTENT
30 < styles.content.getRight - ERROR: Line 21: Object copied in this line "30 < styles.content.getRight" would leave either the value or properties untouched in TypoScript Version 1. Please check that this is not a problem for you.
}

#  subparts.contentLeft < styles.content.getLeft
subparts.contentLeft = COA
subparts.contentLeft {
10 < temp.contentLeft
20 = HTML

30 =CONTENT
30 < styles.content.getLeft - ERROR: Line 31: Object copied in this line "30 < styles.content.getLeft" would leave either the value or properties untouched in TypoScript Version 1. Please check that this is not a problem for you.
}

#  subparts.contentBorder < styles.content.getBorder
subparts.contentBorder = COA
subparts.contentBorder {
10 < temp.contentBorder
20 = HTML

30 =CONTENT
30 < styles.content.getBorder - ERROR: Line 41: Object copied in this line "30 < styles.content.getBorder" would leave either the value or properties untouched in TypoScript Version 1. Please check that this is not a problem for you.
}

Liegt es etwa daran? Gibt es ein Maximum, was man an subparts vergeben kann?

Hoffe jemand kann mir helfen!

Grüße
Björn

Geändert von bjs1977 (19.04.07 um 16:07 Uhr). Grund: Habe ausversehen im Template ein Buchstabe (bei mir ein "K") eingefügt und schwups wurde der banner angezeigt! Warum auch immer. :-)
Mit Zitat antworten