Page 1 of 1

how to change the template, please help

Posted: Sun Feb 12, 2006 12:49 am
by jennypretty
Script URL: www.single123.com
Version of script:
Version of PHP:
Hosting company:
Have you searched THIS FORUM for your problem:
(if not please do before posting)
If so, what terms did you try:

Write your message below:
How to change the template as below?
<table>
<tr><td>Header</td></tr>
<tr><td>left menu</td><td>links</td></tr>
<tr><td>footer</td></tr>
</table>

or at least how to modify the links, how to modify the width of the links page?

Thanks,

Jenny.

Posted: Sun Feb 12, 2006 11:56 am
by Klemen
Hi,

Paste this in header.txt:

<table>
<tr><td>Header</td></tr>
<tr><td>left menu</td><td>

And this in footer.txt:
</td></tr>
<tr><td>footer</td></tr>
</table>


You can notrol the width of the link by setting the width of the table/cell with the links, for example:

<table>
<tr><td>Header</td></tr>
<tr><td>left menu</td><td width="600">links</td></tr>
<tr><td>footer</td></tr>
</table>


Regards

Posted: Sun Feb 12, 2006 1:46 pm
by jennypretty
do I have to include <?php include file="links.php"> , I tried this, but it does not work

<table>
<tr><td>Header</td></tr>
<tr><td>left menu</td><td>

And this in footer.txt:
</td></tr>
<tr><td>footer</td></tr>
</table>

Posted: Sun Feb 12, 2006 10:52 pm
by Klemen
Hi,

You did edit header and footer files here
http://single123.com/dating_links/

So what's the problem? Just use other code instead of that one...


Regards

How do I center the links or set an indent?

Posted: Fri Jun 02, 2006 3:53 pm
by parmenti
Helo.. I have fully customized the header and footer.. but how do I set it so that the links are centered on the page instead of slammed up against the left margin?

Thank you for all your help.. excellent script.. I was searching for days before I found it.

Website is www.LIrefinance.com/linkman/links.php

Posted: Sat Jun 03, 2006 9:52 am
by Klemen
Hi,

Open file links.php in a plain text editor (like Notepad, Wordpad) and find this code:

Code: Select all

echo '<p class="linkman">';
Change it to:

Code: Select all

echo '<p class="linkman" align="center">';
That should work.

Regards,

thank you.. another question

Posted: Sat Jun 03, 2006 6:02 pm
by parmenti
Thank you for that.. I have another question though.

Is there anyway that I can set my links page to be

www.lirefinance.com/links or links.php

instead of www.lirefiance.com/linkman/links.php ??

Posted: Mon Jun 05, 2006 2:46 pm
by Klemen