Page 1 of 1
separate Stylesheet for aticle
Posted: Fri 30. Apr 2004, 18:39
by LANtastic
Does anyone know if there to realize this :
Article 1 uses stylesheet art1.css
Article 2 uses stylesheet art2.css
...
...
All those articles are inside the same structurelevel and use the same template. But ... I need seperate Stylesheets.
I think the simpliest way would be to add a single field in article basis information window, but I have no clue how to include this.
articles
Posted: Fri 30. Apr 2004, 20:42
by seo-105
Hi LANtastic:
I found that I wanted to raise an image to be level with the opening heading in the article for my homepage. There was no way to do this using the built in article section.
What I did was decide to make all of my website pages as different "template" pages so that I could do whatever I wanted to, to the underlying html code. I will use the "article" section in admin for visitors/users to my website that don't know how to write HTML.
Create 2 articles as 2 different templates and reference 2 different CSS in the html. That way you can do whatever you want to any website page.
hth
Posted: Fri 30. Apr 2004, 21:15
by snobba
And because the template section are without copy/paste you could copy/paste(and just change names on them) in the phpwcms_template table in your database - with phpmyadmin.
/ Martin
Posted: Fri 30. Apr 2004, 22:21
by LANtastic
That's exactly what I did, but having about 30 different Articles ..... uuuuuuuh ...... no other possibility ?
Even if there's no other way with RC3, this could be taken as enhancement request for further releases ... seperate Stylesheets for different articles ... chosable in the Article Basis Information
Posted: Fri 30. Apr 2004, 22:27
by Pappnase
hello
i don't know if this is really needed!*smile* but write it in the feature request part!
Posted: Fri 30. Apr 2004, 22:29
by seo-105
Looks like a request for the next version.
Posted: Fri 30. Apr 2004, 22:30
by LANtastic
Imagin you have to do this :
http://www.fabrice-pascal.de/artikel/
http://www.fabrice-pascal.de/bugbase/
Everything based on CSS, maybe you understand me
@seo-105
I'm currently looking for a possibility to avoid copy & paste
If you look at the 2 links I posted above you'll understand why I need this
Posted: Fri 30. Apr 2004, 22:35
by Pappnase
Ok now i understandcould be a useful function!*smile*