Re: Page blocks

Joe Stewart <[email protected]> Mon, 10 Nov 2003 06:39:17 -0600
Newsgroups gmane.comp.cms.phpslash.devel
Message-ID <[email protected]>
On Mon, Nov 10, 2003 at 12:01:04PM +0000, Peter Cruickshank wrote:
> Still getting my head round the pure-blocks approach to building the site... a 
> couple of questions:
> 
> 1. Is there a way to get several modules to be in the same section?
> 
> I'm thinking of say a 'General information' section, with common blocks, but 
> used by two modules:
> - the glossary
> - a feedback/contact us form

Do you want the two modules shown on the same page?

> It seems to me that I'll need to have separate Glossary and Feedback sections, 
If not it sounds like you are describing two sections.

> manually make sure that they have the same blocks...
>
> 2. What contains the blocks in the top and bottom columns? 
> 
> The old navbar and topic bars were in slashHead.tpl and slashFoot.tpl. It now 
> seems they are inserted between slashHead/Foot.tpl and index?col*.tpl.
>

You're right.

The default data has:

	slashHead
	topic bar
	navbar

	center

	navbar
	slashFoot

I think.

So if you don't use the topic bar or want to move the navbar to the left
blocks, you can do it right from the block admin.

uses:

Got different ad zones?
I guess you could do away with the header file and have everything in the
index template if you edit html in a wysiwyg editor.


> To keep alignments neat, I find I'm having to remove the close/open table+div 
> code from slashHead/Foot and copy it to each of the index*.tpl files. Seems 
> messy...
> 

I hate to hear this.

> What approaches have you all taken?
>

A couple of the skins ported from other projects did this too.  I changed
some of them, but others left as is.


> Peter
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: ApacheCon 2003,
> 16-19 November in Las Vegas. Learn firsthand the latest
> developments in Apache, PHP, Perl, XML, Java, MySQL,
> WebDAV, and more! http://www.apachecon.com/
> _______________________________________________
> Phpslash-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/phpslash-devel


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/