Page 1 of 1

CSS Controlled Content Parts

Posted: Mon 10. Jan 2005, 17:41
by Spencer
Hi all.

Firstly, Thanks Oliver for all your work. Great CMS.

I'd really like to see in the upcoming version, the removal of all tables in layout and thier replacement with CSS. (apart from for tabular data)

e.g. using floated images in the "text with image" content.

It would be great to be able to control not only the overall site layout, but also each content part with CSS. When adding a content part, maybe the corresponding CSS could be added to the style-sheet.

I am not a php programmer, so I wouldn't know where to start with this. I am a designer who wants to use CSS whenever possible

I hope this is considered constructive.

If phpwcms was fully CSS driven, it would 100% suit my needs.

Posted: Mon 10. Jan 2005, 18:32
by marco
There is a forum member who has already done this for most content parts; he also has a website where he shows the result. You may try to do a search on the forum and contact him, see if he's willing to release his modifications; unfortunately I do not recall his name.

Re: CSS Controlled Content Parts

Posted: Mon 10. Jan 2005, 18:34
by spirelli
Spencer wrote:Hi all.

Firstly, Thanks Oliver for all your work. Great CMS.

I'd really like to see in the upcoming version, the removal of all tables in layout and thier replacement with CSS. (apart from for tabular data)

e.g. using floated images in the "text with image" content.

It would be great to be able to control not only the overall site layout, but also each content part with CSS. When adding a content part, maybe the corresponding CSS could be added to the style-sheet.

I am not a php programmer, so I wouldn't know where to start with this. I am a designer who wants to use CSS whenever possible

I hope this is considered constructive.

If phpwcms was fully CSS driven, it would 100% suit my needs.
Good suggestion. I second that.

Posted: Mon 10. Jan 2005, 21:42
by pepe
Hi,

do you mean our phpWCMS-friend pixelpeter?

http://phpwcms.pixelpeter.de/index.php?contenttypes

Posted: Tue 11. Jan 2005, 09:58
by Spencer
do you mean our phpWCMS-friend pixelpeter?
Basically yes. (=

I had seen this already...and they are good, but I think it would be great if this was a core part of phpwcms. Web standards are a big thing at the moment, and it would be good if phpwcms was totally compliant.

Not only good for users, but good for advocates. It is another reason to give why phpwcms is an excellent choice.

Also, as an example Pixelpeter (Great work btw - please don't take this as a critism) uses divs for all the plain text + html parts - I personally would go with <h1> <h2><h3> and <p> as this would be more representative of a very simplified markup.

There may be reasons why this approach wouldn't work...I don't know - just an observation.