pedrobrochero Posted August 16, 2017 Share Posted August 16, 2017 Hi, I'm developing a theme on PS 1.7 and cannot get the smarty variable that returns the theme's image folder (themes/my_theme/assets/img), was trying to get values in console but always returns blank. This on index.tpl of theme, already customized. Already try: console.log('{$base_dir}'); console.log("{$base_dir}"); console.log('{$img_dir}'); console.log('{$img_ps_dir}'); Console works fine, if put a string, shows in output. Additionally can't find complete documentation in official pages (with the smarty variables for example). Anyone could help me, thanks in advance Link to comment Share on other sites More sharing options...
pedrobrochero Posted August 16, 2017 Author Share Posted August 16, 2017 User ventura in spanish forums has solved =). {$urls.img_url} Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now