anderer Cache als templates_c?

Hier können Probleme und alles andere in Deutscher Sprache gelöst werden.
Post Reply
bernd_d
Regular
Posts: 468
Joined: Thu Jun 03, 2010 9:28 am
Contact:

anderer Cache als templates_c?

Post by bernd_d »

Irgendwie bin ich im Moment mehr als verwirrt...

Ich habe die Datei plugins/serendipity_event_emoticate/serendipity_event_emoticate.php etwas überarbeitet, damit der Inline-CSS-Teil weg fällt und man das Emoticon per user.css anpassen kann bei bedarf. Der Code sieht nun so aus...

Code: Select all

foreach ($this->getEmoticons() as $key => $value) {
  $element = preg_replace("/([\t\s\.\!>]+|^)" . $key . "([\t\s\!\.\)<]+|\$)/U",
        "$1<img src=\"$value\" alt=\"" . $this->humanReadableEmoticon($key) . "\" class=\"emoticon\" />$2",
        $element);
}
Die Ausgabe im Frondend sieht jedoch so aus:

Code: Select all

<img src="/templates/2k11_fork/img/emoticons/wink.png" alt=";-)" style="display: inline; vertical-align: bottom;" class="emoticon">
Browser-Cache (auch verschiedene Browser) sowie templates_c habe ich mehrmals geleert und trotzdem bleibt der alte verkehrte Ausgabe-Code bestehen :shock:

Wer gucken will, kann es sich hier ansehen.
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: anderer Cache als templates_c?

Post by Timbalu »

wie wäre es mit entryproperties cache?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: anderer Cache als templates_c?

Post by yellowled »

Der Korrekte-Datei-bearbeitet-und-(an-die-richtige-Stelle-auf-dem-richtigen-Server)-hochgeladen-Cache kann es auch nicht sein?

YL
bernd_d
Regular
Posts: 468
Joined: Thu Jun 03, 2010 9:28 am
Contact:

Re: anderer Cache als templates_c?

Post by bernd_d »

Timbalu wrote:wie wäre es mit entryproperties cache?
Öhm danke, daran lag es scheinbar. Aber wo cached dieses Plugin dann die Beiträge, wenn nicht in templates_c?
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: anderer Cache als templates_c?

Post by Timbalu »

In der Datenbank /serendipity_entryproperties.
Somit muss jeder Beitrag neu gespeichert werden, wenn man solche veränderten Inhalte hat.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
bernd_d
Regular
Posts: 468
Joined: Thu Jun 03, 2010 9:28 am
Contact:

Re: anderer Cache als templates_c?

Post by bernd_d »

Wieder was gelernt, danke. Hab das Caching im Plugin jetzt deaktiviert.
Post Reply