Re: modules, templates, blocks, and NoMoreBlocks

TiMax <[email protected]> Tue, 10 Sep 2002 19:18:07 -0400
Newsgroups gmane.comp.web.envolution.devel
Message-ID <[email protected]>

On 09 Sep 2002 19:54:36 -0500, Scott Kindley wrote:
>On Mon, 2002-09-09 at 17:53, Seth Cribby wrote:
>>First off, let me say that I have not used or seen=
 NoMoreBlocks.
>>Im not sure that I even understand what it exactly it does.=
 =A0From
>>what I hear, it will allow you to specify which blocks are
>>displayed with certain modules.
>>
>>The ability to use a different template for each block already
>>exists. =A0You just need something like this in your blocks=
 template
>>(ie dsblock.tpl ):
>>
>>[-if (eregi("User's Login",$TITLE))-]
>>[-include file=3D"loginblock.tpl"-]
>>[-elseif (eregi("Other Stories",$TITLE))-]
>>[-include file=3D"otherstories.tpl"-]
>>[-else-]
>>[-include file=3D"dsblock2.tpl"-]
>>[-/if-]
>>
>>and then create your specified templates (ie loginblock.tpl).
>>
>>The ability to use a different template for each module also
>>exists. =A0Just replace everything in you master2.tpl with=
 something
>>like this:
>>
>>[-if (eregi("Downloads",pnModGetName()))-]
>>[-include file=3D"master4.tpl"-]
>>[-elseif (eregi("Members_List",pnModGetName()))-]
>>[-include file=3D"memberlistmod.tpl"-]
>>[-else-]
>>[-include file=3D"master3.tpl"-]
>>[-/if-]
>>
>>and create the specified templates.
>>
>>Combining the two above techniques can basically allow you to=
 have
>>completely different styles for all your modules. =A0We are=
 talking
>>about a lot of templates by now though, but many of them will=
 be
>>similar.
>>As long as NoMoreBlocks does not mess with Encompass to much,=
 it
>>will add the above the abiltiy to specify which blocks show up=
 for
>>all you modules.
>>
>>My longwinded point is that we are very near complete=
 customization
>>with envolution. =A0Each module can uses a different template=
 (and
>>will be able to display different blocks. =A0Each block can use=
 a
>>different template (even the same block can use a different
>>template in different modules using nested ifs). =A0The only=
 thing
>>missing is control over the location of each block instead of=
 just
>>rightblocks, leftblocks, ect.
>>
>>Way to go guys, Im loving this stuff. =A0The above may be=
 difficult
>>for some.
>>I think Im gonna put together an example theme that shows the
>>current allowed customization. =A0Keep up the great work!!
>>
>>Seth
>>
>Hi Seth,
>
>I mentioned that I played with the NoMoreBlocks module in=
 another
>post.
>I did not look at the code itslef so I am not yet familiar with=
 how
>it is coded. I can tell you it is administered from the admin=
 panel
>and is basically point and click. Fro what I gathered it did=
 not
>required hand editing templates to accomplish it's work. TiMax=
 will
>have to chime in if I am mistaken.
>
>Zoom

Hi 

Yes zoom you are right 
Sure you can make same thing if you work around the code, but=
 NoMoreBlock let you decide with block show or not from admin=
 with easy point and click .... 

I m in test with it in www.envolution.it  you can see diffrence=
 from home " all blocks 2  "  forum " no blocks "  download "=
 only last downloads 2 or topics " no blocks " 

I just finish to put NoMoreBlock in Envolution.it and later i=
 play with it and put other blocks etc...

We work more around NoMoreBlock to leave admin decide if put=
 block left or right and also to decide with theme and colors you=
 want to see with this module block

TiMax