Hallo - bei mir funktioniert das News - Modul einfach nicht, ich habe die Version 2.2.13 installiert - kann es sein daß die Probleme macht?
Ciao, Michi
Hallo - bei mir funktioniert das News - Modul einfach nicht, ich habe die Version 2.2.13 installiert - kann es sein daß die Probleme macht?
Ciao, Michi
Nein. Eigentlich nicht!
Halte dich einfach an die Doku und alles wird gut.
Und wenn du mehr zu dem "nicht funktionieren" schreibst, dann könnte man eine Ahnung haben, was du meinst.
Gruss
Michael
Hallo Michael,
Ich habe eine Seite Aktuelles gemacht, mit Insert Plugin
Plugin: News
Code: habe ich leer gelassen, aber auch schon LIST LATEST und SINGLE probiert.
Dann habe ich eine News mit Titel Testnews, nicht hidden.
Template:
seite = PAGE
seite {
typeNum = 0
bodyTag = <body bgColor = "#FFFFFF">
stylesheet = fileadmin/defaultstylesheet.css
meta.AUTHOR = Michael Grassberger
meta.DESCRIPTION = Hier steht eine Beschreibung
config.spamProtectEmailAddresses = 2
config.spamProtectEmailAddresses_atSubst = (at)
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/vorlage3.html
10.workOnSubpart = DOKUMENT
10.marks {
TRAILER = IMAGE
TRAILER.file = GIFBUILDER
TRAILER.file {
XY = 559, 86
backColor = #82BC8B
10 = TEXT
10.text.field = subtitle // title
10.fontSize = 60
10.fontFile = fileadmin/arialbi.ttf
10.fontColor = #96CC9F
10.niceText = 1
10.offset = 10, 75
20 = TEXT
20.text.field = subtitle // title
20.fontSize = 36
20.fontFile = fileadmin/arialb.ttf
20.fontColor = #E2F5E5
20.niceText = 1
20.offset = 40, 68
}
MENU_OBEN = HMENU
MENU_OBEN.special = directory
MENU_OBEN.special.value = 4
MENU_OBEN.1 = TMENU
MENU_OBEN.1.NO = 1
MENU_OBEN.1.NO.ATagParams = class="link"
MENU_OBEN.1.NO.linkWrap = |*| |*| |*| |*|
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 = 140, 30
backColor = #A2B7DF
10 = TEXT
10.text.field = title
10.fontColor = #000000
10.fontFile = fileadmin/arialb.ttf
10.fontSize = 14
10.niceText = 1
10.offset = 7, 19
20 = IMAGE
20.file = GIFBUILDER
20.file {
XY = 140,1
backColor = #FFFFFF
}
20.offset = 0, 29
}
MENU_LINKS.1.RO < .MENU_LINKS.1.NO
MENU_LINKS.1.RO.backColor = #C9D6ED
MENU_LINKS.1.CUR < .MENU_LINKS.1.RO
MENU_LINKS.2 < .MENU_LINKS.1
MENU_LINKS.2 {
NO.backColor =#FFCC66
NO.10.fontColor = #000000
NO.20.file.backColor = #FFFFFF
RO < .NO
RO.backColor = #F4E7BB
RO.5 >
CUR < .RO
}
MENU_LINKS.3 < .MENU_LINKS.2
MENU_LINKS.3 {
NO.backColor =#C5C5C5
NO.10.fontColor = #000000
NO.20.file.backColor = #FFFFFF
RO < .NO
RO.backColor = #E0E0E0
RO.5 >
CUR < .RO
}
CONTENT = CONTENT
CONTENT {
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
}
}
key.field = header_layout
1 = TEXT
1.field = header
1.wrap = <font face="Arial" size="2"><b> | </b></font><br>
2 = IMAGE
2.file = GIFBUILDER
2.file {
XY = [10.w]+10, 28
backColor = white
10 = TEXT
10.text.field = header
10.fontColor = #478951
10.fontFile = fileadmin/fonts/arialb.ttf
10.fontSize = 16
10.offset = 1, 22
10.niceText = 1
}
2.wrap = |<br>
default < .1
}
tmp_tt_content_text < tt_content.text
tt_content.text >
tt_content.text = COA
tt_content.text.10 < lib.stdheader
tt_content.text.20 = TEXT
tt_content.text.20 {
field = bodytext
fieldRequired = bodytext
wrap = <font face="Arial" size="2">|</font><br>
parseFunc < tmp_tt_content_text.20.parseFunc
editIcons < tmp_tt_content_text.20.editIcons
}
Ich habe das meite von DEM Tutorial - habe aber schon einigermassen herumgemurgst.
Wäre nett, wenn du mir helfen könntest. Den Header "Neuigkeiten" zeigt es mir an, dann ist Sense.
Ciao, Michi
[/img]
Also, wenn du ein Code-Feld hast, dann würde ich schleunigst auf die neueste tt_news-Version updaten (irgendwas größer 2) und dann schau dir die Doku zu tt_news an.
Da steht alles Schritt für Schritt drin.
Und nicht vergessen, den GeneralStorageFolder und so angeben. Halt dich einfach an die tt_news-Doku und alles wird gut.
Gruss
Michael
P.S.: Ein kleiner Hinweis am Rande: tt_news ist meiner Meinung nach, keine Extensions, die man mal einfach so installiert... die ist ziemlich umfangreich.