|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Datenbock Smarty n00b
Joined: 08 Aug 2012 Posts: 1
|
Posted: Wed Aug 08, 2012 6:40 am Post subject: Template Ausgabe manipulieren, geht das? |
|
|
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 |
|
ChrisFah Smarty Pro
Joined: 02 Nov 2009 Posts: 159 Location: Traun, Austria
|
Posted: Mon Aug 13, 2012 8:43 pm Post subject: |
|
|
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 |
|
|
|
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
|