Page 1 of 1

will v2 have full CSS support?

Posted: Wed 2. Feb 2005, 04:29
by stevenlyons
This is something that would make phpWCMS much more useable for commercial projects:

Will the basic structure continue to be tables-based, or will v2 use CSS divs for layout?

Posted: Wed 2. Feb 2005, 08:16
by pico
you can use CSS for Layout since ?? 1.x

I have make a a Testsite with a small discription here
http://www.hdk-online.de/howto.phtml

hope it helps

Posted: Wed 2. Feb 2005, 16:32
by stevenlyons
Yes, you can use CSS for custom designs within phpWCMS. But the underlying structure (if you use the built-in layouts) is tables-based.

Posted: Wed 2. Feb 2005, 19:37
by loeppel
The concept of the phpwcms system is - from amdin interface view - not very flexible. I think the "page layout" should also result in a HTML text (like the Templates but only one text), because for beginners and non experts its good to have a HTML creator (like its now), but for Advanced users the system should be as flexible as possible. At the moment this is saved in pagelayout_var as a BINARY data, which is absoultlty unnecassary beacuse this is HTML data, and nothing other wth you need here binary data?

The IPB-Wrapper (Invisionboard) is a good example of an implementation thats flexible!
I think we don't need a application like Word, we need a application which we can customize!

The "custom (from template main block)" is a workaround, but i don't understand how it works at the moment and i think this sould be much clearer in v2!

cya
loeppel

PS: Sorry for my bad enlgish... - but i prefer german ;)

Posted: Wed 2. Feb 2005, 21:25
by Oliver Georgi
The page layout is absolute flexible - check it out.

Seitenaufbau:
O Tabelle O CSS DIV O Eigener (aus Vorlage Haupt-Block)

Was willst Du mehr? Wenn Du nicht verstehst, wie das funktioniert, dann probier' es aus und Du wirst erkennen, dass gerade darin die Stärke liegt.

Oliver

Posted: Wed 2. Feb 2005, 22:49
by Karla
stevenlyons wrote:Yes, you can use CSS for custom designs within phpWCMS. But the underlying structure (if you use the built-in layouts) is tables-based.
You have these choices below and if you choose the 2nd or 3rd options, I ~believe~ the only tables that appear would be "table-based" replacement tags (such as NAV_TABLE_COLUMN).

Code: Select all

rendering:          O  table    O css div    O custom (from template main block) 

Posted: Wed 2. Feb 2005, 22:58
by stevenlyons
yes but have you actually tried to use the CSS Div option? Its not exactly user friendly.

If I want to build an all CSS layout, I typically place all my design elements into the Main block and stay away from using the built-in left/right columns. Which is a pity. If only the CSS option would work something like:

http://www.inknoise.com/experimental/layoutomatic.php

Posted: Wed 2. Feb 2005, 23:55
by Oliver Georgi
For selection DIV a container DIV is included now.

Page will be rendered like this now (next coming DEV release):

Code: Select all

<div id="container">
	<div id="headerBlock"></div>
	<div id="leftBlock"></div>
	<div id="rightBlock"></div>
<div id="mainBlock"></div>
	<div id="footerBlock"></div>
</div>
Oliver

Posted: Thu 3. Feb 2005, 00:03
by stevenlyons
Thanks Oliver. So you are addressing my concerns. Great!
Just out of curiosity, what will be the default CSS styles associated with each div?
Will they use absolute positioning? Or will a 'liquid' layout be the default?

Posted: Thu 3. Feb 2005, 00:08
by Oliver Georgi
Hm, maybe very general styles as in your link - names as above. I think this is OK.

Oliver

Posted: Thu 3. Feb 2005, 00:13
by stevenlyons
Excellent! :D