Jump to content

How to change the style and the content of a module according to the hook it's attached to ?


Recommended Posts

Hello everyone,

I hope my question will not get ignored after all... but do you know guys how to change the rendered HTML/content according to the hook the modue or the template is attached to? I thought about something like this :

{if hook=displayNav}
	{*HTML content*}
{/if}

{if hook=displayTop}
	{*Different HTML content*}
{/if}

 

Thanks a lot, have a wonderful day.

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