Multiple CSS
-
- Posts: 35
- Joined: Wed 17. Mar 2004, 17:26
- Contact:
Multiple CSS
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)
(also, this could allow for editing of the print formatted css via the GUI)
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.
-
- Posts: 35
- Joined: Wed 17. Mar 2004, 17:26
- Contact:
-
- Posts: 317
- Joined: Mon 19. Apr 2004, 06:10
- Location: Greenville, SC USA
- Contact:
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?
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?
-
- Posts: 35
- Joined: Wed 17. Mar 2004, 17:26
- Contact:
-
- Posts: 317
- Joined: Mon 19. Apr 2004, 06:10
- Location: Greenville, SC USA
- Contact:
similar topic
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.
It seems like it is a logical feature, especially since this has already been done for templates and page layouts.