Jump to content

Smarty goes me crazy


txboy
 Share

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More