Re: new Blocks

Joe Stewart <[email protected]> Thu, 31 Jul 2003 14:49:36 +0200
Newsgroups gmane.comp.cms.phpslash.devel
Message-ID <[email protected]>
On Thu, Jul 31, 2003 at 01:41:50PM -0400, Matthew Leingang wrote:
> Hi again,
> 
> I've got the phpslash-dev version up and running, and it looks pretty 
> cool.  If it's as flexible as it's trying to be, adding new 
> functionality will be easy to do.
> 
> There's something that's bothering me, though...how are the stories 
> associated to the main page?  The way I trace it is that
> public_html/index.php calls include/modules/block/index.php, which finds 
> the page block and calls parse on that.  But I keep thinking there 
> should be a "story" block that is in the center column.  I don't see any 
> such thing, yet the "Congratulations!" story appears right where it 
> should.  
> 
> Tell me how! :-)
> 

A "module" block is assigned to the center column of the home section.  In
the absence of a block_option or GET variable called "module", a default
module is chosen.  "Story" is specified as the default module in
config.ini. 

later,

Joe

> --Matt
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> Phpslash-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/phpslash-devel


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01