|
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 |
Qhiliqq Smarty n00b
Joined: 08 Sep 2015 Posts: 1
|
Posted: Tue Sep 08, 2015 2:45 pm Post subject: Variable aus anderer .tpl laden |
|
|
Hallo zusammen,
ich bin noch relativ neu was das Thema Smarty angeht, bleibe jedoch an einem Problem hängen.
Ich verwende für mein Unternehmen das Rechnungssystem WHMCS und möchte dort ein eigenes Template nutzen. Da ich dort allerdings keine wirkliche antwort auf meine Frage bekam, versuche ich es nun hier.
Wie kann ich eine Variable aus einem anderen .tpl laden?
z.B. Ich habe ein .tpl wo unter anderem überprüft werden soll, ob das Kundenguthaben $clientsstats.creditbalance größer oder gleich des Produktpreises $producttotals.pricing.totaltoday ist.
Allerdings wird der Produktpreis $producttotals.pricing.totaltoday wohl über ein include auf der aktuellen Seite angezeigt.
Wie kann ich $producttotals.pricing.totaltoday aus dem anderen .tpl laden?
Ich hoffe man versteht die Fragestellung
Vielen Dank und Grüße
Philipp |
|
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
|