[support] Page with two Sections

Jason Flatt drupal at oadaeh.net
Wed Sep 19 16:13:57 UTC 2007


On Wednesday 19 September 2007 07:30:31 Fred Jones wrote:
> I have several pages with unique layouts from the designer. All share a
> common footer/header but in some there are 2 columns in others 3
> columns. Some have boxes with text others have no boxes--in short, there
> are almost 10 different unique layouts.
>
> I can build each one with HTML no problem, but they want certain pages
> to be easily editable by non-technical personnel--they want to be able
> to edit each item as pure text. So my inclination is to separate these
> pages into separate areas and make each one a node of some sort.
>
> The first idea that comes to mind (for a page with 3 boxes, for example)
> is to make 3 nodes, one for each, and then enter the content. Then I
> make a page and use PHP to put the content of each into the correct <div>.

Make each box (not the pages) a separate node with it's own content.

> Then the users can edit the content nodes and not the page nodes.
>
> Questions are: Is this a reasonable approach? Is there a better one?
> Should I use a CCK node for the boxes or would a 'page' be enough? I
> would think that if I only need body and maybe title, that page should
> be enough.

Try checking out the Panels module:
http://drupal.org/project/panels

> Thanks!
>
> PS: I considered using tinymce or some such and building the pages that
> way, each as one page, but the HTML is generally ugly then and also it
> makes me nervous that it's easy for a user to break a page that way,
> because he has control over the layout, yet doesn't know what he's doing...

Um, I'm not even sure that's possible.

-- 
Jason Flatt
http://www.oadaeh.net/
Father of Six:  http://www.flattfamily.com/ (Joseph, 14; Cramer, 12; Travis, 
10; Angela; Harry, 7; and William, 12:04 am, 12-29-2005)
Linux User:     http://www.xubuntu.org/
Drupal Fanatic: http://drupal.org/


More information about the support mailing list