Danke für die Antwort..
Weisst du, ich habe eine Page, in der ich auf der rechten Seite gerne die 2-3 neuesten News und die 2-3 kommenden Events reingepflastert.. Leider mit wenig Erfolg(eben ausser dass z.B. der Calendar oder die News in jenen Boxen direkt geöffnet werden, per marks).
Hätte gerne sowas gehabt http://testcenter.hachmeister.org/index.php?id=185 - aber ich erreiche niemanden, den ich anschreibe. Ist zum verzweifeln. In meinem laufenden Projekt habe ich leider keine Zeit, mich auch noch in Frames einzuarbeiten.
Wie gesagt, trotzdem danke.
Greez Toyde
jwitt schrieb
Zum Stylesheet:
Erst das default im Setup raus
plugin.tx_jwcalendar_pi1._CSS_DEFAULT_STYLE >
Dann deins mit
page.headerData.20 = TEXT
page.headerData.20.value = <link href="fileadmin/calendar/jw_calendar.css" rel="stylesheet"media="screen" />
Hallo nochmals. Ich habe eine Idee, wie ich mein Problem ganz anders lösen kann. Bei Erfolg werde ich es posten.
Jedoch:
Das geht bei mir nicht
plugin.tx_jwcalendar_pi1._CSS_DEFAULT_STYLE >
im HTML-Quelltext steht das unten Zitierte. Der Header wird trotz obiger Syntax defaultmässig mit der Standard-CSS gefüllt:
/*<![CDATA[*/
<!--
/* default styles for extension "tx_jwcalendar_pi1" */
div.tx-jwcalendar-pi1{ font-family: Verdana; font-size: 11px; text-align: center; color:#193A72;}div.tx-jwcalendar-pi1 img{ border:0;}div.tx-jwcalendar-pi1 a, div.tx-jwcalendar-pi1 table a{ /* text-decoration:none;*/ text-decoration:none; color: #692287;}div.tx-jwcalendar-pi1 a:hover,div.tx-jwcalendar-pi1 table a:hover{ color: red;}div.tx-jwcalendar-pi1 input{ clear:both; background: #FBE29F; border-top:2px #FCF6E5 solid; border-left:2px #FCF6E5 solid; border-right:2px #FECC3C solid; border-bottom:2px #FECC3C solid; text-align:center; margin:10px; padding: 3px 14px; } div.tx-jwcalendar-pi1 .tx_jw_input_text{ width:260px; border:1px #FECC3C solid; padding:3px; height:20px;}div.tx-jwcalendar-pi1 .tx_jw_select{ font-size:11px; border:0px;}div.tx-jwcalendar-pi1 .tx_jw_textarea{ font-size:12px; height:120px; width:260px; padding:3px; border:1px #FECC3C solid;}div.tx-jwcalendar-pi1 .tx_jw_input_button{ font-size:12px; background: #FBE29F; text-align:center; margin:4px 10px; padding:2px 4px;}div.jwcalendar_list{ width:100%; background-color:#FDF2D2; font-family: Verdana; font-size: 12px; color:#193A72; border: 1px #FFC725 solid; margin:10px 0;}div.jwcalendar_list .title{ font-size: 14px; font-weight: bold; color:#193A72; padding:8px 5px;}div.jwcalendar_list .prev_items{ float:left; font-size: 11px; font-weight: bold; text-align:left; color:#193A72; padding:8px 0 0 16px;}div.jwcalendar_list .next_items{ float:right; font-size: 11px; font-weight: bold; text-align:right; color:#193A72; padding:8px 16px 0 0;}div.jwcalendar_list .next_items{}div.jwcalendar_list .itemslist{ padding:0 10px;}div.jwcalendar_list table.items{ width:100%; font-family: Verdana; font-size: 11px; text-align:left; line-height:1.4em; empty-cells:show; border-collapse:separate; border-collapse:collapse; border-spacing:0; border: 1px #FFC725 solid;}div.jwcalendar_list table.items td.label{ background:#FCECC0; width:33%; vertical-align:top; border: 1px #FFC725 dotted; padding:5px;}div.jwcalendar_list table.items td.item{ background:#FBE29F; width:67%; border: 1px #FFC725 dotted; vertical-align:top; padding:5px;}div.jwcalendar_list table.items p{ font-size: 11px; padding:0;}div.jwcalendar_list table.items p{ font-size: 11px; padding:0;}div.jwcalendar_list .submit{ clear:both; font-size: 11px; padding:0;}div.jwcalendar_month{ width:100%; background-color:#FDF2D2; font-family: Verdana; font-size: 12px; color:#193A72; border: 1px #FFC725 solid; margin:10px 0;}div.jwcalendar_month .title{ clear:both; text-align: center; font-size: 14px; font-weight:bold; color: #333; padding:5px 0;}div.jwcalendar_month .navi, div.jwcalendar_month .days_view{ padding:0 10px;}div.jwcalendar_month table.navs{ width:100%;}div.jwcalendar_month table.months, div.jwcalendar_month table.year{ width:100%; font-family: Verdana; font-size: 11px; font-weight:bold; text-align:center; empty-cells:show; border-collapse:separate; border-spacing:10px;}div.jwcalendar_month table.year { font-size: 12px; border-spacing:5px;}div.jwcalendar_month table.months td, div.jwcalendar_month table.year td{}div.jwcalendar_month table.months td.other_month, div.jwcalendar_month table.year td.last_year, div.jwcalendar_month table.year td.next_year{ background: #FBE29F; border-top:2px #FCF6E5 solid; border-left:2px #FCF6E5 solid; border-right:2px #FECC3C solid; border-bottom:2px #FECC3C solid; padding:15px 5px;}div.jwcalendar_month table.months td.other_month{ padding:5px;}div.jwcalendar_month table.months td.current_month{ background: #FBE29F; border-right:2px #FCF6E5 solid; border-bottom:2px #FCF6E5 solid; border-top:2px #FECC3C solid; border-left:2px #FECC3C solid; padding:5px;}div.jwcalendar_month table.days{ font-family: Verdana; font-size: 11px; width:100%; line-height:1.4em; border-collapse:collapse; empty-cells:show; border-spacing:0; border:1px solid #FFC725; padding:0;}div.jwcalendar_month table.days a{ text-decoration:none;}div.jwcalendar_month table.days td{ vertical-align:top; border:dotted 1px #FFC725; padding:4px;}div.jwcalendar_month table.days td.week{ background:#FBE29F; font-weight:bold;}div.jwcalendar_month table.days td.dayname{ background:#FBE29F; font-weight:bold; text-align:center;}div.jwcalendar_month table.days,div.jwcalendar_month table.days td.inside,div.jwcalendar_month table.days td.today,div.jwcalendar_month table.days td.inside_weekend,div.jwcalendar_month table.days td.today_weekend,div.jwcalendar_month table.days td.outside_weekend{ font-weight:bold;}div.jwcalendar_month table.days a,div.jwcalendar_month table.days td.inside a,div.jwcalendar_month table.days td.today_inside a,div.jwcalendar_month table.days td.inside_weekend a,div.jwcalendar_month table.days td.today_weekend a,div.jwcalendar_month table.days td.outside_weekend a{ font-weight:bold; color:blue;}div.jwcalendar_month table.days td.today{ background: #F9F4E7; border:solid 2px #CD9705; border:solid 1px #AD1602;}div.jwcalendar_month table.days td.outside_weekend,div.jwcalendar_month table.days td.outside{ background:#EAEAEB; border:dotted 1px #F9DF94;}div.jwcalendar_month table.days td.inside_weekend{ background:#FCECC0;}div.jwcalendar_month table.singleday,div.jwcalendar_month table.singleday td,div.jwcalendar_month table.singleday td a,div.jwcalendar_month table.singleday a{ font-weight:bold; font-family: Verdana; font-size: 11px; width:100%; line-height:1.0em; border-collapse:collapse; empty-cells:show; border-spacing:0px; border:0px solid #ddd; padding:0px; margin:0 0 2px 0;}div.jwcalendar_month table.singleday{ background: #eee; border:1px dotted #ddd;}div.jwcalendar_month table.singleday td{ border:0px solid #ddd; padding:3px 0;}div.jwcalendar_month table.dayitem,div.jwcalendar_month table.dayitem a{ font-weight:normal; font-family: Verdana; font-size: 11px; width:100%; line-height:1.0em; border-collapse:collapse; empty-cells:show; border-spacing:0px; border:1px solid #ddd; padding:0px; margin:1px 0;}div.jwcalendar_month table.dayitem td.item,div.jwcalendar_month table.dayitem td.item a{ color:#333; text-decoration:none; font-weight:normal; border:0;}div.jwcalendar_month table.dayitem td.itemcat,div.jwcalendar_month table.dayitem td.itemcat a{ font-weight:normal; color:#333; text-decoration:none; font-size: 8px; padding:0px; Cursor:help; width:2px; border:0;}div.jwcalendar_single{ background-color:#FDF2D2; border: 1px #FFC725 solid; padding:10px 10px;}div.jwcalendar_single .content,div.jwcalendar_single .header,div.jwcalendar_single .org{ width:100%; clear:both;}div.jwcalendar_single .contentie,div.jwcalendar_single .headerie,div.jwcalendar_single .orgie{ float:left; width:100%; text-align:left; border-left: 1px #FFC725 dotted; border-right: 1px #FFC725 dotted; border-bottom: 1px #FFC725 dotted; background:#FCECC0;}div.jwcalendar_single .headerie{ border-top: 1px #FFC725 dotted;}div.jwcalendar_single .contentie{ background:#FBE29F;}div.jwcalendar_single .title,div.jwcalendar_single .category{ float:left; font-size: 14px; text-align:left; font-weight:bold; padding:4px 8px 8px 8px;}div.jwcalendar_single .category{ float:none; font-size: 12px; font-weight:normal; padding:6px 8px 8px 8px;}div.jwcalendar_single .images{ float:left; padding:10px 8px; margin:0px;}div.jwcalendar_single .itemtext{ margin:8px; }div.jwcalendar_single .itemtitle p:first-letter{ font-size: 15px; font-weight:bold; color:red;}div.jwcalendar_single .itemtitle p:first-line{ font-size: 13px; font-weight:bold; line-height:1.2em;}div.jwcalendar_single .teaser{ font-weight:bold; font-style:italic; line-height:1.8em;}div.jwcalendar_single .desc{ font-size: 11px;}div.jwcalendar_single .itemlink{ line-height:1.8em;}div.jwcalendar_single .label, div.jwcalendar_feEntry .label,div.jwcalendar_feEntry .timelabel{ clear:both; float:left; text-align:right; font-weight:bold; width:33%; padding:4px 8px;}div.jwcalendar_single .item, div.jwcalendar_feEntry .item{ text-align:left; padding:4px 4px 4px 32%;}div.jwcalendar_feEntry{ background-color:#FDF2D2; border: 1px #FFC725 solid; padding:8px;}div.jwcalendar_feEntry .label,div.jwcalendar_feEntry .timelabel{ vertical-align:bottom; line-height:1.6em; padding:8px 8px; width:32%;} div.jwcalendar_feEntry .timelabel{ width:20%;} div.jwcalendar_feEntry .title{ font-size:14px; font-weight:bold; color:blue: text-align:left; line-height:1,0em; padding:0px 8px;}div.jwcalendar_feEntry .title p:first-letter{ font-size:20px; }div.jwcalendar_feEntry .item{ text-align:left; padding:8px 8px;}div.jwcalendar_feEntry .fileitem{ text-align:left; padding:8px 8px; width:30px;}div.jwcalendar_feEntry input{ clear:none; background: white; border-top:2px #FCF6E5 solid; border-left:2px #FCF6E5 solid; border-right:2px #FECC3C solid; border-bottom:2px #FECC3C solid; text-align:left; font-size:12px; margin:0; padding: 0; } div.jwcalendar_feEntry .error ul li{ list-style:circle inline; text-align:left; font-size:12px; color:red; margin:4px 40px;}div.jwcalendar_feEntry .error ul li:first-letter{ font-size:16px; font-weight:bold;}div.jwcalendar_confirm .error{ font-size:12px; color:red; margin:10px;}div.jwcalendar_confirm .conftext{ font-size:14px; margin:10px;}
-->
/*]]>*/
Hm, ne Idee?
Danach kommt im HTML-Head:
<link rel="stylesheet" type="text/css" href="fileadmin/folder/file.css" />
<link rel="stylesheet" type="text/css" href="fileadmin/sasuro/jw_calendar/jw_calendar.css" />
Das ist nicht das Problem.
Hallo Toyde
plugin.tx_jwcalendar_pi1._CSS_DEFAULT_STYLE >
Das gehört ins Template-Setup deiner Seite.
Dann muss es gehen.
Für dein statisches Problem habe ich eine Lösung.
Hab gerade eine um 3 Zeilen erweiterte Version ins Repository geladen. Lade diese runter. Erstelle 2 Plugins in einem Sysfolder oder einer Seite die nicht im Menu auftaucht. Dann konfiguriere sie Eins für die Liste, eins für die Einzelansicht. Verweise von der Listen auf die Einzelansicht im Reiter Einzelansicht->"Einzelansicht Plugin Uid".
Dann folgendes in dein Setup.
marks.JWCALENDAR < plugin.tx_jwcalendar_pi1
marks.JWCALENDAR{
static_uid = xx
}
marks.JWCALENDARSINGLE < plugin.tx_jwcalendar_pi1
marks.JWCALENDARSINGLE{
static_uid = yy
}
wo xxx die UID des Plugins für LIST und yy für SINGLE sein soll (nicht des Sysfolders!)
Das ganze ist ncht im Detail durchgetestet. Sollte aber einwandfrei funktionieren.
Gruß
Jens
Hallo Jens!
Danke im Voraus und im Nachhinein für die Mühe🙂
Das habe ich im Setup vom TS-MainTemplate:
plugin.tx_jwcalendar_pi1._CSS_DEFAULT_STYLE >
Wie gesagt stehen die CSS-Configs im Header des HTML-Quelltext bei Ausgabe. Also denke ich, dass bei mir die TS-Zeile nicht greift!
Wobei, Folgendes kommt direkt danach im HTML-Quelltext:
<link rel="stylesheet" type="text/css" href="fileadmin/sasuro/sasuro.css" />
<link rel="stylesheet" type="text/css" href="fileadmin/sasuro/jw_calendar/jw_calendar.css" />
Kann es sein, dass die Riesendefinition vom CSS (siehe mein Post davor) ohnehin steht? Aber mit "plugin.tx_jwcalendar_pi1._CSS_DEFAULT_STYLE >" sollted der Riesen-CSS-Block doch verschwinden?
Mein TS-MainTemplate im Setup:
##JW_CALENDAR
#Pfad für CSS für jwCalendar löschen
plugin.tx_jwcalendar_pi1._CSS_DEFAULT_STYLE >
subparts.TPL_JWCALENDAR = RECORDS
subparts.TPL_JWCALENDAR {
tables = tt_content
##source muss Content-Container-ID von Event-Uebersicht-Page sein
source = {$jwcalendar_var}
##Bei verschachtelten Pages ist dontCheckPid = 1 nötig
dontCheckPid = 1
}
Habe plugin.tx_jw... auch in den Constants, aber beides wirft immer denselben HTML-<Head>. Kommt bei dir die Definition, mit diesem(Zitat mein letzter Post)?:
*<![CDATA[*/
<!--
/* default styles for extension "tx_jwcalendar_pi1" */
div.tx-jwcalendar-pi1{ font-family: Verdana; font-size: 11px; text-align: center; color:#193A72;}div.tx-jwcalendar...
Noch zu deiner zweiten Bemerkung:
marks.JWCALENDAR < plugin.tx_jwcalendar_pi1
marks.JWCALENDAR{
static_uid = xx
}
marks.JWCALENDARSINGLE < plugin.tx_jwcalendar_pi1
marks.JWCALENDARSINGLE{
static_uid = yy
}
Das sind zwei Marker, ich habe bisher einen Subpart mit ###TPL_JWCALENDAR### benutzt. Muss ich für deinen Single-Marker ein neues HTML-Template machen, in welchem dann der Single-Marker steht? Kann mir das bildlich noch nicht vorstellen.
Habe mein Problem mit dem CSS getestet:
Die vielen CSS-Definitionen im <Head>-Bereich vom ausgegebenen HTML stehen jetzt halt dort, aber mit meiner Zuweisung im Setup, dass ich per
page.headerData.20 = TEXT
page.headerData.20.value = <link rel="stylesheet" type="text/css" href="fileadmin/sasuro/jw_calendar/jw_calendar.css" />
mitgebe hat das "letzte Wort". Habe im "fileadmin/jw_calendar/jw_calendar.css" mal Einiges weiss gemacht, und auf der Homepage erscheint es auch weiss, geht also.
Greez Toyde
P.S.: Habe deine Config-Tipps gemacht, aber es ist dasselbe: LIST-View wird auch Single-View.
Hi.
Ich möchte gerne ein paar Felder in den jw_Calendar View und Single-Ansichten ändern, die im jw_calendar.tmpl eingespiesen werden.
Z.B.
###readMore###
###Prev_Events###
###Next_Events###
Kann mir jemand schreiben, wo diese marker hart konfiguriert sind? Welches php-File? Ich würde auch eine Lösung über TypoScript akzeptieren, doch auch dort wüsste ich nicht ganz wie man die "Überschriften" solcher Felder modifiziert.
Greez Toyde
Ausserdem:
@Jens, ich bringe per CSS und HTML einfach die Abstände nicht kleiner, beispielsweise in der LIST-View, die ich ja auf ein kleines Feld minimieren möchte.
Hallo Toyde
Anpassen kannst du "Prev_Event" usw. in der Datei
EXT: jw_calendar/pi/locallang.php. Das gilt auch für andere Extensions. Immer nach locallang*.php schauen.
Unter http://oeh.boku.ac.at/neu/ gibts ein schönes Beispiel mit sehr kleinem Kalender.(List und Monatsansicht)
Jens
Hallo!
Ja, danke! Hatte die locallang.php auch gefunden (habe einfach in den php-Files nach "prev" gesucht #giggle# )
Zu der geposteten Page:
Wirklich gute, funktionale Page!! Der Kalender ist auch gut gelöst, da er in den Border rechts wirklich gut passt. Nächstes Mal plane ich mir auch zuerst die Plugins, und dann das Design;P - ist von Dir, oder?
Noch zur Formatierung: Ich weiss nicht, ob ich was übersehe, aber meine Formatierung des jw-Calendars ist sehr harzig. Ich passe das .tmpl-File und auch das .css-File ja an, aber nicht wirklich Alles kann ich so anpassen, wie ich es haben will (v.A. die Borders und Abstände). V.A. meine sehr kleine LIST-View hat viele Abstände.
Ich gehe dann also mal wieder den SourceCode durchsuchen und hoffe, dass ich heute noch fertig werde.
Greez Toyde
Hallo Toyde
Um ein Plugin anzupassen, kann alles im Template geändert oder gelöscht werden Selbst Marker können entfernt werden wenn sie nicht gebraucht werden.
Die erwähnte Seite ist nicht von mir. Aber ich find auch, das es gut gelöst wurde.
Sie zeigt aber auch ein Problem das in Verbindung mit den News in der Einzelansicht (der news) auftritt und daran liegt das beide Extensions GET Parameter übergeben und bei Benutzung der einen die GET Parameter der anderen Extension nicht weitergereicht werden.
Gruß
Jens
Ja, das mit dem GET musste ich auch anders lösen.
Wenn ich das funktionierende Beispiel habe, dann poste ich es hier rein.
Ich komme meiner Vorstellung immer näher. Den Abstand, den ich per CSS nicht heraus bekommen hatte war dieser hier im jw_calendar.tmpl:
<div class="submit"> </div>
Für was soll diese Klasse eigentlich gut sein?
Nun muss ich nur noch für die LIST-View irgendwie die beiden die Höhe der Zellen mit dem "mehr.."-Link und dem Datum/Titel nur noch kleiner bekommen.
Greez Toyde
Ja, die dient bei mir dazu einen kleinen Rand am Ende der Liste zu haben wenn kein Eintragsbutton da ist. Kannste natürlich entfernen.
Jens
Es hört wohl nie auf 🙁 :
Habe zwei Links in der LIST-View, nämlich "vor" und "zurück". Komischerweise kann ich mit "vor" immer weiter blättern (ist ja auch der Sinn), doch zurück kann ich nur einmal.
Beispiel:
Ich kann 5 mal "vor" drücken, und komme dann am Ende des "Indexes" an. Drücke ich aber z.B. 3 mal "vor" und dann "zurück", dann komme ich zwar bei 2 an, doch mein "zurück"-Link verschwindet.
Also, 2 mal zurück geht nicht.
Kennt ihr das?
Greez Toyde
P.S.: Wie komme ich in der Single-View anstatt "04:53 pm" auf "16:53"?
Hallo Toyde
Das Problem kenne ich. Lösche einfach manuell den Typo3 Cache und aktualisiere deine Seite. Werden die Daten des Kalenders erweitert, wird von Typo3 der Cache der Seite gelöscht in der sich die Daten/Einträge befinden. Ist nun das Kalender Plugin auf einer anderen Seite gibts Probleme da auf dieser Seite der Cache nicht gelöscht wird. Daher vermute ich, das dein Problem mit dem caching zusammenhängt.
Grundlegend empfehle ich die Daten daher auf der Kalenderseite zu halten.
Alle möglichen Zeitanpassungen findest du hier
http://de3.php.net/manual/de/function.strftime.php
16:53 demnach %H:%M
Gruß
Jens
Danke für den Link. Der war sehr hilfreich.
Nur so'ne Frage: Lebst Du in Österreich?
Wünsche eine gute Zeit, bis zum nächsten Post :p
Greez Robert
Nein Toyde
Ich lebe in Freiburg /Schwarzwald.
Gruß
Jens
Warum, warum..
Habe das Problem schon angesprochen:
Wenn ich in der LIST-View durch die Seiten blättere, komme ich locker nach rechts durch (z.B. bei 7 Seiten bis ans Ende, kein Problem). Doch ich kann nur einmal nach links, weil dann der "zurückblättern"-Link wegfällt.
Ich habe meinen jwCalendar so umgestellt, dass alle Kalender-Views in meinem grossen Content in der Mitte erscheinen. Warum klappt es trotzdem nicht? Ich hatte davor eine "Mini-Kalender-View" in einem 2. View-List-Element, und dachte es lag daran, aber dem war/ist ja nicht so.
Ich habe 3 Pages mit je "List-View"-Plugin, "Single" und "Month".. Liegt es daran? Sollte ja aber nicht, da ich ja immer im gleichen Plugin "blättere".
Kennt jemand das "Link-Blättern"-Problem ebenfalls?
Greez Robert
Hallo,
weiß jemand, wo man im Kalender die Sprache ändern kann, also Upcoming Events verdeutschen, read more ebenso, usw...
Danke,
Christoph
sorry - bin im falschen Thread...
Christoph
Hallo,
weiß jemand, wo man im Kalender die Sprache ändern kann, also Upcoming Events verdeutschen, read more ebenso, usw...
Danke,
Christoph
hallo.
Probier mal sowas:
config.language = de
config.locale_all = de_DE.ISO8859-1
page.config.language = de_DE
#oder page.config.language = de
Kopier mal alles in dein root-Template, Cache leeren nicht vergessen.
Greez Toyde