[eluser]Unknown[/eluser]
Thanks a lot for taking your time giving me advice!
I will look into post controller hook and see if I can use that approach to load my libraries.
What I want to have(I will try to make myself a bit more clear
) :
As default all "view blocks" in the side panels are shown in every page except for some pages which is set in their respective controller. Say that I have a search page, when the search result is shown I might not want the right panel to be visible and have some relevant search info shown in the left panel.
So if a user visits site.com/search/result don't load 'some libraries'.
I really don't want to do the opposite and load the libraries in every controller, I rather set a var telling the library not to load.
Again, thanks!
Fredrik