Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: Re: [leona] How to build second homepage with different home template?: Edit Log

Here is the list of edits for this post
Re: [leona] How to build second homepage with different home template?
Hi!

Just very easy!

Copy nph-build.cgi to a different name for e.g. nph-home.cgi. Then modify both the scripts and config file for links. You only need to uncomment the respective functions in their respective sub_routines!!!


Then nph-build.cgi may or may not build the new/cool pages and may or may not build an index to a different directory. The nph-home.cgi will build the index.html in a different directory and may or may not build new/cool pages. With this you can build two different index.html/home.html files, once/twice new/cool files and build the entire directory as less frequently like once a week!


Thats it.

Then you can publish different homepage i.e. index.html or call whatever you want also in a different directory. You could also publish new and cool etc pages that needs to be updated more often and leave them uncommented in the nph-home.cgi and uncomment the rest!!! Soooo easy...Smile

Last edited by:

dearnet: Jul 7, 2003, 12:07 AM

Edit Log: