Admin

Hi, i want to make a new admin panel, but i can`t understand, when i wrote /admin it`s go to /login.
I want to make something like this /edit to go /login2?

Can you help me?

Kind Of General

This question is kind of general. Can you post some code that will help to understand what you are trying to do?

jmorant@cloud9l... 05 Nov 2008

No necessary to post a code

When you type domain.com/index.php/admin the code redirect me to domain.com/index.php/login.
So i want to do tah type domain.com/index.php/edit and it`s must go to domain.com/index.php/login

some81 17 Nov 2008

Check The pageAdmin Function

If the functionality you want is already in the Admin code you just need to copy the code from the pageAdmin function.

  1. Open zone_default.php
  2. Go to function pageAdmin
  3. Copy and paste the code to function pageEdit
  4. Change the code for the edit page
jmorant@cloud9l... 01 Dec 2008