txboy Posted March 11, 2011 Share Posted March 11, 2011 Why is smarty so difficult ?I've made a module to try different things and put it at the backOfficeFooter hook, just at the end of the page code.From here, I want to be able of adding, disabling or deleting page content.The problem is that the module is showed in some pages and not in others, not showing the module itself and the code just after the module.The code I'm trying is as simple as this: {literal} [removed] $(window).load(function() { $("body").css("background","#000"); }); [removed] {/literal} Well, this works i.e. in Admin Catalog tab but no in Admin Module tab.Why ??????Even more, how can I enable smarty debug ?Thank you very much in advance. Link to comment Share on other sites More sharing options...
txboy Posted March 11, 2011 Author Share Posted March 11, 2011 Forgot to mention that I'm using Prestashop 1.4.0.15.Thanks. Link to comment Share on other sites More sharing options...
txboy Posted March 14, 2011 Author Share Posted March 14, 2011 Bump!Nothing at all? Link to comment Share on other sites More sharing options...
txboy Posted March 15, 2011 Author Share Posted March 15, 2011 I see nobody has ideas.What about smarty debugging ?I've tried to enable it by setting $smarty->debbuging to true at config.inc.php, smarty.config.inc.php and in mymodule.php.Nothing works and popup blocking is disabled.Even tried with {debug} smarty function at mymodule.tpl.Why can't get smarty debug ?Thanks. 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