I have two sites configured on my localhost:
i.e. : http://localhost/site1/create.tpl and http://localhost/site2/create.php
I want to redirect from site1 create page to site2/create via input type button.
How can I do this. I am using this
<input type="button" name="doCreate" value="{$labels.btn_create}" onclick='window.location="http://localhost/site2/create.php"'/>
but not working. I am having the smarty and .tpl file and I am totally new in smarty.
please help
This should have worked, but might try to add one attribute
href:PS: See this small tutorial for more options.