Hi,

I might do something wrong .. please help me to understand it.
I already had my profile file which works.
Now I want to add additional config etc. and wanted to do this via profiler.
So I copied the "profiler" directory into
profiles/my_profile/libraries/profiler
And put those two lines:
require_once('profiles/my_profile/libraries/profiler/profiler.inc');
profiler_v2('my_profile');
in the very beginning of my_profile.profil

Now I have something like:
function spedition_profile_tasks() {
install_include(spedition_profile_modules());
spedition_config_theme();
spedition_config_vars();
spedition_cleanup ( );
menu_rebuild();
profiler_profile_tasks('spedition', $task, $url);
}

And in the my_profile.profiler.inc
theme = acquia_marina
; -----------------------------------------------------------------------------
; Blocks
; -----------------------------------------------------------------------------
blocks[menu-menu-rechtliches][module] = menu
blocks[menu-menu-rechtliches][delta] = menu-rechtliches
blocks[menu-menu-rechtliches][region] = footer

But neither the theme gets configured, nor this block.

Why that?
What did I do wrong?

Thank you in advance
Bye, Transmitter

Comments

q0rban’s picture

Hey there! Hmm, I'm not totally sure, but one issue I see is that you are passing $task to profiler_profile_tasks, but are not receiving it in spedition_profile_tasks.

q0rban’s picture

Status: Active » Postponed (maintainer needs more info)
q0rban’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)