|
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 |
Miny Smarty n00b
Joined: 03 Jun 2006 Posts: 1
|
Posted: Sat Jun 03, 2006 10:23 am Post subject: Variable in einer reservierten Variable |
|
|
Hi
Ich habe mich jetzt durch google gekämpft und auch durch das Forum, aber hab irgendwie nicht das richtige gefunden oder habe es nicht verstanden, deshalb wende ich mich jetzt an euch.
Ist es möglich innerhalb einer reservierten Variable z.b.:
Code: | {$smarty.session.sessionname} |
eine weiter Variable einzubauen?
Also sozusagen einen Sessionprefix, so dass es dann so aussehen würde
Code: | {$smarty.session.(sessionprefixvariable einbinden)sessionname} |
Aber, wenn das geht, wie funktioniert sowas, welchen Syntax muss ich benutzen damit es funktioniert?
Vielen Dank schonmal und viele Grüße
Miny |
|
Back to top |
|
polik00 Smarty n00b
Joined: 10 Jun 2006 Posts: 3
|
|
Back to top |
|
shannera Administrator
Joined: 13 Feb 2006 Posts: 802 Location: Edertal, Germany
|
Posted: Mon Jun 12, 2006 10:30 am Post subject: |
|
|
"einzubauen" is translated as "to built in".
But please keep in mind that this is a localized forum (you can see this from the forum name: Smarty Forum Index -> Language: German) for people not able to express themself good enough in english.
If we would post here in english, we wouldn't need this forum, would we? ;-) |
|
Back to top |
|
shannera Administrator
Joined: 13 Feb 2006 Posts: 802 Location: Edertal, Germany
|
Posted: Mon Jun 12, 2006 10:34 am Post subject: |
|
|
Um mal auf das Problem zurückzukommen:
http://www.phpinsider.com/smarty-forum/viewtopic.php?t=8109
Da bitte den Beitrag von Boots lesen, es wird wohl nicht so klappen wie Du Dir das vorstellst, aber sein Hinweis, es doch mit einem Array zu versuchen, könnte Dir sicherlich weiterhelfen. |
|
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
|