Jump to content

change order of items in siteDocs


Guest Paul_U

Recommended Posts

Guest Paul_U

How do I change the order of the links in the siteDocs bar?

I thought it was based on docID, but it looks like it's just in alphabetical order by Doc Name. I want them to appear in a different order on this site:

my first webstore design

I'd like them to be ordered:

My Story, Instructions, Privacy Policy, Shipping, Contact Us.

Also I can't figure out how to change the font and look of the Category text (The bulleted list with Homepage, Products...etc)

Link to comment
Share on other sites

Step 1:

In the sitedocs.inc.php (.../includes/boxes/) file, change the following:

// query database

$results = $db->select("SELECT doc_id, doc_name FROM ".$glob['dbprefix']."CubeCart_docs ORDER BY doc_name ASC");

to;

// query database

$results = $db->select("SELECT doc_id, doc_name FROM ".$glob['dbprefix']."CubeCart_docs ORDER BY doc_id ASC");

Step 2:

In your database, change the doc_id numbers to suit your order. You cant use duplicate numbers!! If you have links to these site docs, you mayu have to change the url's to match with the new numbers.

Remember, always back up!!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...