Thanks, but these problems are not solved:
a) I can't remove the "profile" item from the drop-down menu of the login form
b) I cannot redirect the user, after login, to the last page opened before login; after login, whatever settings are applied, the redirect takes place towards the user profile.
The problem of the preview of phocadowload with opening in modal window is not solved either. Now I have changed the opening mode (standard window), but it cannot be considered a solution.
For the problem of the popup window that appears when clicking on "Sign in", obviously it has nothing to do with the template (with any template). I was wondering if maybe you knew why this happens ...