Greetings,

Thank you for the module. I've found it very helpful. I would like to propose you a patch where I fixed 2 issues:
1. A necessity to configure path from code - which is a bad practice.
2. Lack of $GLOBALS['user'] (it is not initialized before login). We found the solution in forums and included it here to achieve a complete version which can be flexibly used.

To fix the first issue I added an ability to the settings page to configure path (static URL or PHP snippet).
To fix the second issue I used 'login_redicrect' menu callback.

Please, consider to include these improvements in HEAD, 5.0 and 4.7 branches.
Thanks a lot!

Comments

ardas’s picture

Hi,

+1
This is exactly what I was going to develop a week ago! :)
Thanks a lot to moshe and pokimon for your work.

ardas’s picture

StatusFileSize
new1.78 KB

I tested this module and found one small issue. There is no second parameter for variable_get() function. Here is a fixed version.

Please review it and give a feedback concerning implemented functionality.
Thanks a lot.

ardas’s picture

StatusFileSize
new1.7 KB

I have created a patch against the latest HEAD revision for easy update (I have slightly reordered function declarations to decrease number of differences).
Here it is.

ardas’s picture

Assigned: Unassigned » ardas
Status: Active » Fixed

Done.

Anonymous’s picture

Status: Fixed » Closed (fixed)