Jump to content

modify site doc items in CC3.0.15 !!!!


Guest shoesholic.com.au

Recommended Posts

Guest shoesholic.com.au

hi there,

i am using CC ver 3.0.15 (the latest version).

i am trying to modify the items inside the site doc box.

by default, the 4 items are: About Us l Contact Us l Privacy Policy l Terms and Conditions

below are the 2 things i would like to do but cannot find any help like this either on this forum nor in .org (after searching for 2 days >_< ):

(1) change the items to (IN THIS ORDER!!!): Home | About Us | Contact Us | Privacy Policy

(2) when the user clicks "Home", i want to bring the user back to the homepage (index.php) instead of displaying a site document as it would for the other 3 items...

When I use the Admin Control Panel to add the site doc items, it always sort the items by Alphabetical order, I couldn't make "Home" to appear in front of "About Us".

The reason I wanted to do the above 2 things is because I have removed the original "Homepage" link inside the default "Shop by Category" box. I wanted to move that very "Homepage" link to the left of "About Us".

Thank you very much in advance for any help !!! Cheers !

Best regards.

Davo

Link to comment
Share on other sites

Add Homepage link into site document box manually :dizzy:

skins/YOUR SKIN/styleTemplates/boxes/siteDocs.tpl

<!-- BEGIN: site_docs -->

<div class="siteDocs">

<a href="index.php" class="txtSiteDocs">Home</a> |

<!-- BEGIN: a -->

<a href="index.php?act=viewDoc&amp;docId={DATA.doc_id}" class="txtSiteDocs">{DATA.doc_name}</a>

<!-- BEGIN: sep --><span class="txtSiteDocs">|</span><!-- END: sep -->

<!-- END: a -->

</div>

<!-- END: site_docs -->

Link to comment
Share on other sites

Guest shoesholic.com.au

Thanks so much convict !!!

that SINGLE line is exactly what i have been looking for !!!

you the man convict (or girl :dizzy: )!!!!

thanks alot again !

Davo

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...