Guest davscot Posted November 2, 2005 Share Posted November 2, 2005 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) 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. Quote Link to comment Share on other sites More sharing options...
Guest davscot Posted November 2, 2005 Share Posted November 2, 2005 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&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) Quote Link to comment Share on other sites More sharing options...
Guest davscot Posted November 2, 2005 Share Posted November 2, 2005 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 --> Quote Link to comment Share on other sites More sharing options...
markscarts Posted November 2, 2005 Share Posted November 2, 2005 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: Quote Link to comment Share on other sites More sharing options...
Guest AmeFa Posted November 4, 2005 Share Posted November 4, 2005 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. Quote Link to comment Share on other sites More sharing options...
markscarts Posted November 4, 2005 Share Posted November 4, 2005 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: Quote Link to comment Share on other sites More sharing options...
Guest Posted November 29, 2005 Share Posted November 29, 2005 Hi, I can't make it work. Here is my code <!-- BEGIN: site_docs --> <div class="siteDocs"> <div class="siteDocsBgRight"> <span class="siteDocsBgLeft"> </span> <div style="padding-top: 5px;"> <!-- BEGIN: a --> <a href="index.php?act=viewDoc&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 Quote Link to comment Share on other sites More sharing options...
Guest woodbtreasures Posted November 30, 2005 Share Posted November 30, 2005 Hi I'm having the same problem...not showing up. My Code <!-- BEGIN: site_docs --> <div class="siteDocs"> <div class="siteDocsBgRight"> <span class="siteDocsBgLeft"> </span> <div style="padding-top: 5px;"> <!-- BEGIN: a --> <a href="index.php?act=viewDoc&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 --> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.