Customize the Storeadmin Links

By default, the site builder system lists all its links in a column down the left and the right side of the page, as noted:

The left side contains links in the groupings:

Web Store
E-Store
Advanced

and the right side contains links in the groupings:

Site Extras
Administration

To Show More/Less Link Groups on the Left Side

By default, the system shows three link groups on the left and the remaining two on the right. If you want to change this, you can. Open the open.php page in the /includes/ folder in the /storeadmin/ folder, and find the following:

$linkend = 3;

The 3 shows that there are three link groups on the left side of the page. To change this, just change the 3 to the number of groups you want to show on the left.

For example, if you change this to:

$linkend = 2;

The system will show the first two link groups (Web Site and E-Store) on the left, and the rest (Advanced, Site Extras and Administration) on the right.

Or change it to:

$linkend = 5;

and it will show all the links on the left side of the page. (There are five groups total.)

Moving Link Groups

Open the open.php page in the /includes/ folder in the /storeadmin/ folder. Find the line:

$group = array("Web Site", "E-Store", "Advanced", "Site Extras", "Administration");

You can move elements around as you wish by changing the order here. For instance, if you want the first three groupings to be 'E-Store', 'Administration' and 'Web Site', and display 'Site Extras' and 'Advanced' on the right, you would change the above line to:

$group = array("E-Store", "Administration", "Web Site", "Site Extras", "Advanced");

Save the file when you're done, and those groups will move to the right spots on your pages.

Change Which Pages Fall Under Which Group Heading

To change the actual functionality of the link, placing it under a different group heading, requires modification of the database. This is a little trickier, so please do this only if you're comfortable with phpMyAdmin, and make sure you create a backup first!

  1. Open phpMyAdmin and select the opc_permissions table.

  2. View that table and find the entry that you want to change in the 'Feature' field.

  3. Change the 'SiteGroup' to the new site group you want to display that feature in.

For instance, say you want to move the 'Images' link from the 'Web Site' area to 'Site Extras'. Find the entry that shows 'Images' in the 'Feature' field, and change the 'SiteGroup' from 'Web Site' to 'Site Extras' and save. Now the 'Images' link will be shown under the Site Extras area instead of the Web Site area.

Be careful with this! You only want to change items that have something in the 'SiteGroup' field - NOT the entries that have something in the 'SubGroup' field. Make sure to keep a backup of the table, just in case, because it's very easy to make mistakes.

Change Headings Completely

If you want to change the name of the headings, you can do this as well, but it's also extremely tricky, and requires database changes. Do this only if you feel extremely comfortable with database updates.

Open the open.php page in the /includes/ folder in the /storeadmin/ folder, and find the line:

$group = array("Web Site", "E-Store", "Advanced", "Site Extras", "Administration");

Change this line as desired, switching the names as you see fit. For instance, if you want to change 'Administration' to 'Admin Area', change the above line to:

$group = array("Web Site", "E-Store", "Advanced", "Site Extras", "Admin Area");

Now you must change the references in the permissions table as well:

  1. Open phpMyAdmin and select the opc_permissions table.

  2. View that table and find any entry that has a 'SiteGroup' value that you want to change (ie. in the above example, you'd find entries that had a 'SiteGroup' value of 'Administration').

  3. Change all these instances to the new value (ie. in the above example, you'd change the SiteGroup of all records with 'Administration' as the value to 'Admin Area'.

Change Link Placement

The storeadmin area is set up in a three column table, with the left links on the left table cell, the main content in the middle, and the right links in the right table cell. If you'd like to adjust this, you'll need to modify the links.php and links2.php pages in the /includes/ folder of the /storeadmin/ folder, changing the HTML code surrounding the PHP code on each page. The links pages are wrapped around the content when you view the page, in the order:

links.php
* CONTENT *
links2.php

Change the HTML table in the links pages to wrap differently around the content if desired.

Additional Guides

Here are some additional FAQs that may be of interest:

How To Use Images As Group Headers

How To Add Third Party Scripts (VERY Advanced)

Important Notes

You can combine the above modifications to completely change the way your storeadmin area looks. We strongly recommend making backups of your files and database if you decide to play with the storeadmin area, and be sure to play on a temporary site first.