Reply
How can i edit fnHeader - I cant find it
Old 04-05-2007, 09:37 AM How can i edit fnHeader - I cant find it
CircleOfLinks's Avatar
Extreme Talker

Posts: 212
Name: Danny
Location: Sydney
Hi, im having a few problems. Ive had my site designed and the designer had said to me he had done it in a way when the header or footer is changed it would effect all pages. now after playing around and changing some stuff my self i have found out that this link shows the header

<?
require("includes/config.php");
fnHeader();
?>

how can i edit the header so it appears on all pages. becuase ive removed that line from the homepage and now have inserted the whole header code. but this only changed the home page. I just want to remove some txt and replace it with a gif image, so please some if you know how i can do that i would really appreciate it. I have been trying to get in contact with the orginal designer but his not answer or replying not sure whats happend.
if you see page http://www.aussiepages.com.au/example1.php and then example http://www.aussiepages.com.au/example2.php
example1 contains the fnHeader and example 2 doesnt. I want my pages too look like example 2

I cant manually change everypage especially pages that are coded in away that read password, change passwords, result.php which has the results.php?CID=47 changing results.php would stuff things up big time.

ive already stuffed up a few pages by changing it manually and now i need to get them fixed up and re coded.
thanks everyone for your help.
CircleOfLinks is offline
Reply With Quote
View Public Profile Visit CircleOfLinks's homepage!
 
When You Register, These Ads Go Away!
Old 04-05-2007, 12:14 PM Re: How can i edit fnHeader - I cant find it
CircleOfLinks's Avatar
Extreme Talker

Posts: 212
Name: Danny
Location: Sydney
Hi if it helps this is whats included in the config.php file

This is whats included in config.php

<?php
//ini_set ('error_reporting', E_ALL);
session_start();
session_register("session");


// Report simple running errors
//ini_set ('error_reporting', E_ERROR | E_WARNING | E_PARSE);
include("functions.php");
include("connection.inc.php");
include("commonfunctions.php");
include("imagemagicfunctions.php");
include("pager.php");
include("gif.php");

global $vchItemImagesPath,$vchItemImagesUrl,$globalcontac temail,$strAccount;

if($_SERVER['HTTP_HOST'] == "localhost")
{
$vchSiteUrl="http://localhost/danny/";
$vchItemImagesUrl="http://localhost/danny/images/listings/";
$vchItemImagesPath=$_SERVER["DOCUMENT_ROOT"]."/danny/images/listings/";
$globalcontactemail = "abc@hotmail.com";
$strAccount = 'abc@hotmail.com';
}
else
{
$vchSiteUrl="http://www.aussiepages.com.au/";
$vchSitePath=$_SERVER["DOCUMENT_ROOT"];
$vchItemImagesUrl="http://www.aussiepages.com.au/images/listings/";
$vchItemImagesPath=$_SERVER["DOCUMENT_ROOT"]."/images/listings/";
$globalcontactemail = "support@aussiepages.com.au";
$strAccount = 'dghabash@yahoo.com.au';
}
?>

I just dont know what to do from here on wards
thanks
CircleOfLinks is offline
Reply With Quote
View Public Profile Visit CircleOfLinks's homepage!
 
Old 04-05-2007, 12:30 PM Re: How can i edit fnHeader - I cant find it
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Do an extended find using a text editor for fnHeader().

notepad-plus.sourceforge.net/][/color]Notepad++ should be able to find the function for you (plus everywhere that it's called). Once you've found it, edit the function to suit your needs.
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 04-07-2007, 10:49 AM Re: How can i edit fnHeader - I cant find it
CircleOfLinks's Avatar
Extreme Talker

Posts: 212
Name: Danny
Location: Sydney
thanks guys, all worked out now...
CircleOfLinks is offline
Reply With Quote
View Public Profile Visit CircleOfLinks's homepage!
 
Reply     « Reply to How can i edit fnHeader - I cant find it
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13446 seconds with 12 queries