Search found 1 match

by Skiprr
Wed Dec 26, 2007 9:16 pm
Forum: Technical Tips, Questions & Discussions (Computers & Internet)
Topic: Need coding help in php
Replies: 5
Views: 1459

Re: Need coding help in php

Charles, I think Blazen is correct: there may be a very easy way to do this. But since I don't have v3 running anywhere, I'm just guessing wildly. :lol:

In each of the style templates is a file named overall_header.html. Check down at line 100:

Code: Select all

			<div id="site-description">
				<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
				<h1>{SITENAME}</h1>
				<p>{SITE_DESCRIPTION}</p>
				<p style="display: none;"><a href="#start_here">{L_SKIP}</a></p>
			</div>
The HTML is pulling in variables defined in /includes/functions.php to build the header. I think all you need to do is add a line to add the NRA image and link (I'd rename the image to get rid of the spaces, though, just to be on the safe side), like:

Code: Select all

			<div id="site-description">
				<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
				&nbsp; <a href="http://membership.nrahq.org/default.asp?campaignid=XR019416" target="_blank"><img src="/images/Join_Here_11.gif" width="79" height="106" border="0" alt="Join the NRA"></a>
				<h1>{SITENAME}</h1>
				<p>{SITE_DESCRIPTION}</p>
				<p style="display: none;"><a href="#start_here">{L_SKIP}</a></p>
			</div>
If it works, you'd need to modify both the Prosilver and Subsilver overall_header.html files.

If it doesn't work, then I never said anything. :cool:

Return to “Need coding help in php”