Reply
Couple of minor problems
Old 09-03-2006, 06:56 PM Couple of minor problems
Average Talker

Posts: 19
I've got a couple of minor problems with my site. They are probably easy to fix but because i have limited knowledge of html, css, php etc i dont know how to fix them.

one of the problems is that the link to my 'About Us' page does not work, i get an Error 500 message. Ive had a look at the templates, but i makess little sense to me, especially the PHP code

the other problem is the on 'Top Sites' and 'New Sites' pages, a gap appears between the Navbar andd the main section, which looks ugly

anyone got any ideas on how i can fix these things?

Im using PHPLD script if that helps

thanks in advance

oh, and here's a link to the site
DogHead is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 09-04-2006, 08:21 AM Re: Couple of minor problems
Novice Talker

Posts: 8
Name: Dusan Szoke
Try to delete highlighted part of code and gap will disappear.

Code:
<table class="border2" align="center" border="0" width="770">
<tbody><tr><td class="bar">
<a href="http://www.randyboo.com/">Home</a> | 
<a href="http://www.randyboo.com/submit.php" title="Submit your link to the directory">Submit Site</a> | 
<a href="http://www.randyboo.com/index.php?list=top" title="Browse most popular links">Top Sites</a> | 
<a href="http://www.randyboo.com/index.php?list=latest" title="Browse New submitted links">New Sites</a> | 
<a href="http://www.randyboo.com/about.php" title="About Us">About Us</a> | 
 <a></a></td></tr></tbody></table><br>
There are more things to fix.

To 'About Us' page. I need to see code for that page called about.php.

So if you could post it maybe I could help.
Dusko is offline
Reply With Quote
View Public Profile Visit Dusko's homepage!
 
Old 09-04-2006, 10:37 AM Re: Couple of minor problems
Average Talker

Posts: 19
Thanks Dusko, that worked a charm, the gap has gone

Here is the code for the "About Us" page which isn't working:

Quote:
{capture name="title"} - {l}About Us{/l}{/capture} {capture assign="in_page_title"}{l}About Allthelink directory{/l}{/capture} {capture assign="description"}{l}Information About Allthelink directory{/l}{/capture}
{include file="header.tpl"} {include file="top_bar.tpl"} {strip}
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="70%" valign="top">
<table width="98%" border="0" class="border">
<tr><td class="bar">{l}About Us{/l}
</td>
</tr>
</table>

<table width="98%" border="0" cellpadding="4" class="box_border">
<tr><td class="linkshortdesc">
<div align="justify">

Place for your about us information...

</div></td></tr>
</table>
{if $error}
<div class="break"></div>
{/if}
</td>
<td width="230" valign="top">
{include file="right.tpl"}
</td>
</tr>
</table>
{include file="footer.tpl"}
{/strip}
hope that helps

(Talkupation added, thanks)
DogHead is offline
Reply With Quote
View Public Profile
 
Old 09-04-2006, 02:21 PM Re: Couple of minor problems
knives-out's Avatar
Skilled Talker

Posts: 51
Name: simon
Location: London
Are you sure that is a php page? php pages normall start with

<?php

and end with ?>

I don't think the code will work unless it has the above.
knives-out is offline
Reply With Quote
View Public Profile
 
Old 09-04-2006, 02:25 PM Re: Couple of minor problems
Novice Talker

Posts: 8
Name: Dusan Szoke
Honestly I have never seen the code like this before. Is that supposed to be PHP? As far as I know It's not.

I am sorry but I am not able to help here.

I suggest send it to different forum
Dusko is offline
Reply With Quote
View Public Profile Visit Dusko's homepage!
 
Old 09-04-2006, 03:51 PM Re: Couple of minor problems
knives-out's Avatar
Skilled Talker

Posts: 51
Name: simon
Location: London
Did you use the free version of phpld or did you pay for the proper one? If so make sure the about us page is uploaded, and remember if its on unix its case sensative so About.php is different that about.php.


knives-out is offline
Reply With Quote
View Public Profile
 
Old 09-05-2006, 02:17 AM Re: Couple of minor problems
Average Talker

Posts: 19
you'll have to forgive me for being such an idiot with these things

I dont know much about coding, and in my confussion i gave you the code for a 'About Us' template page (It has the extension .tpl, i guess that means template).

On further investigation i appears i don't have an About Us PHP file, the free template i originally used for the site has the link for it, hence the error 500... not sure what to do now. Would it be easy to make an About us PHP page?

Thanks for the help btw
DogHead is offline
Reply With Quote
View Public Profile
 
Old 09-05-2006, 02:44 AM Re: Couple of minor problems
knives-out's Avatar
Skilled Talker

Posts: 51
Name: simon
Location: London
Well if the about php file is missing just create a new one but do it as html then at the the very top of the code put <?php and at the very bottom put ?> then save it as about.php and upload it, at least you will stop the 505 error, do you have a page in html that you can copy or is it all php, cus you could do the same with a php file just copy it, rename it about.php then upload it.

You will of course need to add the content to the php page.
knives-out is offline
Reply With Quote
View Public Profile
 
Old 09-05-2006, 04:25 AM Re: Couple of minor problems
Average Talker

Posts: 19
Thanks Knives

It's sorted now, managed it by doing what you described

Problem fixed
DogHead is offline
Reply With Quote
View Public Profile
 
Old 09-05-2006, 10:52 AM Re: Couple of minor problems
knives-out's Avatar
Skilled Talker

Posts: 51
Name: simon
Location: London
nice one, like the site btw, it looks good.
knives-out is offline
Reply With Quote
View Public Profile
 
Old 09-05-2006, 11:09 PM Re: Couple of minor problems
Average Talker

Posts: 19
cheers, im still working on it. need to sort a better logo out
DogHead is offline
Reply With Quote
View Public Profile
 
Old 09-05-2006, 11:36 PM Re: Couple of minor problems
LadynRed's Avatar
Super Moderator

Posts: 6,567
Location: Tennessee
You need to validate it, you've got a ton of errors.
Tables... bleaaahhh.....
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 09-06-2006, 01:31 AM Re: Couple of minor problems
Average Talker

Posts: 19
Quote:
Originally Posted by LadynRed View Post
You need to validate it, you've got a ton of errors.
Tables... bleaaahhh.....

thanks for pointing that out, although it doesnt surprise me, I'm learning this as i go along, so i'm no doubt butchering the code as i go along...

How can i validated it?
DogHead is offline
Reply With Quote
View Public Profile
 
Old 09-06-2006, 10:59 AM Re: Couple of minor problems
LadynRed's Avatar
Super Moderator

Posts: 6,567
Location: Tennessee
Go here, submit your site's URL
The W3C Markup Validation Service
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Couple of minor problems
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.20074 seconds with 12 queries