From: W.D.Sumilang <wa...@on...> - 2002-04-14 22:49:59
|
Hi Randall, Assuming you've set-up your module correctly, it seems checking your database for certain conditions and then outputing your content on success should do it i.e.: [module index file] if(database conditions exist){ $CNT_yourMod["title"]= "Blah"; $CNT_yourMod["content"] = "more Blah"; } Also you can refer to http://phpwebsite.appstate.edu/mod.php?mod=userpage&menu=150402&page_id=31 in the "templating and theming" section Matt's Fallout primer :) HTH, Warren > Message: 2 > Date: Sun, 14 Apr 2002 09:54:28 -0400 > From: Randall Wood <rh...@ma...> > To: phpWebSite Developers <php...@li...> > Subject: [Phpwebsite-developers] Fallout: a layout question > > I am trying to write a module in Fallout that will display in the sidebar > only under certain conditions. The best I can do results in an empty > box > being displayed. Am I simply overlooking something or does fallout's > layout/theme mechanism just not support this at this point? > > My module wants only to display a sidebar if certain conditions in > the > database are met and to be able to discover this on its own. > > -- > Randall Wood > rh...@ma... |