|
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 |
Premizlaus Smarty n00b
Joined: 22 Feb 2018 Posts: 1
|
Posted: Thu Feb 22, 2018 11:29 pm Post subject: Variables in tpl |
|
|
Hello, I have a problem with transferring the variable from input to the href under the button.
from - <input name="value1" value="{$value1}"/>
to - <a href="{$urls.base_url}2-strona-glowna?q=Cena-zł-{$value1}-{value2}
Prestashop 1.7
Last edited by Premizlaus on Sat Feb 24, 2018 11:29 am; edited 2 times in total |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Fri Feb 23, 2018 10:46 am Post subject: |
|
|
Great, but where's the code that demonstrates your problem? |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Mon Apr 09, 2018 12:03 pm Post subject: |
|
|
Code: | q={"Cena-zł-{$value1}-{value2}"} |
Double qoutes but in side Samrty { } tags will do the job. |
|
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
|