From: Alex B. <en...@tu...> - 2001-07-12 21:42:48
|
> 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? Page.php is the page class, that's in binarycloud/build/{lang}/binarycloud/core/Page.php after the make. pages in user/htdocs/ go into binarycluod/build/{lang}/htdocs/ > 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 yes, that will never work. you can't do anything useful out of the non-make (i.e. source) tree. The source tree isn't functional at all, imports won't work, etc. Everything now requires that you do a make. > 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.... You need to point apache at binarycloud/build/{lang}/htdocs/index.php, _not_ binarucloud/user/htdocs/index.php :) _a > > *****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***** > > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |