...Looks a little unprofessional on my website, randomly floating above the footer. Am I allowed to move it to the footer?
Quote from: Chair on April 06, 2010, 05:39:52 PM
...Looks a little unprofessional on my website, randomly floating above the footer. Am I allowed to move it to the footer?
Hello Chair, welcome to TinyPortal.
Yes you can move it.
We do ask that you keep it easily visible, but moving it is OK.
Thanks! :)
Is it located under the main_content_section in the index.template?
No.
Its located in Sources/TPSubs.php search for
function tportal_version()
Actually, that is the function. The line of code you want to move is located in the TPBlockLayout.template.php file in the default theme. Look for this line towards the end of the file.
echo '<div id="tportal" class="smalltext">' , tportal_version() , '</div>';
and i can just move that to the copyright area of my index.template?
Quote from: IchBinâ„¢ on April 06, 2010, 06:47:52 PM
Actually, that is the function.
yeah i had posted that before i edited my post, the actuall copyright text is below the function tportal_version() in TPSubs.php
if(!WIRELESS)
echo '<a href="http://www.tinyportal.co.uk" title="TinyPortal">TinyPortal v1.0 beta5 © Bloc</a> ';
Quote from: Chair on April 06, 2010, 06:51:05 PM
and i can just move that to the copyright area of my index.template?
Yes
Quote from: Maxâ„¢ on April 06, 2010, 06:53:55 PM
Quote from: IchBinâ„¢ on April 06, 2010, 06:47:52 PM
Actually, that is the function.
yeah i had posted that before i edited my post, the actuall copyright text is below the function tportal_version() in TPSubs.php
if(!WIRELESS)
echo '<a href="http://www.tinyportal.co.uk" title="TinyPortal">TinyPortal v1.0 beta5 © Bloc</a> ';
You are still looking at the function Max. The actual call the function is where I mentioned in the TPBlocksLayout template.
I know its the funtion, was thinking he wanted to change the text itsself, should of just left it first time without the edit. :P
Thank you very much! :)
when i add the tinyportal copyright to the footer i get a template parse error? I'm adding it directly after the smf copyright
EDIT: nevermind, i got it working. The edit doesn't work on a custom theme unless you add the tinyportal files to that themes directory
with the upgrade to TP 1.0 beta 5-1, the copyright has moved back above the footer.
I looked in the TPBlocklayout.template.php to find
echo '<div id="tportal" class="smalltext">' , tportal_version() , '</div>';
but it isn't there. I looked in a few other files for the copyright but I can't find it...
It's at the very bottom of that file.
I don't see it... this is the very bottom of the TPBlocklayout.
if($context['TPortal']['bottompanel']==1)
echo '
<div id="tpbottombarHeader" style="clear: both;' , in_array('tpbottombarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']==1 ? 'display: none;' : '' , '">
' , TPortal_panel('bottom') , '
</div>';
}
?>
Hmm very odd, this is mine :
if($context['TPortal']['bottompanel']==1)
echo '
<div id="tpbottombarHeader" style="clear: both;' , in_array('tpbottombarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']==1 ? 'display: none;' : '' , '">
' , TPortal_panel('bottom') , '
</div>';
echo '<div id="tportal" class="smalltext">' , tportal_version() , '</div>';
}
So are you seeing the copyright for TP then on your site ? Try a page reload maybe ?
yes, I see it on my site
From your code to me it looks like a line has been removed, there is a gap there. Are you sure you are looking at the current file and not an old version ? Try re-downloading that file from your live forum and take a look at that to be sure.
LOL I can't believe I forget to refresh FileZilla after i upgraded...haha, thanks it worked :P
Haha, no problem, easy to overlook...
Hi,
I´m becoming crazy with the copyright.
I had my own footer with all the credits, i´m not interested to remove the copyright, but I want to put in my own place.
My problem is, after uninstall/install I have two copyright, please visit: www.applemaniacos.es
Please where is the copyright? I already tried to remove the copyright in index.template, but the tportal_version isn't in this file. Also not found in TPBlocklayout.
Please help me, i´m really tired of losing time in this...
Best regards.
I'd rather not give people the info on how to remove or alter the copyright. Even though it's permitted with the license, I'd rather people figure this out on their own. It's easy enough to find something in a text file with a good editor. You can have an editor search through all the files in a directory for a certain string or phrase to find the copyright.