Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Template Ausgabe manipulieren, geht das?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: German
View previous topic :: View next topic  
Author Message
Datenbock
Smarty n00b


Joined: 08 Aug 2012
Posts: 1

PostPosted: Wed Aug 08, 2012 6:40 am    Post subject: Template Ausgabe manipulieren, geht das? Reply with quote

Hallo zusammen,

ich habe hier ein PHP Skript vorliegen, bei dem eine Funktion mit Hilfe eines pregmatch Ausdruckes einen div Container ohne css id oder class injiziert. Der Inhalt in diesem div Container ist immer gleichbleibend.

Da ich keinen Zugriff auf diese Php Funktion habe, würde ich gerne wissen, ob ich innerhalb der Smarty Templates des Skriptes irgendwie an diesen Container herankomme, um ihm eine css id verpassen zu können.

Danke für eure Hilfe schon einmal vorab


Gruß Dennis
Back to top
View user's profile Send private message
ChrisFah
Smarty Pro


Joined: 02 Nov 2009
Posts: 159
Location: Traun, Austria

PostPosted: Mon Aug 13, 2012 8:43 pm    Post subject: Reply with quote

Hi,

schau dir mal den Smarty outputfilter an. Der kommt unmittelbar vor der Ausgabe der fertigen Seite durch $smarty->display() zum Einsatz.

Lg, Chris
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: German All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP