Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 11-22-2009, 07:18 AM   #1
HyperActive Warrior
War Room Member
 
Ashish Moon's Avatar
 
Join Date: Feb 2007
Location: WF, Worldwide!
Posts: 286
Thanks: 29
Thanked 7 Times in 5 Posts
Contact Info
Send a message via Skype™ to Ashish Moon
Default How to maintain ONE Block of Legal links on different sites?

Hello!

I am creating 6 different sites, and all of these sites need have a block of legal disclaimers (copyright, earnings disclaimer, terms and conditions of use etc.) at the bottom which point to corresponding pages on the parent, 7th site.

I wish to know if there is any way so that I create this block of links just once, and put some small code on all the sites at bottom, so that I do not have to go to each of these individually should I need to make the changes in the block.
In short, I make the change in the block in just one central place and the change is refelected in all the site blocks.

Kindly help.

Ashish Moon
I hear and I forget. I see and I remember. I do and I understand.
The Biggest, Fully Customised, Graphic Package across multiple online media: http://www.7GraphicSets.com
Ashish Moon is offline   Reply With Quote
Old 11-22-2009, 08:30 AM   #2
I cant think of anything.
 
Join Date: Nov 2009
Location: Earth > UK > Wales > Sir Benfro > Cippyn > Field > Farmyard > House > Top Landing > Chair
Posts: 57
Thanks: 4
Thanked 4 Times in 4 Posts
Default Re: How to maintain ONE Block of Legal links on different sites?

You could use an iframe on the bottom of every site with the source of the iframe being on your 7th site.

Ta

Barry
bazzais is offline   Reply With Quote
Old 12-12-2009, 09:07 AM   #3
HyperActive Warrior
War Room Member
 
Ashish Moon's Avatar
 
Join Date: Feb 2007
Location: WF, Worldwide!
Posts: 286
Thanks: 29
Thanked 7 Times in 5 Posts
Contact Info
Send a message via Skype™ to Ashish Moon
Default Re: How to maintain ONE Block of Legal links on different sites?

Any PHP Script that helps doing this?

Ashish Moon
I hear and I forget. I see and I remember. I do and I understand.
The Biggest, Fully Customised, Graphic Package across multiple online media: http://www.7GraphicSets.com
Ashish Moon is offline   Reply With Quote
Old 12-12-2009, 11:14 AM   #4
Personal hygiene coach
 
mojojuju's Avatar
 
Join Date: Aug 2005
Location: Potemkin Village
Posts: 1,083
Thanks: 268
Thanked 377 Times in 254 Posts
Social Networking View Member's Twitter Profile 
Default Re: How to maintain ONE Block of Legal links on different sites?

Quote:
Originally Posted by Ashish Moon View Post
Any PHP Script that helps doing this?
<?php

include ('disclaimers.html');

?>
mojojuju is offline   Reply With Quote
Old 12-12-2009, 11:15 AM   #5
Senior Warrior Member
War Room Member
 
mywebwork's Avatar
 
Join Date: Sep 2008
Location: Honolulu, Hawaii, USA & Montreal Canada
Posts: 2,218
Blog Entries: 1
Thanks: 759
Thanked 724 Times in 505 Posts
Default Re: How to maintain ONE Block of Legal links on different sites?

Hi Ashish

Put your code into a PHP include file, store it in a location that is accessible to all your sites and use the include statement at the footer of each page.

A couple of good tutorials here:

PHP Tutorial - Include File

PHP Include File - How to Use PHP Include to Easily Maintain Your Web Site

Using the PHP Include Function to Template Faster | Build Internet!

Bill
mywebwork is offline   Reply With Quote
Old 12-18-2009, 06:09 AM   #6
HyperActive Warrior
War Room Member
 
Ashish Moon's Avatar
 
Join Date: Feb 2007
Location: WF, Worldwide!
Posts: 286
Thanks: 29
Thanked 7 Times in 5 Posts
Contact Info
Send a message via Skype™ to Ashish Moon
Default Re: How to maintain ONE Block of Legal links on different sites?

Thanks a lot!
Exactly what I was looking for!!

Quote:
Originally Posted by mywebwork View Post
Hi Ashish

Put your code into a PHP include file, store it in a location that is accessible to all your sites and use the include statement at the footer of each page.

A couple of good tutorials here:

PHP Tutorial - Include File

PHP Include File - How to Use PHP Include to Easily Maintain Your Web Site

Using the PHP Include Function to Template Faster | Build Internet!

Bill

Ashish Moon
I hear and I forget. I see and I remember. I do and I understand.
The Biggest, Fully Customised, Graphic Package across multiple online media: http://www.7GraphicSets.com
Ashish Moon is offline   Reply With Quote
Old 12-18-2009, 12:07 PM   #7
Freelance Warrior
 
iBBnet's Avatar
 
Join Date: Jul 2009
Location: USA
Posts: 235
Thanks: 1
Thanked 10 Times in 10 Posts
Social Networking View Member's Twitter Profile 
Default Re: How to maintain ONE Block of Legal links on different sites?

Yes, Bill's suggestion is good. I was going to say that, but he beat me to it

You could do many things using PHP include code. I do it now for most of my sites, since learning about PHP. It's so convenient!

Bryan
After5PC.net
Freelance Web Development
and Graphic Design Services
iBBnet is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
block, disclaimers, legal, links, maintain, sites

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

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



All times are GMT -6. The time now is 05:24 AM.