Jump to content
thirty bees forum
  • 0

Change content depending on hooks


Question

Posted

Hello, Is it possible to change content in smarty, depending on which hook is something hooked. For example:

If this is in hook displayLeft change html content else do nothing

Thanks

4 answers to this question

Recommended Posts

  • 0
Posted

yes its posible, you can set different template each hook using tpl file. for example see social sharing module inside module you can see views > templates > hook > tpl files

  • 0
Posted

@dosbiner thankls for your answer. So there's no way to do it without changing php files i guess? Problem with that is, if there's update to module i loose all my changes.

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
×
×
  • Create New...