giving the contentparts a css definition

Discuss phpwcms here, please do not post support requests, bug reports, or feature requests! Non-phpwcms questions, discussion goes in General Chat!
Post Reply
User avatar
habi
Posts: 166
Joined: Sun 15. Feb 2004, 13:39
Location: Rutschwil, Switzerland
Contact:

giving the contentparts a css definition

Post by habi »

Would be nice if I can "publish" some div ans span tag defnitions to the contentmanager so he can then choose a name from a popup to every item in the article creation.

This means:
articletitle can have a div tag "maintitle"
articlesummary can have a div tag "defaultsummary"
and so on for every item an only the the published tagnames can be choosen.


This "published" tag names the webdesigner has to document for the contentmanager.
User avatar
Oliver Georgi
Site Admin
Posts: 9948
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

I'm thinking about "styles" ;-)

This will be available when Jérôme's work is integrated.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
rk
Posts: 162
Joined: Sat 24. Apr 2004, 23:48
Location: Hannover, Germany
Contact:

Post by rk »

I think styles are the best way.

But it is better, if you use standard-html-tags as default in conf.template_default.inc.php.

.article { style }
.article h1 { style }
.article h2 { style }
.article p { style }

<div class"article">
<h1>Headline1</h1>
<h2>Headline2</h2>
<p>Articletext ...</p>
</div>

on that way everybody could have correct access to the content.

That works much better with textbrowser, for handicaped or blind people, ...
Ralf
Post Reply