TinyPortal

Development => Support => Topic started by: Protoman on December 08, 2006, 03:33:49 PM

Title: How can I edit the footer
Post by: Protoman on December 08, 2006, 03:33:49 PM
I want the copyright to be changed a bit, I like it to be "Powered by Tiny Portal (http://www.tinyportal.co.uk) 0.97" , can you guys please tell me which file control over the footer and what to do to change it ? I need your helps seriously. Thank you very much.
Title: Re: How can I edit the footer
Post by: rebelrose on December 08, 2006, 03:54:43 PM
Your index.templat.php
Title: Re: How can I edit the footer
Post by: Protoman on December 09, 2006, 11:02:23 AM
Quote from: RebelRose on December 08, 2006, 03:54:43 PM
Your index.templat.php
Can you tell me where the code is located ? Seems I can't find it. Thank you.
Title: Re: How can I edit the footer
Post by: Nokonium on December 09, 2006, 11:18:55 AM
In index.template it is called from a function in TPortal.php line 1281
Title: Re: How can I edit the footer
Post by: Porky on December 09, 2006, 01:25:27 PM
Quote from: Protoman on December 09, 2006, 11:02:23 AM
Quote from: RebelRose on December 08, 2006, 03:54:43 PM
Your index.templat.php
Can you tell me where the code is located ? Seems I can't find it. Thank you.

Should be located in your theme directory, most theme's have them
Title: Re: How can I edit the footer
Post by: alan s on December 09, 2006, 01:42:25 PM
/Sources/TPortal.php

Find
function tportal_version()
{
echo 'TinyPortal v0.9.7 &copy; <a href="http://www.tinyportal.co.uk" target="_blank">Bloc</a>';


Replace With

function tportal_version()
{
echo 'Powered By <a href="http://www.tinyportal.co.uk" target="_blank">TinyPortal</a> v0.9.7 <br>
         <smalltext>&copy; <a href="http://tinyportal.co.uk">Bloc</a>;



That will make it display

QuotePowered By TinyPortal v0.9.7 (http://tinyportal.co.uk)
            Ã,© Bloc (http://tinyportal.co.uk)

Powered By Tinyportal