Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Is there an easier way to change the information at the bottom of my pages?
Old 02-21-2007, 09:49 AM Is there an easier way to change the information at the bottom of my pages?
Junior Talker

Posts: 1
Trades: 0
Hello,

Is there an easier way to change the information at the bottom of my pages (I mean the words “Copyright © 2006...”)? Now I have to update the year on every page of my site.

Kind regards,

Veselin
Veselin is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-21-2007, 10:49 AM Re: Is there an easier way to change the information at the bottom of my pages?
memberpro's Avatar
Super Talker

Posts: 143
Trades: 0
The easiest way to automatically change a date on your webpages is by creating a small php file which will hold the date and then use the include() function for PHP (ASP I don't know) on each of your pages. From then on, you only need to change one file to make changes on all your pages.

If you want to know how to change them all right now. Use a search program to open all your files and search and replace. (you will need to do this on your hard drive) To find such a program google the word "grep".

Good luck.
__________________

Please login or register to view this content. Registration is FREE
- step-by-step learn how to design, create and install your own website in hours...not days.
Please login or register to view this content. Registration is FREE
was never so easy.

Last edited by memberpro; 02-21-2007 at 10:50 AM..
memberpro is offline
Reply With Quote
View Public Profile
 
Old 02-21-2007, 12:38 PM Re: Is there an easier way to change the information at the bottom of my pages?
wdi
Novice Talker

Posts: 7
Trades: 0
Use the function find and remplace in Dreamweaver, choosing " all opened documents"

Personaly i use php and include() method
wdi is offline
Reply With Quote
View Public Profile Visit wdi's homepage!
 
Old 02-21-2007, 01:50 PM Re: Is there an easier way to change the information at the bottom of my pages?
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
Okay, we need to clear up some misconceptions.
  1. The bottom of your site should say Copyright (C) Yeslelin. The date or year is not necessary. ( I'm assuming you're in the US. )
  2. If your site works the way you like using static html, you don't need to convert it to use server-side programming, whether it's PHP or ASP. This will slow your site down somewhat, because it's easier to just serve a file exactly as is, than to parse that file, serve the parts that should be sent verbatum, and run the rest as code.
  3. If you get a text editor that supports tabs ( like UltraEdit ), you can open all your files and do a search and replace. This is the downside to static html - it's faster on the server, slower on you.
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 02-21-2007, 03:15 PM Re: Is there an easier way to change the information at the bottom of my pages?
memberpro's Avatar
Super Talker

Posts: 143
Trades: 0
If you didn't want to create server-side pages then you could also use an outside javascript file and a <div> tag.

But why go crazy.... just use a grep tool like UltraEdit and be done with it.

I guess a lot can be said about planning... if you know you are going to have to change something on your website then make sure you can do it quickly and easily. Most (if not all) my menus are include files so if I need to change the menus on my website which has hundreds of pages, all I need to do is change one file.

I guess that is why it is called website design... not website making
__________________

Please login or register to view this content. Registration is FREE
- step-by-step learn how to design, create and install your own website in hours...not days.
Please login or register to view this content. Registration is FREE
was never so easy.

Last edited by memberpro; 02-21-2007 at 03:16 PM..
memberpro is offline
Reply With Quote
View Public Profile
 
Old 02-21-2007, 04:00 PM Re: Is there an easier way to change the information at the bottom of my pages?
Novice Talker

Posts: 12
Name: Hazem
Trades: 0
is using include file a search engine friendly? I mean for menus it almost has the links to all your site so the search engine must read them.
I'm asking because I'm thinking of doing the same for may site too, I don't want to change all files just to add or remove one menu item
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
hsoftwaremaster is offline
Reply With Quote
View Public Profile
 
Old 02-21-2007, 04:06 PM Re: Is there an easier way to change the information at the bottom of my pages?
memberpro's Avatar
Super Talker

Posts: 143
Trades: 0
In my experience, I have had zero problems with SEO using the include function for menus. What matters is the parsed information on your page.

Think about it, if there really was a SEO problem with a PHP generated page, then Joomla sites, wordpress sites, etc, wouldn't be index or any other CMS site for that matter (including major newspapers sites).

If you are really worried about SEO and included menu files, then create a static html sitemap with links to all your pages and link that to your home page.
__________________

Please login or register to view this content. Registration is FREE
- step-by-step learn how to design, create and install your own website in hours...not days.
Please login or register to view this content. Registration is FREE
was never so easy.
memberpro is offline
Reply With Quote
View Public Profile
 
Old 02-21-2007, 04:24 PM Re: Is there an easier way to change the information at the bottom of my pages?
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
No. So long as the server renders html from your include files, the search engines won't know HOW that html was generated.

But if you read that closely, it rules javascript out. If you render the menu clientside, the search bots just ignore java, and won't see your menu structure.

Memberpro made a great point about planning your site out before you build it. He probably deserves talkupation for that, but it says I've given out too much of the stuff in the past 24 hours.
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 02-21-2007, 07:20 PM Re: Is there an easier way to change the information at the bottom of my pages?
Tom_M's Avatar
Ultra Talker

Posts: 250
Name: Tom Maurer
Location: Pennslvania, USA
Trades: 0
Quote:
Originally Posted by Learning Newbie View Post
The bottom of your site should say Copyright (C) Yeslelin. The date or year is not necessary. ( I'm assuming you're in the US. )
Not neccessary when your work is pictorial, graphic or sculptural, but the year of first publication should always be included on every thing else. Just good practice
Tom_M is offline
Reply With Quote
View Public Profile
 
Old 02-21-2007, 07:35 PM Re: Is there an easier way to change the information at the bottom of my pages?
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
Why do you suggest this is good practice?
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 02-21-2007, 09:58 PM Re: Is there an easier way to change the information at the bottom of my pages?
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
This is about the only thing I use Dreamweaver for ... making site-wide changes that would be difficult in a regular text editor. That, and spell check.

Newbie suggests UltraEdit, which is very nice software ( I've used it at a number of jobs ), but you might consider Notepad++ instead. Just because it's open source ... free.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Reply     « Reply to Is there an easier way to change the information at the bottom of my pages?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





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



Page generated in 0.37603 seconds with 12 queries