Adding blocks in your footer

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   re: Adding blocks in your footer
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
The onmouseover code causes it to stop and onmouseout causes it to start again.

<MARQUEE behavior="scroll" direction="up" height="114" scrollamount="2" scrolldelay="20" onmouseover='this.stop()' onmouseout='this.start()'>



Back to top Reply with quote
#2   re: Adding blocks in your footer
nicruisin
CZ Active Member
nicruisin has been a member for over 20 year's 20 Year Member
uk.gif
Age: 44
Gender: Male
Website:
Status: Offline
Joined: Feb 06, 2004
0.02 posts per day
Posts: 119
Points: 6,632
   
Hi all,

I've been running at this for ages on and off and have just hit a brick way icon_redface.gif

Any help would be greatly appreciated icon_biggrin.gif

I have attached the theme.php if anyone could have a wee look for me, that would be brilliant!



Attached Files
themenicruisin.txt (15.73 KB, Downloaded: 5244 Time(s))



_________________


[ Register or login to view links on this board.] [color=red]Cars, babes and cruisin' from the maddest palce of them all... Northern Ireland!
Back to top Reply with quote
#3   re: Adding blocks in your footer
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
Help with what, Nicrusin? Adding the blocks to your footer?



Back to top Reply with quote
#4   re: Adding blocks in your footer
tcjay
CZ Newbie
tcjay has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Jul 21, 2005
0.00 posts per day
Posts: 2
Points: 93
   
This is the code that I have for a scrolling text block of anchors. I have the <marque> tag but no where do I close it. It works fine except for ausing when the cursor moves over a link. [ Register or login to view links on this board. ]

<?php
if (eregi("block-Scroll_Stores.php", $_SERVER['PHP_SELF'])) {
Header("Location: index.html");
die();
}

global $prefix, $link, $admin,$module_name, $db;

$usemarquee = 1;
$scrolldirection = "Up";
if ($usemarquee == 1)
{
$content .= "<p align=\"center\[color=red]"><a name=\"scroller\"></a><marquee loop=\"INFINITE\" behavior=\"scroll\" direction=\"$scrolldirection\" height=\"100\" scrollamount=\"1\" scrolldelay=\"1\" onMouseOver=\'this.stop()\' onMouseOut=\'this.start()\'><[/color]center>";
}
$a = 1;
$result = $db->sql_query("select listid,uname,cid,listname,description,state,countr y,website from yp_list");
while ($rows = $db->sql_fetchrow($result))
{
$title = "Retail Stores";
$listname = ($rows['listname']);
$listid = ($rows['listid']);
$sid=($rows['state']);
$cid=($rows['cid']);
$content .= "<strong><big></big></strong>&nbsp;<a href=\"modules.php?name=Yellow_Pages&amp;file=details&amp;listid= $listid&amp;cid=$cid\">$listname</a><br>";
$a++;
?>[url=http://www.tillitomas.com]Tilli tomas[/url]



Back to top Reply with quote
#5   
nicruisin
CZ Active Member
nicruisin has been a member for over 20 year's 20 Year Member
uk.gif
Age: 44
Gender: Male
Website:
Status: Offline
Joined: Feb 06, 2004
0.02 posts per day
Posts: 119
Points: 6,632
   
Sorry I should have cleared it up a bit, but yeah it's adding blocks to the footer.

The code has been added into the theme.php as in the attachment above but nothing at all happens. icon_cry.gif

Any help would be great

Thanks




_________________


[ Register or login to view links on this board.] [color=red]Cars, babes and cruisin' from the maddest palce of them all... Northern Ireland!
Back to top Reply with quote
#6   re: Adding blocks in your footer
dkwds
CZ Active Member
dkwds has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student
Age: 38
Gender: Male
Website:
Status: Offline
Joined: Jul 29, 2004
0.04 posts per day
Posts: 282
Points: 12,713
   
just like you put $footer_message in the footer.html file you will have to add $showlinks and $showdownloads to the footer.html too in the places where you want the downloads and links to show up in the footer.




_________________
Back to top Reply with quote
#7   re: Adding blocks in your footer
nicruisin
CZ Active Member
nicruisin has been a member for over 20 year's 20 Year Member
uk.gif
Age: 44
Gender: Male
Website:
Status: Offline
Joined: Feb 06, 2004
0.02 posts per day
Posts: 119
Points: 6,632
   
Sorry to be a total muppet about this but I'm still lost icon_redface.gif

Here is what my footer.html looks like where should I add the $s?

      <td width="16" background="themes/zoneCopper/forums/images/darkSilver_31.gif"><img src="images/spacer.gif" width="16" height="1"></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="35"><IMG SRC="themes/zoneCopper/forums/images/darkSilver_34.gif" WIDTH=35 HEIGHT=56 ALT=""></td>
    <td background="themes/zoneCopper/forums/images/darkSilver_35.gif">&nbsp;</td>
    <td width="35"><IMG SRC="themes/zoneCopper/forums/images/darkSilver_38.gif" WIDTH=35 HEIGHT=56 ALT=""></td>
  </tr>
</table>

</td></tr></table>


Thanks again for your patience icon_biggrin.gif



_________________


[ Register or login to view links on this board.] [color=red]Cars, babes and cruisin' from the maddest palce of them all... Northern Ireland!
Back to top Reply with quote
#8   re: Adding blocks in your footer
ANTH
CZ Super Newbie
ANTH has been a member for over 19 year's 19 Year Member
uk.gif
Age: 45
Gender: Male
Fav. Sports Team: Liverpool
Website:
Status: Offline
Joined: Apr 17, 2005
0.01 posts per day
Posts: 54
Points: 3,103
  MSN Messenger 
im having a problem with mine its php and im not sure how to add 3 cells and put in the call can anyone help? This is my footer looks confusing to me.


<?php
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n";
echo "  <tr>\n";
echo "   <td><img name=\"ftlc\" src=\"themes/XHalo/images/ftlc.gif\" width=\"30\" height=\"18\" border=\"0\" alt=\"\"></td> \n";
echo "   <td width=\"100%\" background=\"themes/XHalo/images/ftm.gif\"><img name=\"ftm\" src=\"themes/XHalo/images/spacer.gif\" width=\"1\" height=\"0\" border=\"0\" alt=\"\"></td>\n";
echo "   <td><img name=\"ftrc\" src=\"themes/XHalo/images/ftrc.gif\" width=\"30\" height=\"18\" border=\"0\" alt=\"\"></td>\n";
echo "  </tr>\n";
echo "  <tr>\n";
echo "    <td background=\"themes/XHalo/images/flt.gif\"><img name=\"flt\" src=\"themes/XHalo/images/spacer.gif\" width=\"30\" height=\"1\" border=\"0\" alt=\"\"></td>\n";
echo "        <td valign=\"top\" bgcolor=\"#660000\" align=center>\n";
echo "        $showbanners<br><font class=copyright>\n";
footmsg();
echo "        </td></font>\n";
echo "    <td background=\"themes/XHalo/images/frt.gif\"><img name=\"frt\" src=\"themes/XHalo/images/spacer.gif\" width=\"30\" height=\"1\" border=\"0\" alt=\"\"></td>\n";
echo "  </tr>\n";
echo "  <tr>\n";
echo "   <td><img name=\"fblc\" src=\"themes/XHalo/images/fblc.gif\" width=\"30\" height=\"19\" border=\"0\" alt=\"\"></td>\n";
echo "    <td background=\"themes/XHalo/images/fbtm.gif\"><img name=\"fbtm\" src=\"themes/XHalo/images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>\n";
echo "   <td><img name=\"fbrc\" src=\"themes/XHalo/images/fbrc.gif\" width=\"30\" height=\"19\" border=\"0\" alt=\"\"></td>\n";
echo "  </tr></table>\n";
echo "<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>\n";
echo "   <TR>\n";
echo "      <TD ROWSPAN=2>\n";
echo "         <IMG SRC=\"themes/XHalo/images/XHalo-ft1_01.gif\" WIDTH=252 HEIGHT=27></TD>\n";
echo "      <TD ROWSPAN=2 background=\"themes/XHalo/images/XHalo-ft1_full.gif\" WIDTH=100% HEIGHT=27></TD>\n";
echo "      <TD COLSPAN=3>\n";
echo "         <IMG SRC=\"themes/XHalo/images/XHalo-ft1_03.gif\" WIDTH=516 HEIGHT=6></TD>\n";
echo "   </TR>\n";
echo "   <TR>\n";
echo "      <TD>\n";
echo "         <IMG SRC=\"themes/XHalo/images/XHalo-ft1_04.gif\" WIDTH=288 HEIGHT=21></TD>\n";
echo "      <TD>\n";
echo "         <A HREF=\"http://www.techgfx.com\" TARGET=\"_blank\">\n";
echo "            <IMG SRC=\"themes/XHalo/images/XHalo-ft1_05.gif\" WIDTH=211 HEIGHT=21 BORDER=0 ALT=\"TechGFX\"></A></TD>\n";
echo "      <TD>\n";
echo "         <IMG SRC=\"themes/XHalo/images/XHalo-ft1_06.gif\" WIDTH=17 HEIGHT=21></TD>\n";
echo "   </TR>\n";
echo "</TABLE>\n";
?>



Back to top Reply with quote
#9   Re: re: Adding blocks in your footer
dkwds
CZ Active Member
dkwds has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student
Age: 38
Gender: Male
Website:
Status: Offline
Joined: Jul 29, 2004
0.04 posts per day
Posts: 282
Points: 12,713
   


Originally posted by nicruisin @ Sun Jul 24, 2005 9:55 pm:

Sorry to be a total muppet about this but I'm still lost icon_redface.gif

Here is what my footer.html looks like where should I add the $s?

      <td width="16" background="themes/zoneCopper/forums/images/darkSilver_31.gif"><img src="images/spacer.gif" width="16" height="1"></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="35"><IMG SRC="themes/zoneCopper/forums/images/darkSilver_34.gif" WIDTH=35 HEIGHT=56 ALT=""></td>
    <td background="themes/zoneCopper/forums/images/darkSilver_35.gif">&nbsp;</td>
    <td width="35"><IMG SRC="themes/zoneCopper/forums/images/darkSilver_38.gif" WIDTH=35 HEIGHT=56 ALT=""></td>
  </tr>
</table>

</td></tr></table>


Thanks again for your patience icon_biggrin.gif


Didn't check this post for quite a while.
Anyways if you still need to know post your footer.html and tell me which images you are using as background where the links and downloads will appear, and i'll do it up for you.



_________________
Back to top Reply with quote
#10   Re: re: Adding blocks in your footer
dkwds
CZ Active Member
dkwds has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student
Age: 38
Gender: Male
Website:
Status: Offline
Joined: Jul 29, 2004
0.04 posts per day
Posts: 282
Points: 12,713
   


Originally posted by ANTH @ Mon Aug 08, 2005 3:21 pm:

im having a problem with mine its php and im not sure how to add 3 cells and put in the call can anyone help? This is my footer looks confusing to me.


<?php
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n";
echo "  <tr>\n";
echo "   <td><img name=\"ftlc\" src=\"themes/XHalo/images/ftlc.gif\" width=\"30\" height=\"18\" border=\"0\" alt=\"\"></td> \n";
echo "   <td width=\"100%\" background=\"themes/XHalo/images/ftm.gif\"><img name=\"ftm\" src=\"themes/XHalo/images/spacer.gif\" width=\"1\" height=\"0\" border=\"0\" alt=\"\"></td>\n";
echo "   <td><img name=\"ftrc\" src=\"themes/XHalo/images/ftrc.gif\" width=\"30\" height=\"18\" border=\"0\" alt=\"\"></td>\n";
echo "  </tr>\n";
echo "  <tr>\n";
echo "    <td background=\"themes/XHalo/images/flt.gif\"><img name=\"flt\" src=\"themes/XHalo/images/spacer.gif\" width=\"30\" height=\"1\" border=\"0\" alt=\"\"></td>\n";
echo "        <td valign=\"top\" bgcolor=\"#660000\" align=center>\n";
echo "        $showbanners<br><font class=copyright>\n";
footmsg();
echo "        </td></font>\n";
echo "    <td background=\"themes/XHalo/images/frt.gif\"><img name=\"frt\" src=\"themes/XHalo/images/spacer.gif\" width=\"30\" height=\"1\" border=\"0\" alt=\"\"></td>\n";
echo "  </tr>\n";
echo "  <tr>\n";
echo "   <td><img name=\"fblc\" src=\"themes/XHalo/images/fblc.gif\" width=\"30\" height=\"19\" border=\"0\" alt=\"\"></td>\n";
echo "    <td background=\"themes/XHalo/images/fbtm.gif\"><img name=\"fbtm\" src=\"themes/XHalo/images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>\n";
echo "   <td><img name=\"fbrc\" src=\"themes/XHalo/images/fbrc.gif\" width=\"30\" height=\"19\" border=\"0\" alt=\"\"></td>\n";
echo "  </tr></table>\n";
echo "<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>\n";
echo "   <TR>\n";
echo "      <TD ROWSPAN=2>\n";
echo "         <IMG SRC=\"themes/XHalo/images/XHalo-ft1_01.gif\" WIDTH=252 HEIGHT=27></TD>\n";
echo "      <TD ROWSPAN=2 background=\"themes/XHalo/images/XHalo-ft1_full.gif\" WIDTH=100% HEIGHT=27></TD>\n";
echo "      <TD COLSPAN=3>\n";
echo "         <IMG SRC=\"themes/XHalo/images/XHalo-ft1_03.gif\" WIDTH=516 HEIGHT=6></TD>\n";
echo "   </TR>\n";
echo "   <TR>\n";
echo "      <TD>\n";
echo "         <IMG SRC=\"themes/XHalo/images/XHalo-ft1_04.gif\" WIDTH=288 HEIGHT=21></TD>\n";
echo "      <TD>\n";
echo "         <A HREF=\"http://www.techgfx.com\" TARGET=\"_blank\">\n";
echo "            <IMG SRC=\"themes/XHalo/images/XHalo-ft1_05.gif\" WIDTH=211 HEIGHT=21 BORDER=0 ALT=\"TechGFX\"></A></TD>\n";
echo "      <TD>\n";
echo "         <IMG SRC=\"themes/XHalo/images/XHalo-ft1_06.gif\" WIDTH=17 HEIGHT=21></TD>\n";
echo "   </TR>\n";
echo "</TABLE>\n";?>




It's been called for in the 12th line.
$showbanners

You put that code which telli has mentioned on the mainpage in your theme.php file below



/************************************************************/
/* Function themefooter() */
/************************************************************/

not immediately below.



_________________
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum