From: Angel H. <an...@ho...> - 2001-06-14 01:16:17
|
Cool, thanks! I edited the permissions page, and my new directory page now displays fine. But I'm still getting the breadcrumbs error even after removing all references in bc_master.phtml. -- Angel ----- Original Message ----- From: "Alex Black" <en...@tu...> To: "binarycloud-dev" <bin...@li...> Sent: Wednesday, June 13, 2001 5:38 PM Subject: Re: [binarycloud-dev] First BinaryCloud Pages... > > Ok this is my _first day_ with BinaryCloud, so please be easy on me! :-) > > > > After examining various files, classes and the file structure of BC, I'm > > still struggling just to get an index page to appear in a new directory. > > > > Here's what I'm tried: > > > > 1) Create a "photography" directory in htdocs > > 2) Put a plain ol HTML file in ../binarycloud/user/mod/static_pages > > 3) Copied the index file from htdocs to the photography dir > > 4) Edited the index file now in photography, and changed the filename in the > > array to match that of my HTML file without the extension. > > > > Result = A blank page. > > > > If I move this exact index file to htdocs it will work, but not from the > > photography directory. I know it must be a problem with the templates and > > path, but I haven't been able to figure out what needs to be changed. > > > > I tried creating a masters/photography.phtml template based on the > > storm.phtml template, and then changing the index file to use the new > > template, but still no luck. > > > > I'm totally excited over the potential of this system, but a bit frustrated > > trying to break that first layer of ice! > > > > Thanks, > > > > Angel > > for your first mail: > > -edit user/conf/file_permissions.conf, remove the whitespace at the > bottom of the file. > -the "0 length" is a broken bread_crumbs_and_tabs lib, I suggest you > edit user/tmpl/masters/binarycloud.phtml and remove the reference to it > (you'll see a bit of php with breadcrumbs! comments around it. > > > here, you must add an entry to user/conf/file_permissions.conf for your new > file. it would also be appropriate to add your new directory to the > directories array (at the bottom of that same file) > > your page should execute fine, as soon as you put it in there. > > --------- > > Don't spend too much time with r1, r2 is a hell of a lot easier to > understand coming in because of the classes. > > though I might have to backpedal on that because we _are_ using makefiles :) > > _alex > > > -- > alex black, ceo > en...@tu... > > the turing studio, inc. > http://www.turingstudio.com > > vox+510.666.0074 > fax+510.666.0093 > > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev |