The admin links have not been changed in authorize.php. So whenever a module or theme is installed and when we click on the "Enable newly added themes/Modules", a not found page is displayed. Although this is a very minor issue and doesn't break up any code, a fix for this issue would be of great help.
Comments
Comment #1
raphael apard commentedThere is no way to change it. authorize.php print link with this code :
l(t('Administration pages'), 'admin')You can get the renamed admin path using this code :
l(t('Administration pages'), variable_get('rename_admin_path_value', 'admin'))but you will have to edit authorize.php.Comment #2
bavarian commenteda bit confused here ...
in order to change the things mentioned in that thread it does not work for me to apply this patch in "authorize.php"
i need to change things in /modules/system/system.uppdater.inc
there in this function i find the code that needs to be changed
what I am wondering is ... this line
l(t('Enable newly added modules'), 'admin/modules'),I guess it needs to be changed into somthing like
l(t('Enabble newly added modules'), variable_get('rename_admin_path_value', 'admin/modules')),but cant get that line to work
help please!
Comment #3
raphael apard commentedChange code :
l(t('Enabble newly added modules'), variable_get('rename_admin_path_value', 'admin/modules')),to:
l(t('Enabble newly added modules'), variable_get('rename_admin_path_value', 'admin') . '/modules'),You can also use javascript to alter links (without patching core).