Jump to content

relative links? smarty?


hkim45

Recommended Posts

Hi folks,

 

I don't understand Smarty but am trying to link a jquery file from the category.tpl under my theme folder.

 

So here's the structure

root > themes> mythemeName> js >jquery.js

the category.tpl and product_list.tpl needs to have a <script href> link that calls that jquery file. I tried to use relative linking but it won't work.

Do I have to use smarty language? like $link ->getPageLink('js/jquery.js') ?

 

Is there a theme path link like wordpress?

 

Thanks in advance.

Hannah

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...