navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

I'm lazy - is there an easy way to do this?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> I'm lazy - is there an easy way to do this?
Page: [1]
 
CelticDragon

 

Posts: 227
Joined: 11/14/2003
From: Dublin, Ireland
Status: offline

 
I'm lazy - is there an easy way to do this? - 4/27/2006 5:22:55   
Hi guys...

I'm trying to get a standard "designed by [my company]" link in the footer of every site I do (They are all my sites so I'm not spamming) and have it point to a standard page with links to other sites. I am planning on using the css file I have on my company site to make sure the look of all the pages is the same but what I'd really like to do is be able to update one file say on my site and have that be drawn from all the other pages on the other sites....

Is it possible to do this without frames as this will not help my linking, or maybe this is not a good idea? I know that one of our competitors has this done on every site their webdesigner has done and they feature very highly in searches....

Am I just going to have to get up off my A$$ and copy each page to each site when I update one?

Thanks for reading... Stephen

_____________________________

I Lost My Stuff - If you lost it, someone found it!
Tailslide

 

Posts: 6290
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: I'm lazy - is there an easy way to do this? - 4/27/2006 5:35:57   
You could use includes - either PHP or SSI. It would mean initially writing in the include call into every page but once done, you could just edit the include file in future and it would update to all the other pages.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to CelticDragon)
Donkey

 

Posts: 3915
Joined: 11/13/2001
From: Blackfield United Kingdom
Status: offline

 
RE: I'm lazy - is there an easy way to do this? - 4/27/2006 5:38:28   
I think you can do it using includes, if you search the forum I think there is a a thread where it was shown how to include information from one site into another if I remember correctly using php includes.

_____________________________

:)

I have a higher and grander standard of principle than George Washington. He could not lie; I can, but I won't.
Samuel Clemens

(in reply to CelticDragon)
womble

 

Posts: 5702
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: I'm lazy - is there an easy way to do this? - 4/27/2006 5:39:08   
Unless I'm misunderstanding what you're wanting to do, you could just have a standard hyperlink to a page that lists all your sites,

<a href="http://www.yourdomain.com/mysites.html">Designed by [your company]</a>

<edit>My first thought was includes too - perhaps I'm misunderstanding?</edit>
<edit2>This was a thread the other day that had a similar question</edit>

_____________________________

~~ "A cruel god ain't no god at all" ~~
~~ Erase hate. Practice love. ~~
:)

(in reply to CelticDragon)
CelticDragon

 

Posts: 227
Joined: 11/14/2003
From: Dublin, Ireland
Status: offline

 
RE: I'm lazy - is there an easy way to do this? - 4/27/2006 5:59:12   
Hey guys... did a quick search and got some info...

I'm now trying to use a .php file with this code only


<head>

<? include(" http://www.jigsawenterprises.com/index.htm" ) ?>

</head>




But I'm getting the error message


Warning: main( http://www.mydomain.com/index.htm): failed to open stream: No such file or directory in /home/c33009/public_html/jigsaw-enterprises.php on line 3

Warning: main(): Failed opening ' http://www.mydomain.com/index.htm' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/c33009/public_html/jigsaw-enterprises.php on line 3



_____________________________

I Lost My Stuff - If you lost it, someone found it!

(in reply to Donkey)
caz

 

Posts: 3586
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: I'm lazy - is there an easy way to do this? - 4/27/2006 6:20:13   
Am being thick here, but since you use fp includes on your site in the sig why not just add the hyperlink to that file and just republish that file. :)

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to CelticDragon)
CelticDragon

 

Posts: 227
Joined: 11/14/2003
From: Dublin, Ireland
Status: offline

 
RE: I'm lazy - is there an easy way to do this? - 4/27/2006 6:23:39   
I don't want to have the signature pointing to my site, I want it to point to a page on the host site with all our details. I want to be able to update that page remotely on all my sites, for example when I change the description of the link or add another site it will automatically have all my sites pointing to the new site or reworded links...

_____________________________

I Lost My Stuff - If you lost it, someone found it!

(in reply to caz)
Tailslide

 

Posts: 6290
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: I'm lazy - is there an easy way to do this? - 4/27/2006 7:01:27   
With PHP what you'd want to try including would be just a txt file with your link in it - nothing else at all - literally just

<a href="whatever">Site by Celtic Dragon</a>


No other markup or code of any sort.


_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to CelticDragon)
CelticDragon

 

Posts: 227
Joined: 11/14/2003
From: Dublin, Ireland
Status: offline

 
RE: I'm lazy - is there an easy way to do this? - 4/27/2006 8:04:53   
Maybe this will clear up a bit of what I'm trying to achieve?

:)

_____________________________

I Lost My Stuff - If you lost it, someone found it!

(in reply to Tailslide)
Tailslide

 

Posts: 6290
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: I'm lazy - is there an easy way to do this? - 4/27/2006 8:35:26   
Yeah you could do that.

Just have the markup you want to appear in the txt file be it a list of links or whatever. A list of links is probably best semantically plus you could style it how ever you want on the page where it appears.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to CelticDragon)
CelticDragon

 

Posts: 227
Joined: 11/14/2003
From: Dublin, Ireland
Status: offline

 
RE: I'm lazy - is there an easy way to do this? - 4/27/2006 8:48:34   
So what would I have in the by-me.htm page and the mainsite.com/info.htm pages?

php include code or what? I tried to do a test as you can see above and it's giving me an error...

_____________________________

I Lost My Stuff - If you lost it, someone found it!

(in reply to Tailslide)
Tailslide

 

Posts: 6290
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: I'm lazy - is there an easy way to do this? - 4/27/2006 8:57:27   
Ok so in your text file you'd have just:
<ul>
<li><a href="yoursite.com">Site by Celtic Dragon</a></li>
<li><a href="site1.com">Site1.com</a></li>
<li><a href="site2.com">Site2.com</a></li>
<li><a href="site3.com">Site3.com</a></li>
<li><a href="site4.com">Site4.com coming soon!</a></li>
</ul>


nothing else at all. Save it as footerlinks.txt

Then in your other sites you'd add:
<?php include( "http://www.celticdragon.com/footerlinks.txt" ); ?>


See if that works.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to CelticDragon)
CelticDragon

 

Posts: 227
Joined: 11/14/2003
From: Dublin, Ireland
Status: offline

 
RE: I'm lazy - is there an easy way to do this? - 4/27/2006 9:33:48   
You sir are a genius, a God amongst mere mortals... King/Queen {delete as applicable} to all who you survey....

em,

cheers, it works perfectly! :D

< Message edited by CelticDragon -- 4/28/2006 7:45:35 >


_____________________________

I Lost My Stuff - If you lost it, someone found it!

(in reply to Tailslide)
Tailslide

 

Posts: 6290
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: I'm lazy - is there an easy way to do this? - 4/27/2006 9:57:26   
:):) Good!

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to CelticDragon)
CelticDragon

 

Posts: 227
Joined: 11/14/2003
From: Dublin, Ireland
Status: offline

 
RE: I'm lazy - is there an easy way to do this? - 4/27/2006 10:45:56   
In case anyone is interested in exactly what I did....

create a php file (empty) in my case it was called jigsaw.php

then paste this line

<?php include( "http://www.your-chosen-domain.com/links.htm" ); ?>

YEP! It reads the full html file! If you wanted to personalise it you could create a simple file and place that code where you want the updates.

then keep one page (www.your-chosen-domain.com/links.htm) updated to update everything else! This is a real god (tailslide) send! :)

EDIT: Just to clarify, this will be readable by the search engines and they should follow these links? I hope so!

_____________________________

I Lost My Stuff - If you lost it, someone found it!

(in reply to Tailslide)
dpf

 

Posts: 7126
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: I'm lazy - is there an easy way to do this? - 4/27/2006 12:10:33   
quote:

King
Queen

_____________________________

Dan

(in reply to CelticDragon)
CelticDragon

 

Posts: 227
Joined: 11/14/2003
From: Dublin, Ireland
Status: offline

 
RE: I'm lazy - is there an easy way to do this? - 4/28/2006 7:46:11   
cheers! It's hard to tell sometimes! :D



_____________________________

I Lost My Stuff - If you lost it, someone found it!

(in reply to dpf)
Page:   [1]

All Forums >> Web Development >> General Web Development >> I'm lazy - is there an easy way to do this?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts