Jump to content

add own copyright to footer?


Guest davscot

Recommended Posts

Guest davscot

Hello cc-ers,

I want to find a way to add my own copyright info to the skins\yourskin\styleTemplates\global\index.tpl page. (see example pix below)

copyright.jpg

The problem is that it's just below the Site Docs include. I can't find a way to match the style.

Please help!

This is closest post I could find.

Topic 12349: Where do I find the footer info? shows how to add a <div> to the bottom of the index.tpl. This doesn't match the style and placement.

Link to comment
Share on other sites

Guest davscot

OK, I've found the file to change is the skins\yourskin\styleTemplates\boxes\siteDocs.tpl

<!-- BEGIN: site_docs -->

<div class="siteDocs">

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

<!-- customized copyright -->

<div><span class="txtSiteDocs">Copyright Sashay 2005. All rights reserved.</span></div>

<!-- END: a -->

</div>

How can I stop the repeat effect? (see image below)

copyright1.jpg

Link to comment
Share on other sites

Guest davscot

I got it! All is good again!

I just changed the <span> to <div> and placed it after the last </div> in the skins\yourskin\styleTemplates\boxes\siteDocs.tpl file.

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

<!-- END: a -->

</div>

<!-- customized copyright -->

<div class="txtSiteDocs">Copyright Sashay 2005. All rights reserved.</div>

<!-- END: site_docs -->

Link to comment
Share on other sites

Yes, you've got it!

For future reference, the "repeat" problem came because you put the info between the

<!-- BEGIN: a -->

and

<!-- END: a -->

tags . . .

"a" is a loop that repeats until no more site docs are found. You placed your statement at the end of that loop, which pulled a doc name and added a separator. Your text was then repeated at the end of each loop until CC ran out of site docs :rolleyes:

Link to comment
Share on other sites

Doesn't the license agreement state that you are not allowed to remove or alter the copyright footer?

Also...If there already is a copywright, whats the point of spending money to buy another one; since the content is already copywrighted and not allowed to be stolen/copied.

Link to comment
Share on other sites

Amefa, I'll try to be of assistance, though this is actually davscot's thread:

The last time I looked, he had not altered brooky's copyright.

I think the point of having his own copyright extends to product descriptions, site docs, etc.

He should make that clear in his copyright info, I think, but I do see a reason for someone to add more copyright info. If you use the cart, you will be adding a great deal of your own copy :w00t:

Link to comment
Share on other sites

  • 4 weeks later...

Hi, I can't make it work. Here is my code

<!-- BEGIN: site_docs -->

<div class="siteDocs">

  <div class="siteDocsBgRight">

  <span class="siteDocsBgLeft">&nbsp;</span>

  <div style="padding-top: 5px;">

  <!-- BEGIN: a -->

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

  <!-- BEGIN: sep --> | <!-- END: sep -->

  <!-- END: a -->

  </div>

	</div>

</div>

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

<!-- END: a -->

</div>

<!-- customized copyright -->

<div class="txtSiteDocs">Copyright <A HREF="http://www.bonsaibutikken.no/index.php?act=viewDoc&docId=1">Haagensen Bonsai</A> 2004-2005. All rights reserved.<br>Powered by <A HREF="http://www.cubecart.com">Cube Cart 3.0.5</A></div>

<!-- END: site_docs -->

What am I doing wrong?

Regards

Nils

Link to comment
Share on other sites

Guest woodbtreasures

Hi I'm having the same problem...not showing up.

My Code

<!-- BEGIN: site_docs -->

<div class="siteDocs">

  <div class="siteDocsBgRight">

  <span class="siteDocsBgLeft">&nbsp;</span>

  <div style="padding-top: 5px;">

  <!-- BEGIN: a -->

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

  <!-- BEGIN: sep --> | <!-- END: sep -->

  <!-- END: a -->

  </div>

	</div>

</div>

<!-- customized copyright -->

<div class="txtSiteDocs">All Content Copyright Wood-B-Treasures.com 2005. All rights reserved.

<!-- END: site_docs -->

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