Change common header? - نوشته شده در (1817 Views)
Junior Member
davidkirk
مطلب: 113
113
I need to change the common header on all of my Forum pages (see www.gayrites.net/forum) but I can't find the file in which to make the change. (I use FrontPage, can't preview any of the forum files in it and am pretty weak at reading html and deciphering it.) This is the code I need to use; can anyone tell me where to put it? (Now, now ...!)

<td>
<table width="760" border="0" cellspacing="0" cellpadding="0" background="images/a_01.gif">
<tr>
<td width="21" bgcolor="#FFF5D1">
 </td>
<td align="left" bgcolor="#FFF5D1">
<!--webbot bot="Include" U-Include="include/themeD.htm" TAG="BODY" --></td>
<td width="474" align="right" bgcolor="#FFF5D1">
<!--webbot bot="Include" u-include="include/menuD2.htm" tag="BODY" --></td>
</tr>
</table>
</td>
</tr>
<tr align="center">
<td>
<table width="760" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="760" border="0" cellspacing="0" cellpadding="0" id="table97">
<tr>
<td>
<table width="760" border="0" cellspacing="0" cellpadding="0" id="table98">
<tr>
<td height="60">
<a href="http://www.gayrites.net">
<img border="0" src="images/banners/logobannerfill.gif" width="292" height="60"></a><script language="JavaScript" src="http://www.GayRites.net/absolutecr/absolutecr.asp?z=1"></script></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="760" border="0" cellspacing="0" cellpadding="0" id="table99">
<tr>
<td bgcolor="#FFF5D1" align="left" valign="top">
<!--webbot bot="Include" u-include="include/menu.htm" tag="BODY" --></td>
<td bgcolor="#FFF5D1">
 </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>

Also, I want to remove the rotating banner ad text just below theheader since I now have banner ads rotating using a different software program in the new header. How do I do that?
Many thanks!!<
David Kirk
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Forum Moderator
AnonJr
مطلب: 5768
5768
Ok, first thing's first - ditch FrontPage. Its jacked so many of my pages in an effort to be "helpful" its not even funny.
Second, no matter what you use, you are going to have to use the "code" view (HTML view in FP) to work with the files.
As to adding some code, the header info is in inc_header.asp. You may find it easier to do what you want after you install the "Site Integration" MOD - but that is just a suggestion, not a requirement.
Lastly, you may want to re-work your code so that its all in a self-contained table - that way it doesn't mess with any of the other tables in the forum.
Oh, and have fun. wink bigsmile<
نوشته شده در
Junior Member
davidkirk
مطلب: 113
113
Thank you, Anon! Sorry I did't reply sooner but for some reason I didn't get the usual e-mail notification; probably my new spam filter. I know, I know about FrontPage and there are probably millions cheering at its impending demise. Unfortunately, I don't have the skills to use anything else or the time to learn new software. I appreciate you're letting me know where the header info is but I'm afraidI don't have the coding knowledge to create a separate table for the info. I'm hoping that another option I'm pursuing, involving an angel who will help me, works out. Otherwise, I may be back to beg for more info. Many thanks.<
David Kirk
نوشته شده در
Forum Moderator
AnonJr
مطلب: 5768
5768
Its ok. Outside of the security updates, there aren't any topic subscriptions enabled here. wink
FP aside, I'd strongly recommend developing some coding skills - even if they are very basic - and this is a good "first project." http://www.w3schools.com is a good resource and there are many others.
As to the project itself, you might want to start by installing the "Site Integration MOD" and using that to get what you want. BUT if that code you posted is what you want to add, its in dire need of some cleaning up first... I'll try to take a look when I get back to the house. (no promises, I'm overdue on a couple other projects)<
نوشته شده در
Average Member
Webbo
مطلب: 982
982
David, download the program Araneae

(http://www.ornj.net/araneae/)

and then the first time you want to use Frontpage to open an .asp file right-click the file and in the options choose 'Open With' > 'Choose Program' , look for Araneae in the program list, and select the tickbox to set it as default, (leave the 'association' tickbox ticked)

This will then open up any .asp files in Araneae whilst using Frontpage and you'll find it works a lot smoother coding only as you want it
When you make any changes to a file, click to save it and then go back to the Frontpage window. You'll notice the header grey'ing out for a moment as FP overwrites the file with your changes

smile
<
نوشته شده در
Junior Member
davidkirk
مطلب: 113
113
Thanks everyone for the good advice. I swear I will ditch FP one of these days! Ultimately, I was easily able to change the header throughout the forums using the FP include page function. Now I'm just waiting for some hlep in another thread for moving the forum content down a bit since my java drop-down menu is messing with the forum menus. Does it ever end?!? :)

Originally posted by Webbo
David, download the program Araneae

(http://www.ornj.net/araneae/)

and then the first time you want to use Frontpage to open an .asp file right-click the file and in the options choose 'Open With' > 'Choose Program' , look for Araneae in the program list, and select the tickbox to set it as default, (leave the 'association' tickbox ticked)

This will then open up any .asp files in Araneae whilst using Frontpage and you'll find it works a lot smoother coding only as you want it
When you make any changes to a file, click to save it and then go back to the Frontpage window. You'll notice the header grey'ing out for a moment as FP overwrites the file with your changes

smile

<
David Kirk
 
شما باید یک متن وارد کنید