Zen TYPO3 Forum

Our TYPO3 forum is available for freelancers, professionals and clients new to TYPO3 to discuss Basic TYPO3 templating, Typoscript, extension installation, administration and help with subscription templates. Please register for an account to post.

All Categories > TYPO3 General Discussion > Templates > Changing the Copyright notice
Total Posts: 5 - Pages (1): [1]
Author: debugger_systems
Posted: Sep 10 2007 - 11:13 AM
Subject: re: re: Changing the Copyright notice
Works like a charm except that the footertext div was missing. Looks fine after I changed the Typoscript to:

# Copyright notice and links
#######################################
page.1{
subparts.COPYRIGHT-LINKS = TEXT
subparts.COPYRIGHT-LINKS.insertData = 1
subparts.COPYRIGHT-LINKS.value (
<div id="footertext">Copyright 2007 Your Business :: <span class="footerlink"><a href="">Terms of Use</a> :: <a href="">Privacy Policy</a></span></div>
)
}


Thanks!

Matti
Author: mediatech
Posted: Sep 09 2007 - 02:11 PM
Subject: re: Changing the Copyright notice
Hi Matti,

Good point. I simply never got around replacing the old hard coded copyright with Typoscript. I've made a note to include copyright markers in the next template release.

Creating TS markers to render hard coded data in multiple HTML templates are relatively easy. In this example we will create TS markers named COPYRIGHT-LINKS for the footer div to generate both copyright notice and links.

Add this Typoscript to the bottom of your TS template below all the other code.

# Copyright notice and links
#######################################
page.1{
subparts.COPYRIGHT-LINKS = TEXT
subparts.COPYRIGHT-LINKS.insertData = 1
subparts.COPYRIGHT-LINKS.value (
Copyright 2007 Your Business :: <span class="footerlink"><a href="">Terms of Use</a> :: <a href="">Privacy Policy</a></span>
)
}


Now replace the copyright notice and links in all templates with the TS HTML markers.

<div id="footer">
<!--###COPYRIGHT-LINKS### START-->
<!--###COPYRIGHT-LINKS### STOP-->
</div>


You can continue to create additional TS markers for hardcoded content using this method.
Let me know if you get stuck.

Gregory Remington
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington
Author: debugger_systems
Posted: Sep 09 2007 - 08:57 AM
Subject: re: Changing the Copyright notice
Hi Gregory,

I read through the template file but it looks to me as if the copyright notice is the only part that doesn't have HTML-markers.. how do I change it without hardcoding? Adding my own markers are still a bit over my skill level and I can't have the same copyright notice on all the sites that are based on the template.

Matti Jääaro
Debugger Partner AB
Author: mediatech
Posted: Sep 07 2007 - 02:00 PM
Subject: re: Changing the Copyright notice
Matti,

You can change copyright in the HTML templates. Make sure you clear FE cache once you save your changes so they take effect.

http://zmicro.mediatech.net/fileadmin/templates/zmicro/3column.html

Gregory Remington
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington
Author: debugger_systems
Posted: Sep 06 2007 - 11:13 AM
Subject: Changing the Copyright notice
Hi guys,

I've tried to find a way to override the copyright notice using the CSS Stylesheet Selector but I am totally stuck. How can this be accomplished without touching the template files? I have a number of different sites using the zenlight pro template and they all have the bottom notice "Copyright 2007 Your Business :: Terms of Use :: Privacy Policy".

Cheers!

Matti Jääaro
Debugger Partner AB
Total Posts: 5 - Pages (1): [1]
You must login to post a message to this conference.

 

CHC Forum provided by Cast Iron Coding

TYPO3 Support