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

Variable aus anderer .tpl laden

 
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
Qhiliqq
Smarty n00b


Joined: 08 Sep 2015
Posts: 1

PostPosted: Tue Sep 08, 2015 2:45 pm    Post subject: Variable aus anderer .tpl laden Reply with quote

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 Rolling Eyes

Vielen Dank und Grüße
Philipp
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