Hello,
I just set up a new site and installed my recent favorite set of tools: Omega + Omega Tools. I was going to create an Omega subtheme for the site, but I kept running into the following issue. When I would hit the "Finish" button, I would get the Access Denied page and the message that my changes had been saved successfully. I went through it several times and noticed that it puts the human name instead of the machine name in the path.
The offending line (99):
$form_state['redirect'] = $subtheme->automated ? 'admin/appearance' : 'admin/appearance/omega-tools/edit/' . $subtheme->name . '/finished';
Should be:
$form_state['redirect'] = $subtheme->automated ? 'admin/appearance' : 'admin/appearance/omega-tools/edit/' . $subtheme->machine_name . '/finished';
I'm not quite sure how to do a diff, otherwise I would attach a patch, but presumably this will help get it taken care of.
Thanks!
Sean
Comments
Comment #1
waverate CreditAttribution: waverate commentedThat works.
Comment #2
himerus CreditAttribution: himerus commentedWill investigate... thank you
Comment #3
himerus CreditAttribution: himerus commentedComitted to 7.x-3.x: http://drupalcode.org/project/omega_tools.git/commit/3ce7256