RE: [PHP] dynamic meta tag and title app?

2009-11-19 Thread Ashley Sheridan
On Wed, 2009-11-18 at 21:42 -0800, Daevid Vincent wrote: Actually, you can make a site today that uses JAvascript to enhance functionality. I'd say a title fits that category. You can live without it. Something as simple as a title for a page shouldn't be relying on Javascript to

Re: [PHP] dynamic meta tag and title app?

2009-11-19 Thread tedd
At 11:30 AM -0500 11/18/09, Jack S wrote: Hello All, Does anyone have a reference to a program that may be out there to help with using a single header.php for a site, but then dynamically loads different keywords , titles etc based on what page is including the header file? Sample: If home

Re: [PHP] dynamic meta tag and title app?

2009-11-19 Thread Jack S
Hi Todd, This looks like a good starting point for me. I was going to use $_SERVER['PHP_SELF']; but I think ($_SERVER['SCRIPT_NAME']); in your example will always return just the script info and not additionally passed information, which will save me trouble shooting later! Thanks!!! On Thu,

Re: [PHP] dynamic meta tag and title app?

2009-11-19 Thread tedd
At 10:48 AM -0500 11/19/09, Jack S wrote: Hi Todd, This looks like a good starting point for me. I was going to use $_SERVER['PHP_SELF']; but I think ($_SERVER['SCRIPT_NAME']); in your example will always return just the script info and not additionally passed information, which will save me

Re: [PHP] dynamic meta tag and title app?

2009-11-19 Thread Paul M Foster
On Thu, Nov 19, 2009 at 01:09:48PM -0500, tedd wrote: At 10:48 AM -0500 11/19/09, Jack S wrote: Hi Todd, This looks like a good starting point for me. I was going to use $_SERVER['PHP_SELF']; but I think ($_SERVER['SCRIPT_NAME']); in your example will always return just the script info

[PHP] dynamic meta tag and title app?

2009-11-18 Thread Jack S
Hello All, Does anyone have a reference to a program that may be out there to help with using a single header.php for a site, but then dynamically loads different keywords , titles etc based on what page is including the header file? Sample: If home page include it knows the title and other

RE: [PHP] dynamic meta tag and title app?

2009-11-18 Thread Daevid Vincent
- From: Jack S [mailto:jacklistm...@gmail.com] Sent: Wednesday, November 18, 2009 8:30 AM To: php-general@lists.php.net Subject: [PHP] dynamic meta tag and title app? Hello All, Does anyone have a reference to a program that may be out there to help with using a single header.php for a site

RE: [PHP] dynamic meta tag and title app?

2009-11-18 Thread Ashley Sheridan
=JavaScript type=text/javascript parent.document.title = ?= PRODUCT_NAME ? :: ?= $PAGE_TITLE ?; /script -Original Message- From: Jack S [mailto:jacklistm...@gmail.com] Sent: Wednesday, November 18, 2009 8:30 AM To: php-general@lists.php.net Subject: [PHP] dynamic meta tag

RE: [PHP] dynamic meta tag and title app?

2009-11-18 Thread Daevid Vincent
] dynamic meta tag and title app? Hello All, Does anyone have a reference to a program that may be out there to help with using a single header.php for a site, but then dynamically loads different keywords , titles etc based on what page is including the header file? Sample

RE: [PHP] dynamic meta tag and title app?

2009-11-18 Thread Ashley Sheridan
: 'Jack S'; php-general@lists.php.net Subject: RE: [PHP] dynamic meta tag and title app? Rather than use Javascript, which would limit your site to only those browsers that support Javascript, have it enabled and aren't using any plugins (like Noscript). You could just use an array

RE: [PHP] dynamic meta tag and title app?

2009-11-18 Thread Daevid Vincent
Actually, you can make a site today that uses JAvascript to enhance functionality. I'd say a title fits that category. You can live without it. Something as simple as a title for a page shouldn't be relying on Javascript to function! Shouldn't = I agree. Sometimes the way a page is