template.css file needed?

Phoca Gallery - image gallery extension
mmeytin
Phoca Member
Phoca Member
Posts: 13
Joined: 01 Jul 2008, 05:29

template.css file needed?

Post by mmeytin »

This maybe a stupid question, but I was wondering if someone could tell me what is /templates/system/css/template.css file used for? I don't have this file, and keep getting 404 errors in my log. Phoca Gallery functions and looks fine without it. Is there an easy way to get rid of a link to this file from Phoca Gallery pages?

Thanks in advance for any help!

Mark M.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: template.css file needed?

Post by Jan »

This is a basic part of Joomla framework and is called by template... e.g. for system messages...

E.g. user will login with wrong name. Then he will get error message which says that he added a wrong name or password.... styled by system css

The problem of some old templates (e.g. templates for 1.5 legacy) is, that they don't have defined css or html space for system messages, then user but administrator too don't get any system messages and they don't know what is wrong, e.g. ...

Jan
If you find Phoca extensions useful, please support the project
mmeytin
Phoca Member
Phoca Member
Posts: 13
Joined: 01 Jul 2008, 05:29

Re: template.css file needed?

Post by mmeytin »

Jan,

thanks for you reply. So, should this file be included with basic Joomla distribution? I don't seem to have it in my directory structure. I know it doesn't hurt anything to have a non-existing link, but it just keeps filling up the log files with the 404 messages. I could create an empty template.css just to avoid the messages, but I wanted to handle this correctly, if I could. Thanks!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: template.css file needed?

Post by Jan »

Yes, I understand it... this file should be a part of joomla framework, see:

/templates/system/css/system.css

Jan
If you find Phoca extensions useful, please support the project
mmeytin
Phoca Member
Phoca Member
Posts: 13
Joined: 01 Jul 2008, 05:29

Re: template.css file needed?

Post by mmeytin »

Jan,

I have system.css present in templates/system/css directory, but template.css is not. I get 404 errors for the template.css file. Does that mean my Joomla installation not complete?

Thanks,
Mark M.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: template.css file needed?

Post by Jan »

Aha, sorry for misunderstanding...

template.css... I had take a look at Phoca Gallery files and didn't find any calling of template.css ... so maybe somewhere in your site is called template.css but by which file (maybe template.css should be system.css)

there is:
templates\beez\css\template.css
administrator\templates\khepri\css\template.css

but not your file ???

(so maybe it is not produced by Joomla! standard package)
Jan
If you find Phoca extensions useful, please support the project
ssmeredith
Phoca Member
Phoca Member
Posts: 14
Joined: 13 Jan 2009, 19:39

Re: template.css file needed?

Post by ssmeredith »

HI there!

mmeytin, did you ever get this fixed? I am with the same problem using j 1.5.22 last update

jFinalizer Error 401: asset file not found: /templates/beez/css/template.css
hide

so it looks fine on front end but something in the template for phoca gallery is calling this .css file. I don't use beez and took it out. There were no problems, but for this, which didn't show on front end but is causing errors now that I am trying to compress/combine css for performance.

Like mmeytin said, what in phocal gallery is calling to this css file and if so where so I can fix it?

Jan, thanks much for your great products and your assistance,
mmeytin
Phoca Member
Phoca Member
Posts: 13
Joined: 01 Jul 2008, 05:29

Re: template.css file needed?

Post by mmeytin »

ssmeredith wrote: mmeytin, did you ever get this fixed? I am with the same problem using j 1.5.22 last update
No, sorry - I don't think we ever resolved this, and because it didn't have any visible negative effect on the site, we just lived with this error. I have since moved to another project, so I'm not sure what the current status of this issue is.

Regards,
Mark M.
ssmeredith
Phoca Member
Phoca Member
Posts: 14
Joined: 13 Jan 2009, 19:39

Re: template.css file needed?

Post by ssmeredith »

Thanks Mark!

I just added the .css file in question and it solved the problem. I added the entire template, then checked it and then deleted all but the .css folder.

For me it was causing front end errors when the Jfinalizer ( performance optimizer extensioon) was trying to compress.

I didn't realize how old this post was so I can imagine you have moved on :) So double thanks for replying.

Have a good one!!
M
Post Reply