Jump to content

Adding Documents


Guest fr0zt

Recommended Posts

Guest fr0zt

Hey, I'm just starting a website - www.frostmods.com. I'm trying to add another box like the Information or Featured product box that will list site documents. I would then like to remove the links at the bottom of the page currently linking to About Us, Contact Us, etc.. How can I do this? Thanks

Link to comment
Share on other sites

This code will create a box:

<div class="boxTitleRight">Your head-line</div>

<div class="boxContentLeft">

Use the code you wish to add

<border="0" >

</div>

<div class="boxFootRight">&nbsp;</div>

Call it what you like and put your links to your documents < a href="blah blah insde. (assuming you know how to do that)

Add the box code to your skins/styleTemplates/global/index.tpl in the spot you want to put it. To get rid of the site docs as they now appear, delete {SITE_DOCS} from index.tpl and cart.tpl

Link to comment
Share on other sites

Or you can open your

sitedocs.tpl file and change the code to this

<!-- BEGIN: site_docs -->

<div class="boxTitleLeft">Title of Box Goes Here</div>

<div class="boxContentLeft">

<!-- BEGIN: a -->

<ul>

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

</ul>

<!-- END: a -->

</div>

<!-- END: site_docs -->

And then in global/index.tpl

move {SITEDOCS} to the left or right column

Then your site docs will appear inside a box and will have bullets and text styling just like your categories box. Also, the box will automatically add the sitedocs links when you create a new sitedoc in the admin.

Jen

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