How to change header text?

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
christianbarnett
Posts: 7
Joined: Mon Dec 24, 2007 2:57 am

How to change header text?

Post by christianbarnett »

How do I give the "header" of the message board html properties rather than just those of a txt document. I would like to place some flash navigation that would appear at the top of both the message board and all messages that are posted. Is this possible...

Also, another note.. for some reason all of the recent threads were no longer appearing on the message board. Why would this happen, is there a conflict when making changes to the mboard.php file..

Thanks in advance.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Just place HTML code inside the header/footer.txt files! The extension really is ".txt", but any HTML/Javascript code inside will be processed.

Changing header/footer files doesn't have any effect on threads not showing. And the code inside does appear on all threads (not old ones, but any new ones posted).
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
christianbarnett
Posts: 7
Joined: Mon Dec 24, 2007 2:57 am

Post by christianbarnett »

Thank you for the quick response. I simply added some basic <html> <head> and <body> tags with some basic javascript in an attempt to display a flash navigation menu in the header of the message board. No success... here is a bit of the code, do you see any problems?

NOTE: I am trying to link to an external style sheet and put the java script in a div with an id of header, is that a problem?



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Home | WSHS Snowboarding</title>

<link rel="stylesheet" type="text/css" href="styles.css" media="all">

<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

<body>

<div id="header">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shoc ... ,'nav_menu' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shoc ... n=9,0,28,0" width="800" height="200">
<param name="movie" value="nav_menu.swf">
<param name="quality" value="high">
<embed src="nav_menu.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download ... kwaveFlash" type="application/x-shockwave-flash" width="800" height="200"></embed>
</object>
</noscript>
</div>
</body>
</html>
Locked