Uploading CSS Files In Trial
Posted: 12 May 2008 11:07 AM   [ Ignore ]  
Grad Student
Rank
Total Posts:  34
Joined  03-26-2008

This relates to a Trial Version

I’m attempting to upload a CSS file to the upload folder but I get a message saying that I can’t upload a file of that type.

Related Information:
File name = Article_Header_1V0.css
File Upload preferences are set to “All File Types”

What is the source of the problem?

Thanks.

Profile
 
 
Posted: 12 May 2008 11:14 AM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  756
Joined  03-16-2002

Why would you do that? CSS can be stored as templates through the Control Panel (having a special template type “CSS") - no need to upload, just copy and paste the code in a template.

 Signature 

Markus Stolpmann • Expression Engine 1.6.4
Current project: kamaco.info - (german) website for Austrian publication coach K. Matejcek

Profile
 
 
Posted: 12 May 2008 11:40 AM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  34
Joined  03-26-2008
ms - 12 May 2008 11:14 AM

Why would you do that? CSS can be stored as templates through the Control Panel (having a special template type “CSS") - no need to upload, just copy and paste the code in a template.

Well, call this inexperience, but it seemed as though it would be less trouble to do all my CSS edits locally and just upload the revised file than to make edits to both the css files. However, yr point about just cutting and pasting the contents of the whole file probably amounts to the same effort.

Your point notwithstanding I also thought it would be less effort to upload new CSS files rather than having to create a new template for the CSS within EE.

For my first experimental page I created css templates within EE but having done that it seemed intuitively, but perhaps incorrectly, that the process of managing all the css files would be easier if it were handled locally and then uploaded so that there were identical versions both locally and in EE. Making edits or even copying and pasting the contents of the file seems that it would be a possibly source of introducing errors.

Thanks for your help.

Profile
 
 
Posted: 12 May 2008 11:50 AM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  698
Joined  02-15-2008

I personally create a folder in the EE root called ‘interface’, inside which goes folders for CSS and JS. And I then just whack the CSS and JS in there, seperate to the EE control panel entirely.

Whichever way floats your boat, the disadvantage of this method of course is that you can’t access the files via CP which is occassionally rather handy.

 Signature 

Andy Harris | Pepper Digital | Malvern, UK | Twitter | New to ExpressionEngine? Start here!
Remember - If at first you don’t succeed, you’re not Chuck Norris

Profile
 
 
Posted: 12 May 2008 12:55 PM   [ Ignore ]   [ # 4 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  756
Joined  03-16-2002

Dorich, of course, you can do whatever you like when hosting EE on your own webspace. Then, it might be useful to use the “save templates as files” option. But as far as I know, that option isn’t available in the trial. However, I would want to keep templates and CSS in the same place - either stored in the database only or saved as a file. That way, you even have the benefit of using EEs caching mechanisms to speed up delivery.

Markus

 Signature 

Markus Stolpmann • Expression Engine 1.6.4
Current project: kamaco.info - (german) website for Austrian publication coach K. Matejcek

Profile
 
 
Posted: 12 May 2008 01:05 PM   [ Ignore ]   [ # 5 ]  
Grad Student
Rank
Total Posts:  34
Joined  03-26-2008

Thanks Andy and ms for the additional thoughts.

Much appreciated.

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 60719 Total Logged-in Users: 20
Total Topics: 73172 Total Anonymous Users: 9
Total Replies: 394653 Total Guests: 490
Total Posts: 467825    
Members ( View Memberlist )