From: Matthew M. <ma...@tu...> - 2005-05-24 12:02:08
|
Did you add those variables AFTER installation. If so, you will need to create an update package. You can put this in your update.php file: $_SESSION['OBJ_layout']->installModule('module_name'); On Tue, 2005-05-24 at 03:21 -0700, Nick James wrote: > Hi > I have been able to construct a site using phpwesite > successfully. > Now I want to add a module (Student Administration) to > the site. According to the help of the documentation > provided with the "Layout" module, I have put the > output my module into > $GLOBALS["CNT_useradmin_main"]["content"] after > declaring it > > $GLOBALS["CNT_useradmin_main"] = array("title" => > "Login", > "content" => null); > > The conf/layout.php file looks as follows > > <?php > $layout_info[] = array ( > > "content_var"=>"CNT_useradmin_main", > "transfer_var"=>"body", > "home_only"=>0 > ); > ?> > > But still the module part is not visible. > > Could someone help? > > Regards > Nick > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers -- Matthew McNaney Electronic Student Services Appalachian State University http://phpwebsite.appstate.edu |