Javacsript code
Posted: Wed Mar 26, 2014 4:26 pm
i have simple page mada with cms ms. I am using few additional modules. Products and prerequisites for it.
I need a fast way to show items list from only one category. I want to select category from menu on sidebar. I have simple links there. I want to change category with simple javascript function that will assign correct category for the products to be shown on main page.
On "contents" i have only {Products category='cat'}.
I want to change that variable in script.
But in console from firefox developer tools i got error message that my script isn't found. Where is the bes way to insert my scripts and link them. Or maybe someone have simpler solution to my problem.

I need a fast way to show items list from only one category. I want to select category from menu on sidebar. I have simple links there. I want to change category with simple javascript function that will assign correct category for the products to be shown on main page.
On "contents" i have only {Products category='cat'}.
I want to change that variable in script.
But in console from firefox developer tools i got error message that my script isn't found. Where is the bes way to insert my scripts and link them. Or maybe someone have simpler solution to my problem.