fre2mansur Posted July 2, 2021 Share Posted July 2, 2021 (edited) 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 July 2, 2021 by fre2mansur typo (see edit history) Link to comment Share on other sites More sharing options...
SmartDataSoft Posted July 17, 2021 Share Posted July 17, 2021 @fre2mansur You can made a function in Front Controller class and then check. Thank you 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