News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

Main Menu

Redirect to main page with an error or no permission to view

Started by skidpics, August 31, 2007, 05:16:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

skidpics

Not sure where to post this question..  but..


When you get "You don't have permission to access this page.", I would like for it either prompt to register, if the album is for registered viewers only, or redirect to the home page.  Is there a mod available for this?


Joachim Müller

Edit lang/yourlanguagefile.php (e.g. lang/english.php), find  'access_denied' => 'You don\'t have permission to access this page.',and replace with something like  'access_denied' => 'You don\'t have permission to access this page. <a href="login.php">Log in</a>.',