Could not find the file 'template.css' ERROR

General questions relating to Joomla! 1.5 There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
volito
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Mon May 10, 2010 12:59 pm

Could not find the file 'template.css' ERROR

Postby volito » Tue Sep 07, 2010 11:42 am

installed JCE editor when I change value in globel to use editor I get theis message when I go to articles

* Could not find the file 'template.css' in the template or templates/system folder.
* The css file '/templates/system/css/editor.css' is being used instead.


any ideas where I went wrong?

User avatar
Alex Dobrin
Joomla! Hero
Joomla! Hero
Posts: 2467
Joined: Wed Jun 07, 2006 9:10 am
Location: Brasov - Romania
Contact:

Re: Could not find the file 'template.css' ERROR

Postby Alex Dobrin » Tue Sep 07, 2010 1:50 pm

See the configuration page of the JCE editor.
Set the parameter "Use Template CSS" to "No" and define "Custom CSS file" to the main CSS file of your template.
My latest project - http://www.extraglaze.co.uk/

volito
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Mon May 10, 2010 12:59 pm

Re: Could not find the file 'template.css' ERROR

Postby volito » Tue Sep 07, 2010 4:10 pm

great would that be

corej.css, editor_content.css, layout_core.css ETC.

User avatar
Alex Dobrin
Joomla! Hero
Joomla! Hero
Posts: 2467
Joined: Wed Jun 07, 2006 9:10 am
Location: Brasov - Romania
Contact:

Re: Could not find the file 'template.css' ERROR

Postby Alex Dobrin » Tue Sep 07, 2010 5:11 pm

volito wrote:great would that be

corej.css, editor_content.css, layout_core.css ETC.


Not sure if this is a question, but each template can have it's own CSS files, you can have one setting that will work with all of them.
What you can do is create your own CSS and use it on all your pages.
My latest project - http://www.extraglaze.co.uk/

volito
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Mon May 10, 2010 12:59 pm

Re: Could not find the file 'template.css' ERROR

Postby volito » Tue Sep 07, 2010 5:43 pm

Yes it was a question. There are at least 6 css files and noticed most templetes have a template,css but not this one. So not sure which one to point to.

User avatar
Alex Dobrin
Joomla! Hero
Joomla! Hero
Posts: 2467
Joined: Wed Jun 07, 2006 9:10 am
Location: Brasov - Romania
Contact:

Re: Could not find the file 'template.css' ERROR

Postby Alex Dobrin » Tue Sep 07, 2010 6:18 pm

I use "templates/system/css/editor.css" because you can't get an exact CSS environment as the front-page any way so you need to preview the page to see how it looks.
My latest project - http://www.extraglaze.co.uk/

volito
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Mon May 10, 2010 12:59 pm

Re: Could not find the file 'template.css' ERROR

Postby volito » Tue Sep 07, 2010 6:31 pm

Ok ill try and point it to editor.CSS in the template correct?

Thanks

User avatar
Alex Dobrin
Joomla! Hero
Joomla! Hero
Posts: 2467
Joined: Wed Jun 07, 2006 9:10 am
Location: Brasov - Romania
Contact:

Re: Could not find the file 'template.css' ERROR

Postby Alex Dobrin » Tue Sep 07, 2010 6:39 pm

volito wrote:Ok ill try and point it to editor.CSS in the template correct?

No. Use that exact string ( templates/system/css/editor.css ). It will use an CSS from the "templates\system" folder.
My latest project - http://www.extraglaze.co.uk/

volito
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Mon May 10, 2010 12:59 pm

Re: Could not find the file 'template.css' ERROR

Postby volito » Wed Sep 08, 2010 2:59 am

awesome worked great thanks

User avatar
Alex Dobrin
Joomla! Hero
Joomla! Hero
Posts: 2467
Joined: Wed Jun 07, 2006 9:10 am
Location: Brasov - Romania
Contact:

Re: Could not find the file 'template.css' ERROR

Postby Alex Dobrin » Wed Sep 08, 2010 3:50 am

Happy to hear that. :)
My latest project - http://www.extraglaze.co.uk/

marshalrosy
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Wed Sep 08, 2010 4:05 am

Re: Could not find the file 'template.css' ERROR

Postby marshalrosy » Wed Sep 08, 2010 4:20 am

I was facing the same problem.. I was scratching my head by searching the css of template file in system folders and also tried to search it over net but couldn't get the wright answer. Thanks guys to create this thread and given the working solution :)
Signature rules: Literal URLs only - viewtopic.php?f=8&t=65

User avatar
Poeten
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 237
Joined: Wed Sep 20, 2006 8:03 am
Location: Södertälje
Contact:

Re: Could not find the file 'template.css' ERROR

Postby Poeten » Tue Oct 26, 2010 1:33 pm

Thanks a lot! ;D

JEndahl
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Tue Sep 09, 2008 4:48 pm

Re: Could not find the file 'template.css' ERROR

Postby JEndahl » Mon Jan 10, 2011 1:45 pm

Alex,

Just letting you know that your excellent advice saved another struggling Joomla-ite! Thanks.

--> John


Return to “General Questions/New to Joomla! 1.5”

Who is online

Users browsing this forum: No registered users and 14 guests