Page 3 of 4
Posted: Thu Feb 08, 2007 1:14 am
by yellowled
Hm. I'm not 100% sure, but I don't think we already gave your template an index.tpl, did we? If we didn't, it would be pretty circumstantial to do so just to give it a copyright footer - why don't you do that one in the sidebar using the HTML Nugget sidebar plugin? That will be shown on any page, too.
YL
Posted: Thu Feb 08, 2007 11:45 am
by carlitocabana
YellowLed wrote:Hm. I'm not 100% sure, but I don't think we already gave your template an index.tpl, did we? If we didn't, it would be pretty circumstantial to do so just to give it a copyright footer - why don't you do that one in the sidebar using the HTML Nugget sidebar plugin? That will be shown on any page, too.
YL
Hi YL no I don't got a 'index.tpl' within the template dir. I can create one but what kind of code does it need to contain just the text (c) all rights reserved ?
Posted: Thu Feb 08, 2007 1:59 pm
by yellowled
carlitocabana wrote:Hi YL no I don't got a 'index.tpl' within the template dir. I can create one but what kind of code does it need to contain just the text (c) all rights reserved ?
No, you'd have to copy the index.tpl from /templates/default to your theme directory (s9y_thin, if it's still called that way) and edit it like this:
Code: Select all
{if $is_embedded != true}
<div id="footer">
<p>© 2007 carlitocabana all rights reserved | Design: carlitocabana & <a href="http://www.yellowled.de">YellowLed</a></p>
</div>
However, that footer might need additional CSS code, but I don't have time for that right now. Let's see how it looks without any, then we can fix it if necessary.
YL
Posted: Fri Feb 09, 2007 10:22 am
by carlitocabana
Morning YL, I copied the index.tpl from the default template to the w9y_thin template dir. but no succes.... i don't see anything....
To do this with the HTML nugget how can this be done? I already got 1 nugget with a link to my portfolio. can i create a 2nd nugget and place this at the bottom (portfolio is in the middle)
Posted: Fri Feb 09, 2007 10:31 am
by yellowled
carlitocabana wrote:Morning YL, I copied the index.tpl from the default template to the w9y_thin template dir. but no succes.... i don't see anything....

Hohum. That's strange. Did you actually edit the copied index.tpl and add the code I posted?
YL
Posted: Fri Feb 09, 2007 12:10 pm
by carlitocabana
Well if i only paste the code you told i get a white page with an error
If i add the following code
<div id="footer">
<p>© 2007 carlitocabana all rights reserved | Design: carlitocabana & <a href="http://www.yellowled.de">YellowLed</a></p>
</div>
after the code
{if $is_embedded != true}
I get the footer on top of the page

Posted: Fri Feb 09, 2007 10:50 pm
by yellowled
I gotta take a closer look at this in my test blog over the weekend. Might take until Sunday night, sorry.
YL
Posted: Wed Feb 14, 2007 4:09 pm
by carlitocabana
YellowLed wrote:I gotta take a closer look at this in my test blog over the weekend. Might take until Sunday night, sorry.
YL
*kick* found anything?

Posted: Wed Feb 14, 2007 5:12 pm
by yellowled
carlitocabana wrote:*kick* found anything?

Ouch
I'm terribly sorry, I almost forgot about that one. Let's get going: Copy a fresh index.tpl from /templates/default to your template directory and edit it like this:
Code: Select all
<table id="mainpane">
<tr>
{if $leftSidebarElements > 0}
<td id="serendipityLeftSideBar" valign="top">{serendipity_printSidebar side="left"}</td>
{/if}
<td id="content" valign="top">{$CONTENT}</td>
{if $rightSidebarElements > 0}
<td id="serendipityRightSideBar" valign="top">{serendipity_printSidebar side="right"}</td>
{/if}
</tr>
<tr id="footer">
<td>© 2007 carlitocabana all rights reserved | Design: carlitocabana & <a href="http://www.yellowled.de">YellowLed</a></td>
</tr>
</table>
That's it, right?
YL
Posted: Thu Feb 15, 2007 10:41 am
by carlitocabana
Almost YL it's at the bottom now

as you can see on my blog now.
But I like it more when it's centered.
Also it's now on the left menu and stretches my left menu bar out of proportion.
Anyway to fix this?

Posted: Thu Feb 15, 2007 2:26 pm
by yellowled
carlitocabana wrote:But I like it more when it's centered. Also it's now on the left menu and stretches my left menu bar out of proportion.
Edit your index.tpl like this:
Code: Select all
<tr id="footer">
<td colspan="3">© 2007 carlitocabana all rights reserved | Design: carlitocabana & <a href="http://www.yellowled.de">YellowLed</a></td>
</tr>
and add this:
to your style.css. That should do the trick.
YL
Posted: Thu Feb 15, 2007 3:15 pm
by carlitocabana
OMG YellowLed you did it again hehe it's awesome

BTW a little request....
Can the footer text be boxed (from left to right side of the page index)?
See below:
___________________________________
| FATSHARK |
| |
| |
------------------------------------------------
| footer text (c) all rights reserved etc.... |
-------------------------------------------------
Posted: Fri Feb 16, 2007 1:06 am
by yellowled
carlitocabana wrote:Can the footer text be boxed (from left to right side of the page index)?
Something like this?
Code: Select all
#footer td { padding: 1em; border-top: 1px solid #000; }
YL
Posted: Fri Feb 16, 2007 9:53 am
by carlitocabana
YellowLed wrote:carlitocabana wrote:Can the footer text be boxed (from left to right side of the page index)?
Something like this?
Code: Select all
#footer td { padding: 1em; border-top: 1px solid #000; }
YL
Damn your right again

thanx
Is there a way to get the box smaller in height perhaps?
Posted: Fri Feb 16, 2007 1:08 pm
by yellowled
carlitocabana wrote:YellowLed wrote:
Code: Select all
#footer td {
padding: 1em;
border-top: 1px solid #000;
}
Is there a way to get the box smaller in height perhaps?
Sure. Right now, the height of the box is determined by "padding: 1em;". Have a look at it with padding: 0.5em; or padding: 0.25em; - if even that's too much, leave out the padding line altogether.
YL