[Solved] Content shown below footer.

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
soren
Forum Members
Forum Members
Posts: 60
Joined: Fri Apr 18, 2008 6:44 am

[Solved] Content shown below footer.

Post by soren »

On this page http://www.data-soren.dk/cms1-4/index.php?page=fangster

the content of my database is shown below the footer.

How do I insert the tag so that the content of the database is above the footer?

The site is in Danish, hopefully you will se what I mean.

Soren
Last edited by soren on Fri Jul 25, 2008 6:59 am, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Content shown below footer.

Post by RonnyK »

Could you paste your template, to see what you are calling, AFAIS  is the {content} placed on the correct place, did you insert another UDT in de footer or so....

Ronny
soren
Forum Members
Forum Members
Posts: 60
Joined: Fri Apr 18, 2008 6:44 am

Re: Content shown below footer.

Post by soren »

Ronny

I am using standard template CSSMenu left + 1 column.

I made a tag called {fangster_2008} and inserted this tag as content on a new page.

Soren
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Content shown below footer.

Post by Nullig »

I notice that your isn't closed - . Is that missing from your UDT?

Nullig
soren
Forum Members
Forum Members
Posts: 60
Joined: Fri Apr 18, 2008 6:44 am

Re: Content shown below footer.

Post by soren »

Nullig

This is my code for the userdefined tag:

$dato = date("j/n - Y");//Læs readme filen før du ændre noget hved denne lnie.
echo "Der er indrapporteret";//Vil vise dig dags dato.
mysql_connect('mysql2.wannafind.dk', 'b_l_f', 's0711e1903');
mysql_select_db('b_l_f_dk_db');
$result = mysql_query("SELECT * FROM cup2008");
$num_rows = mysql_num_rows($result);

echo "  $num_rows fisk\n\n";

$resultat = mysql_query("SELECT * From cup2008 ORDER BY vaegt DESC, laengde ASC");
print "";
echo "DatoMånedStedArtKønVægt i gramLængde i cmNavnAgnGenudsat";
while($post = mysql_fetch_array($resultat)){
echo "\n ";
echo "$post[dato]";
echo "$post[maaned]";
echo "$post[sted]";
echo "$post[art]";
echo "$post[koen]";
echo "$post[vaegt]";
echo "$post[laengde]";
echo "$post[navn]\n";
echo "$post[cup]\n";
echo "$post[genudsat]\n";

echo " below } I get the message that it is wrong code.

Soren
christiaans
Power Poster
Power Poster
Posts: 300
Joined: Tue Mar 04, 2008 10:37 am

Re: Content shown below footer.

Post by christiaans »

If I insert below } I get the message that it is wrong code.
Have you tried display with an php echo?

Code: Select all

echo "</table>"
Maybe that'll work?

I also noticed an error here:
echo "</tr\n";
That should be:

Code: Select all

echo "</tr>\n";
soren
Forum Members
Forum Members
Posts: 60
Joined: Fri Apr 18, 2008 6:44 am

Re: Content shown below footer.

Post by soren »

Nullig and chris-s

After closing the table it works as expected.

Thank you.

Soren
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: Content shown below footer.

Post by kermit »

closing the table isn't the only error... here's what i did with html output to correct syntax and validate the code:

replaced all "" via search-and-replace.

first row of table missing closing tag (even an incorrect one like above), so added "" before second row's opening "".

closed table adding "" after last "".
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Post Reply

Return to “Layout and Design (CSS & HTML)”