user12345 Posted December 17, 2012 Share Posted December 17, 2012 {if isset($pfAssignedVars) && !empty($pfAssignedVars.widget.widgets)} {include file="/homepages/26/d422512495/htdocs/emd/modules/productfinder/tpl/widgets.tpl"} {/if} Thank you all for an answer! It's from Productfinder module. HTML code doesn't work of that form. Link to comment Share on other sites More sharing options...
NemoPS Posted December 18, 2012 Share Posted December 18, 2012 Hi, You should not used the absolute path when including files withing smarty. Try this instead: {if isset($pfAssignedVars) && !empty($pfAssignedVars.widget.widgets)} {include file="$module_dir/productfinder/tpl/widgets.tpl"} {/if} It *should* work Link to comment Share on other sites More sharing options...
user12345 Posted December 18, 2012 Author Share Posted December 18, 2012 Thank you, and where exactly can I put this in? I nwated to have a box top left corner. Link to comment Share on other sites More sharing options...
NemoPS Posted December 18, 2012 Share Posted December 18, 2012 That depends on the module, i don't know how that's coded, it's hard to tell from an external point of view Link to comment Share on other sites More sharing options...
user12345 Posted December 18, 2012 Author Share Posted December 18, 2012 Do you think you can modify it and let me know how much you take? It's the product finder module and I need this code provided by the supplier of the module in a box in the left side in the prestashop. THe HTML code provided does not offer all the options to search. (http://main.aberle-media.com/emd) In addition to displaying the widget on the home page, you can use either of the following code snippets in any location (e.g. a CMS page) to display the widget by adding it to the relevant template. Dynamic The inserted widget will look like the preview above and will respond to the changes made in this configuration page after insertion. {if isset($pfAssignedVars) && !empty($pfAssignedVars.widget.widgets)} {include file="/homepages/26/d422512495/htdocs/emd/modules/productfinder/tpl/widgets.tpl"} {/if} Link to comment Share on other sites More sharing options...
NemoPS Posted December 18, 2012 Share Posted December 18, 2012 Can you send me an email of the exact details you need? you can find my address on my website 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