Jump to content

Homepage link


Guest mondomota

Recommended Posts

Guest mondomota

Hi,

I'm using Version 3 Classic

I don't need to have the categories box on my site but this box contains the link to the homepage.

How can I add a link (ideally along the bottom next to the site docs) for users to get back to the homepage so I can remove the categories box?

Link to comment
Share on other sites

.

.

.

You open styleTemplates/boxes/siteDocs.tpl and add the link in there, like this:

!-- BEGIN: site_docs -->

<div class="siteDocs">

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

<span class="txtSiteDocs">|</span>

<!-- BEGIN: a -->

<a href="index.php?act=viewDoc&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 mondomota

.

.

.

You open styleTemplates/boxes/siteDocs.tpl and add the link in there, like this:

!-- BEGIN: site_docs -->

<div class="siteDocs">

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

<span class="txtSiteDocs">|</span>

<!-- BEGIN: a -->

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

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

<!-- END: a -->

</div>

<!-- END: site_docs -->

Thank you markscarts!

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