how to change the template, please help

Problems installing LinkMan?
Post Reply
jennypretty
Posts: 6
Joined: Fri Feb 10, 2006 7:07 pm

how to change the template, please help

Post 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.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
jennypretty
Posts: 6
Joined: Fri Feb 10, 2006 7:07 pm

Post 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>
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
parmenti
Posts: 2
Joined: Fri Jun 02, 2006 2:25 pm

How do I center the links or set an indent?

Post 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
Thank you
Peter
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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,
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
parmenti
Posts: 2
Joined: Fri Jun 02, 2006 2:25 pm

thank you.. another question

Post 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 ??
Thank you
Peter
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply