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
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
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,
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
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
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
-
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
=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
] 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
: '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
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
11 matches
Mail list logo