Pages

Tuesday, May 22, 2012

Add new page at adminpanel in zencart 1.5.0

   
1. If want to add new parent menu than insert manually menu in "admin_menus" table
   
2. create new file into admin folder "YourPageName.php"

3. Create new file into "adminpanel/includes/extra_datafiles" with below code:
   
    if (!defined('IS_ADMIN_FLAG')) {
        die('Illegal Access');
    }
    /**
     * Database name defines
     *
     */
    define('TABLE_YOUR_TABLE_NAME', DB_PREFIX . 'table_name'); /* If you want to create new table */
    define('FILENAME_YOUR_PAGE_NAME', 'YourPageName');

    define('BOX_CATALOG_ADDITIONAL_IMAGES', 'Your Page Name'); /* Its for navigation menu. Using BOX_CATALOG_YOUR_PAGE_NAME you can add this menu below "Catalog" section . Or you can choose different bos from "admin_menus" table */
   
4. Create new file at "adminpanel/includes/languages/english" and its name like "YourPageName.php"

5. Now register admin page from "Admin Page Registration" under "admin access management menu"
    Here, you can set your page.

Thursday, May 10, 2012

Status Code Definitions

400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Authentication Required
408 Request Timeout
409 Conflict
410 Gone
411 Length Required
412 Precondition Failed
413 Request Entity Too Large
414 Request URI Too Long
415 Unsupported Media Type
416 Requested Range Not Satisfied
417 Expectation Failed
500 Internal Server Error
501 Not Implemented
502 Bad Gateway
503 Service unavailable
504 Gateway Timeout
505 HTTP Version Not Supported