Hey!
I'm trying to make a Panels install profile that ships with Total Control.
Unfortunately, total control's hook_requirements doesn't work in a .install profile.
1) the use of url() doesn't work in an install profile, because it eventually tries to call db_result() which isn't loaded yet
2) The version verification you're attempting doesn't work with the install profiles because the actual .module files are not loaded.
If you check out panels.install I actually check for definitions of CTOOLS_API_VERSION and load the module file manually. That seems to work there. If they've got a current version of CTools I wouldn't even bother checking for a current version of Panels, honestly.
My install profile can go forward without TC if it has to, but hopefully it won't have to.
Comments
Comment #1
jenlamptonOkeydokey. I'm trying something like this...
and everything is working with the latest versions. It could be that I've done something wrong and nothing's happening at all, or it could actually be working :-) Unfortunately, I don't know where to grab a copy of panels 2.x or views 1.x to make it do its thing :(
Comment #2
jenlamptoncommitted.