• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Contributions (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Customizing Header / Footer

Post a bug fix, a new feature, a theme ...

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
1 post • Page 1 of 1

Postby Mgccl » Mon Apr 24, 2006 10:14 pm

I know this is extremely easy... but hey... some times people don't bother learn PHP... so I just have to guide the end user step by step
first suppose you are in a directory with the chat's file(usually index.php)
to put in an header, do these things to the index.php
Code: Select all
<?php include('header.php') ?>
//Direction: put before <?php $chat->printChat(); ?>

Code: Select all
<?php include('footer.php') ?>
//Direction: put after <?php $chat->printChat(); ?>

and then... in the directory that contains your index.php, make header.php and footer.php
then all you got to do is to put PHP codes(to noobies... you can just put HTML codes...) inside header.php and footer.php... and the index.php will change..
Mgccl
Member
 
Posts: 35
Joined: Sun Apr 16, 2006 9:40 pm
Top

Post a reply
1 post • Page 1 of 1

Return to Contributions (v1.x)

Who is online

Users browsing this forum: No registered users and 10 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
cron
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub