Einzelnen Beitrag anzeigen
  #2  
Alt 24.08.07, 09:48
Benutzerbild von Kurt51
Kurt51 Kurt51 ist offline
TYPO3forum.net Donater
 
Registriert seit: 21.07.06
Ort: Jülich
Beiträge: 1.131
Kurt51 eine Nachricht über Yahoo! schicken Kurt51 eine Nachricht über Skype™ schicken

Zitat:
Zitat von Karl-Gustav Beitrag anzeigen
Seltsame Dinge ereignen sich an meinem Computer...

Habe das ve_guestbook installiert, captcha integriert und alles funktionierte perfekt. Dann dachte ich, jetzt kannste die Farben mal ein bisschen ändern.

Ich habe ganz zu anfang mal die Größe über
plugin.tx_veguestbook_pi1._CSS_DEFAULT_STYLE (
.tx-veguestbook-pi1 { font-size:50%; }
)
verkleinert (nur als Test) und dann gleich wieder auf 100% zurückgesetzt. Danach habe ich mich dann um die Hintergrundfarben, ums margin & padding, usw. gekümmert und alles funktionierte, die Größe war wieder wie vorher und auch die Farben und Abstände änderten sich nach jedem abspeichern.
Schließlich erreichte ich auch meine gewünschte Formatierung und war eigentlich ganz zufrieden.

Dann das PROBLEM:
Über SEITE -> Gästebuch(so heisst die Seite) habe ich ein paar Gästebuch-Einträge gelöscht. Danach ging ich wieder zurück aufs FE und klickte 'Gästebuch' an und dann: Das Gästebuch und das Eintragsformular (ist auf 2 Seiten verteilt) sind um 50% zusammengeschrumpft!


Natürlich habe ich bei der Fehlersuche meinen kompletten Code fürs ve_guestbook (unten aufgeführt) wieder rausgenommen, nur sind zwar jetzt die Farben und Abstände wieder wie beim Original, die Größe bleibt aber weiterhin bei 50%.


Auch im TypoScript-Objekt-Browser sind die 100% angegeben:
[_CSS_DEFAULT_STYLE]= .tx-veguestbook-pi1 { font-size:100%; } ...


Habe im fileadmin noch ein Template liegen, mit dem ich arbeite. Es ist aber richtig eingebunden und wurde während meiner Formatierungssession nicht verändert!


Der ve_guestbook-Code im TS (den ich ja wieder rausgenommen hab)
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:
44:
45:
46:
47:
plugin.tx_veguestbook_pi1._CSS_DEFAULT_STYLE (
.tx-veguestbook-pi1 { font-size:100%; }
/* error handling */
.tx-veguestbook-pi1 p.tx-guestbook-form-error { font-weight:bold; color:#990000; }
/* display of result count */
.tx-veguestbook-pi1 .tx-guestbook-result { font-weight:bold; float:left; }
/* pagination */
.tx-veguestbook-pi1 .tx-guestbook-pagination { font-size:75%; font-weight:bold; float:right; }
/* styles for list mode */

.tx-veguestbook-pi1 h2.tx-guestbook-header { clear:both; background:#CC6600; color:#FFF; display:block; font-size:100%; font-

weight:bold; padding-left: 1em; padding-right: 1em; padding-top: 5px; padding-bottom: 5px; width: 40em; }

.tx-veguestbook-pi1 .tx-guestbook-left { float:left; width:12em; background:#FF6600; min-height:3em; padding: 1em; }
.tx-veguestbook-pi1 .tx-guestbook-left { height:4em; }
.tx-veguestbook-pi1 .tx-guestbook-left p { color:#333; }
.tx-veguestbook-pi1 .tx-guestbook-right { float:left; width:25em; background:#FFCC00; margin-left: 1em; padding: 1em; }

/* styles for latest mode */
.tx-veguestbook-pi1 .tx-guestbook-latest p, .tx-veguestbook-pi1 .tx-guestbook-right p { color:#333; }
.tx-veguestbook-pi1 .tx-guestbook-latest p.tx-guestbook-date,
.tx-veguestbook-pi1 .tx-guestbook-right p.tx-guestbook-date { font-weight: bold; }
.tx-veguestbook-pi1 .tx-guestbook-right h3 { font-size:100%; color:#990000; font-weight:bold; background:none; }
.tx-veguestbook-pi1 .tx-guestbook-right .tx-guestbook-comment { font-size:75%; color:#333; font-style: italic; }
.tx-veguestbook-pi1 .tx-guestbook-latest { display:block; padding:0.25em; clear:both; }
/* form styles */
.tx-veguestbook-pi1 .tx-guestbook-field { clear:both; width:100%; display:block; padding: 1em 0; }
.tx-veguestbook-pi1 .tx-guestbook-field label { clear: both; display: block; float: left; width: 10em; }
.tx-veguestbook-pi1 .tx-guestbook-field input.tx-guestbook-form-inputfield-med { float:left; width:10em; }
.tx-veguestbook-pi1 .tx-guestbook-field input.tx-guestbook-form-inputfield-big { float:left; width:20em; }
.tx-veguestbook-pi1 .tx-guestbook-field textarea.tx-guestbook-form-textarea { width: 30em; display: block; float: left; }
.tx-veguestbook-pi1 .tx-guestbook-field span.tx-guestbook-form-obligationfield { color:#990000; }
.tx-veguestbook-pi1 fieldset { border:none; }
.tx-veguestbook-pi1 legend { display:none; }

.tx-veguestbook-pi1 .tx-guestbook-freecap { float:left; display:block; background:#FF6600; border:1px solid #CCC; }
.tx-veguestbook-pi1 .tx-guestbook-freecap { margin-left:2.25em; }
.tx-veguestbook-pi1 .tx-guestbook-freecap img { float:left; display:block; pading-left:0.25em; }
.tx-veguestbook-pi1 .tx-guestbook-freecap input { float:left; }
.tx-veguestbook-pi1 .tx-guestbook-freecap label { clear:both; display:block; float:none; width:10em; margin-bottom:0.5em; }
.tx-veguestbook-pi1 .tx-guestbook-freecap p { font-size:75%; padding:0.25em; }
.tx-veguestbook-pi1 .tx-guestbook-freecap h3 { display:none; }
.tx-veguestbook-pi1 .tx-guestbook-freecap span.tx-srfreecap-pi2-cant-read { color:#990000; }
.tx-veguestbook-pi1 .tx-guestbook-clear { clear:both; display:block; }
.tx-veguestbook-pi1 input.tx-guestbook-submit { width:auto; display:block; }
)

Scheint mir, dass beim Löschen der Gästebuch-Einträge irgendwas passiert ist, aber kann das sein?

Bin auf eure Vorschläge/Antworten gespannt.


DANKE
Warum fummelst Du im Original rum anstatt eine neue eigene gaestebuch.css zu definieren und einzubinden!?
__________________
Herzliche Grüße, Kurt
kupix webdesign aus Jülich, NRW
(... und, denkt dran - immer schön fröhlich und besonnen bleiben!)
Mit Zitat antworten