Jump to content

Ottenere l'url completo della pagina corrente nel file tpl


ninoP.3cube
 Share

Recommended Posts

Salve, 

vorrei estrarre nel file .tpl il link della pagina corrente, in particolare anche quello che sta dopo "...index?"

 

con 

{$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}

viene stampato www.nomesito.com/shop/index.php 

invece di  www.nomesito.com/shop/index.php?controller=contact

 

qualche idea?

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More