Jump to content

How to run a function through front controller?


Recommended Posts

How to make it available function in all pages by front controller?
I create module, with front controller. for example in controller i write in construct function echo "hello"l

it only run on my controller page. its not available in homepage, product search page. etc,,

 

how to makit available everywhere? i tried the dispatch hook but no luck. please help me.

Edited by fre2mansur
typo (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...

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...