Quote:
Originally Posted by Paul M
(Post 1388146)
JFYI, you could drop a lot of the common code currently on each hook in this by simply turning on the "Run Code on all pages" option in my modification (this was added in v4.42). :)
|
I had noticed that, but reading your code, it seems even though common code can be run on all pages, I can see no easy way to display on all pages, that is why I am doing it way I am at the moment.
I have taken the common code comment to heart, as you are right and I have a bloated product because I am the same code at so many different hooks, so I have now saved the common code to a file which I now include at each hook I need to.
I will be posting the new version in a bit :)
|