Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [cassandra] Building second home page ?

Quote Reply
Re: [cassandra] Building second home page ? In reply to
edit nph-build.cgi file

copy and make a second field sub _build_home and rename it to sub _build_second_home on the line in that field:

my $page = $CFG->{build_root_path} . "/" . $CFG->{build_index};

"/" this is where it builds the main home page just rename it to the directory you want it to build into

like this "/cars" or whatever way your directory is set up

then for the build fields add:

# Build Second Home Page.
GT::Plugins->dispatch ("$CFG->{admin_root_path}/Plugins", 'create_home', \&_build_second_home, {});

add that line below the:

# Build Home Page. field

thats it
Subject Author Views Date
Thread Building second home page ? incik 1667 May 22, 2002, 6:43 PM
Thread Re: [incik] Building second home page ?
incik 1593 May 22, 2002, 9:23 PM
Thread Re: [incik] Building second home page ?
cassandra 1585 May 26, 2002, 10:44 PM
Post Re: [cassandra] Building second home page ?
incik 1570 May 27, 2002, 10:33 PM