Introduction

This theme "igamesMenu" provides the full menu of albums and categories on the "Album List" link, so that accessing the albums becomes easier.

 

Licence & Copyright

igamesMenu is released under the GNU GENERAL PUBLIC LICENSE (GPL) a copy of which is included in the zip file.

 

Installation

  1. Download and unzip the igamesMenu.zip file in your Coppermine Picture Gallary.
  2. The scripts will be stored in thier corrosponding directories.
  3. Thats all. You are ready the new igamesMenu theme.

Following is the structure of the zip file:

include/hormenu.inc.php

theme/<all theme files>

phplm -- contains files required for creating the menu.

 

 

Programmer Notes:

Following steps needs to be performed to use the Category/Album menu in the existing theme.

1. Download and unzip igamesMenu.zip anywhere in your hard drive.

2. Copy the "layersmenu-gtk2.css" file in your themes directory.

3. Copy the code from <!-- Code for Album Menu Starts Here--> to <!-- Code for Album Menu Ends Here--> in head section from template.html and paste it in your themes template.html file at the same position.

4 . Copy the code from "//Code for Albmun Menu Starts Here" to "//Code for Albmun Menu Ends Here" from theme.php and
paste it in your theme.php at the same position.

5 . Replace "<a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>" with "{ALB_LIST_LNK}" from "$template_main_menu2" in your theme.php

6 . Paste the following code in the variable declaration part of page_header and page_footer function of theme.php

global $mid;

7. Paste the following code in the template_vars array of page_header function as the last element of the array.

,'{MENU_HEADER}' => $mid->getHeader(),

8. Paste the following code in the page_footer function ahead of the echo statememt

$template_footer = ereg_replace("</body[^>]*>", $mid->getFooter() . "</body>", $template_footer);

 

Credits:

http://phplayersmenu.sourceforge.net/ Code for layered menu