Nico Knoll Posted April 23, 2014 Share Posted April 23, 2014 Hey, is it possible to define a variable like "$fancyStuff" which works like $config or $page on every page via an autoload-module? Or is it possible to extend $config by $config->fancyStuff? / Nico Link to comment Share on other sites More sharing options...
Nico Knoll Posted April 23, 2014 Author Share Posted April 23, 2014 Got it - thanks to this lovely site: http://www.flamingruby.com/blog/using-hooks-to-alter-default-behavior-of-processwire/ 2 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