Jump to content

info box - linking text to site docs


Guest Dooley

Recommended Posts

Guest Dooley

Hi,

Simple question that probably has a simple answer, but I would like to change in the info box (legend skin), to be instead of Products, Categories and Prices, to site documents such as Order Info, Digital Downloads etc., and have them link directly to the document, so that when customers purchase, they can easily locate info on how digital downloads are processed etc.

BUT, I want this info in one of the box's such as the info box rather than down at the bottom of the page where most site documents end up.

Also, I have a license, but would like to place my company © at the bottom of the page, not sure which tpl to edit here.

Help please and thank you in advance

Tamara

Link to comment
Share on other sites

FIRST, go to skins/<your_skin>/styleTemplates/global/index.tpl

FIND the following:

{INFORMATION}




REPLACE with this:




<!--{INFORMATION}-->




Next, follow the steps in my minor mod tutorial below:



+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Site Docs in a Side Box

- By MarksCarts <MY STORE URL REMOVED>

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



A. FOR LEGEND AND CLASSIC SKINS:

1. In your skin files, OPEN styleTemplates/boxes/siteDocs.tpl 



2. REPLACE ENTIRE CONTENTS of file with the following code:



<!-- BEGIN: site_docs -->

<div class="boxTitleLeft">Information</div>

<div class="boxContentLeft">

    <ul>

        <!-- BEGIN: a -->

        <li class="bullet"><a href="index.php?act=viewDoc&docId={DATA.doc_id}" class="txtDefault">{DATA.doc_name}</a></li>

        <!-- END: a -->

    </ul>

</div>

<!-- END: site_docs -->



B. FOR KILLER SKIN:

1. In your skin files, OPEN styleTemplates/boxes/siteDocs.tpl 



2. REPLACE ENTIRE CONTENTS of file with the following code:



<!-- BEGIN: site_docs -->

<div class="boxTitleLeft">Site Navigation</div>

<div class="boxContentLeft">

    <ul>

        <!-- BEGIN: a -->

        <li class="bullet"><a href="index.php?act=viewDoc&docId={DATA.doc_id}" class="txtDefault">{DATA.doc_name}</a></li>

        <!-- END: a -->

    </ul>

</div>

<div class="boxFootLeft"> </div>

<!-- END: site_docs -->



3. (A & B ) SAVE, CLOSE & UPLOAD the edited file(s)



END of mod.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++





LASTLY, go back to skins/<your_skin>/styleTemplates/global/index.tpl



FIND the following code:




{SITE_DOCS}




CUT the code from its position and PASTE it just above this:




<!--{INFORMATION}-->

Save, close and upload all edited files, view store and refresh screen to see the effect.

For more free mods and tutorials by a variety of authore, go to http://cubecart.org/ and at the top of the main page click the link for Downloads.

Link to comment
Share on other sites

Guest Dooley

Great ! Worked perfectly !

Now where does one add to the bottom of the page ©COMPANY NAME etc., ? :w00t:

Thanks a million !

Tamara

Link to comment
Share on other sites

  • 3 weeks later...

Great ! Worked perfectly !

Now where does one add to the bottom of the page ©COMPANY NAME etc., ? :rolleyes:

Thanks a million !

Tamara

In your skins/styleTemplates/global/index.tpl at the bottom before </body> you can center the text by adding:

<div align="center">Your text here</div>

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