Help with complex template layouts

Discuss phpwcms here, please do not post support requests, bug reports, or feature requests! Non-phpwcms questions, discussion goes in General Chat!
Post Reply
pixi
Posts: 18
Joined: Thu 24. Jun 2004, 16:58
Location: London
Contact:

Help with complex template layouts

Post by pixi »

Hey guys, can anyone point me in the right direction here, I have a complex layout that needs doing, and I am a noobie in WCMS.

I dunno if I am missing something, but I have read you can only use use one { content} tag in one template ? If this is so, how can you do complex layouts?

Image

I have seen layouts done like this in WCMS eg http://www.static-design.com/community/

Any help with this / manuals documentation would help a lot , I am loving WCMS and want to push it to the limit. Cheers pixi. :D [/list]
Never trust a chicken in a gimp suit :)
http://www.maxdefinition.net
Peekay
Posts: 286
Joined: Sun 25. Jul 2004, 23:24
Location: UK

Post by Peekay »

At present, there's no built-in controls to put articles into more than one {CONTENT} tag, although I believe this has been promised for a later release. However, you'll find a workaround and a custom mod in this thread:

http://www.phpwcms.de/forum/viewtopic.php?p=5658#5658

There's a mini-guide on creating a sidebar using the workaround in:

http://www.phpwcms.de/forum/viewtopic.php?p=24965#24965

You could set up numerous 'sidebars' so it is perfectly possible to create the layout you want.

Generally, the key to success is to create a new page layout, ignore all the settings except choose the 'Rendering' option 'Custom (from template main block)'. Next, create a new page template, ignore the 'header', 'footer' 'left' and 'right' sections and build your entire page in the 'main' section of the template using DIVs. You can then add replacement tags (plenty of info on those in this forum) wherever you want them.

You could even layout the page first in a visual editor and cut and paste the HTML code. It's very powerful.

Hope this helps. 8)
Post Reply