Page 1 of 1

Multiple CSS

Posted: Mon 12. Apr 2004, 22:53
by jaredhales
i wish there was support in the backend for multiple css files as there is with templates & layouts. if you use css to do heavy styling, you'll need this.

(also, this could allow for editing of the print formatted css via the GUI)

Posted: Wed 14. Apr 2004, 08:56
by Pappnase
hello

i never try it before. but if you change the whole css and add custom css parts. then rename it and place it in the /phpwcms_template/inc_css/ folder. i don't now if this feature really necessary cos you have also the whole phpwcms style in there! but if you really need it try it this way.

Posted: Wed 14. Apr 2004, 09:56
by pSouper
having a css manager in the same way already we have layout and template manager is a good idea but for now you could place the 'css include' in to your template

Posted: Wed 14. Apr 2004, 19:52
by ionrock
One thing to consider with this is how much do you want to allow a user to change. For example, I am setting up some sites with phpwcms so the customers can go in and edit things and eventually add new pages and things. i would not want them to mess with the css since they don't know what they are doing. One option would be a css upload option to upload a new css to the directory so you could choose which one you want per template. At the moment if you want one other than the default just upload it to your phpwcms_templates/inc_css/ (i think that is the directory) to have it show up in your css options for the template. Again more functionality would really depend on what you want to allow users to do.

Posted: Wed 14. Apr 2004, 20:31
by jaredhales
if you're using div and css to do all the placement and styling, you would NEED multiple stylesheets. that's the problem I'm running into. I'll try some of your suggestions, but it would be cool if the backend had this capability built in.

Posted: Mon 19. Jul 2004, 04:50
by 1996 328ti
Hate to dig up an old thread but I was searching for this topic.

The problem is I wanted to use a separate css file for certain articles.
Adding the css file within the template seemed to cause somekind of loop.
Then I created my article using wysiwyg html and include the css in it.
It seems to work well except when I got back to edit the article the css text disappears. Not a big problem since I just keep on pasting the css text as I need.

To see it you can look at http://www.nccbmwcca.org/index.php?id=15,231,0,0,1,0

I need to work on my header to accommodate the main section better.
But you can get the idea.

Now the question is. is this not a good idea?

Posted: Mon 26. Jul 2004, 23:30
by jaredhales
I found that you can put multiple css files in:
phpwcms_template/inc_css/

Then, these css file can be assigned to different templates.

This is much easier than maintaining css in each article.

Posted: Tue 27. Jul 2004, 01:26
by 1996 328ti
Good idea.
I found when I include the necessary css with the wysiwyg article they disappear if I go back and edit the article. Plus by using the template method I won't forget to include the css. I just have to remember to select the template.

similar topic

Posted: Tue 27. Jul 2004, 08:29
by Ben
Just wanted to link to another thread regarding the same issue - http://phpwcms.de/forum/viewtopic.php?t=2642
It seems like it is a logical feature, especially since this has already been done for templates and page layouts.

Posted: Tue 27. Jul 2004, 08:45
by Pappnase
hello

but always remember that you have to include the hacks one more time if you update to a newer version.

Posted: Tue 27. Jul 2004, 08:56
by Ben
Papps,
You're right about that - it seems that this would be valuable to many people and should be built into the core (IMHO).

By the way, has anyone heard anything about when the next release might be and what items from the ToDo list might be checked off as a result?

Posted: Tue 27. Jul 2004, 09:02
by Pappnase
hello ben

the next release will come.......*gg :wink:
oliver say not release dates anymore so we need to wait!