From: Alby L. <al...@th...> - 2001-07-12 21:24:37
|
Oops - I am lost. In my BC2 tree, I've got binarycloud/user/htdocs/, but this isn't how I got the sample to work. Wouldn't the page.php file be in the build dir? Or is this after you do a make? A side note: As I was perusing the folders that are mentioned further down, I tried to open /user/htdocs/index.php with an error: >>> Warning: Failed opening './prepend.php' for inclusion (include_path='') in c:\htdocs\cygwin\usr\r2\binarycloud\user\htdocs\index.php on line 11 Fatal error: Call to undefined function: import() in c:\htdocs\cygwin\usr\r2\binarycloud\user\htdocs\index.php on line 13 <<< I imagine this is because the file is not in the right directory yet...right? It will or another version will move to the /build/_sitename_/htdocs folder after the move...? Sorry I am a bit confused.... Alby *****Quote***** > yes! > > 1. Create the page at /user/htdocs/page.php (this will load prepend.php, > > and the Init class) > > > > 2. Create the layout at /user/tmpl/html/layout/page.php (this will have > > the layout template including HTML) > > > > 3. Create the module at /user/mod/page/page.php (this will be the module > > class with constructor and Output()) > > > > 4. Create the module specific template at /user/mod/page/html/page.php > > (this will contain the html stuff) *****/Quote***** |