【发布时间】:2017-03-16 15:48:37
【问题描述】:
当我在 smarty 中将给定链接的 URL 与字符串(例如 ' /code/1113321 ')连接时,链接的 href 是 ' basic_url/code/1113321 ',但是当点击链接时,它会导致 ' basic_url%2Fcode%2F1113321 '。如何将% 符号替换为/?
【问题讨论】:
标签: php html css smarty shopware
当我在 smarty 中将给定链接的 URL 与字符串(例如 ' /code/1113321 ')连接时,链接的 href 是 ' basic_url/code/1113321 ',但是当点击链接时,它会导致 ' basic_url%2Fcode%2F1113321 '。如何将% 符号替换为/?
【问题讨论】:
标签: php html css smarty shopware
也许你可以帮助这样的建设:
//index - controller name
<a href="{url controller=index code=1113321}">link</a>
【讨论】: