Jump to content

[SOLVED] How can i create a dynamic link? plz view for explanation


Recommended Posts

hi guys been racking me brains on how to do this but im not too good with smarty.

 

what i want to do is to create a link . that is dynamic. 

 

so i want to get the current url ie http://www.example.co.uk/index.php?id_product=10&controller=product&id_lang=1

 

 

but insert fc=module&module=stquickview& between the and id

 

please help im running on PS version 1.5.6

 

cheers guys

Edited by vekia (see edit history)
Link to comment
Share on other sites

Hi Vekia,

 

yeah i mean id_product. i want it so the url read example.com/index.php?fc=module&module=stquickview&id_product=12&controller=default&id_lang=1

 

i can get the current full url using smarty but just cant insert the highlight part into it.

 

another way i thought of doing it was like this

<a href="http://www.example.com/index.php?fc=module&module=stquickview&{$some.smarty.to.call.id_product}&controller=default&id_lang=1>Quick View</a>"

i hope this makes sense; oh and i want to make this link on a product page

Edited by webbie1985 (see edit history)
Link to comment
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
×
×
  • Create New...