Gossamer Forum
Home : Products : Links 2.0 : Discussions :

How do I change the output pages from ".html" to ".php" ?

Quote Reply
How do I change the output pages from ".html" to ".php" ?
How do I change the output pages from ".html" to ".php" ?
Quote Reply
Re: [<IMX>] How do I change the output pages from ".html" to ".php" ? In reply to
why?

if you realy want to do that, you can see the admin/Gforum/Config/data.pm

my MSN: perlchina_at_hotmail.com
Quote Reply
Re: [<IMX>] How do I change the output pages from ".html" to ".php" ? In reply to
What output pages?...there are none.
Quote Reply
Re: [Paul] How do I change the output pages from ".html" to ".php" ? In reply to
to include .php includes in the templates.

someone already solved it. you change the output pages in the
"links.cfg" file.
Quote Reply
Re: [<IMX>] How do I change the output pages from ".html" to ".php" ? In reply to
You are in the wrong forum. You are using Links2, this is the Gossamer Forum forum. Please take care reading the forum descriptions before posting.

Last edited by:

Paul: Jan 19, 2003, 11:54 AM
Quote Reply
Re: [<IMX>] How do I change the output pages from ".html" to ".php" ? In reply to
As I said before, just change the template files to include your PHP code, and set the value of $build_extension in links.cfg to ".php" instead of ".html"

Fairly obviously, you'll also need to change the value of $build_index to "index.php" if your index files also contain PHP code.

Both these variables are in the Build Options section of links.cfg