- Posts: 6
- Thank you received: 0
IE9 starts a download when open frontend
-
Samuz
Inactive member - Topic Author
- New Member
Less
More
12 years 8 months ago #17461
by Samuz
IE9 starts a download when open frontend was created by Samuz
Hello Support,
I have a problem with the cars template. My Site has the new template as default, and when I start the frontend site, the IE9 wants to download a "localhost" file.
When I start the page with firefox 11.0, everthing works fine.
When I start the page with safari 5.1.5 it shows me the site like in a text-editor.
What can I do?
I have a problem with the cars template. My Site has the new template as default, and when I start the frontend site, the IE9 wants to download a "localhost" file.
When I start the page with firefox 11.0, everthing works fine.
When I start the page with safari 5.1.5 it shows me the site like in a text-editor.
What can I do?
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6754
- Thank you received: 718
12 years 8 months ago #17462
by milos
Replied by milos on topic Re: IE9 starts a download when open frontend
Please edit file /templates/hot_cars/css/template_css.css and delete the first 3-4 lines (php code).
Please Log in to join the conversation.
-
Samuz
Inactive member - Topic Author
- New Member
Less
More
- Posts: 6
- Thank you received: 0
12 years 8 months ago #17463
by Samuz
Replied by Samuz on topic Re: IE9 starts a download when open frontend
Hey
thank's for the quick answer.
which code do you mean exactly?
Here are the first 30 lines:
/*
# "Hot Cars" Joomla template - November, 2010
# Copyright (C) 2010 ArhiNet d.o.o. All Rights Reserved.
# License: www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
# Author: HotJoomlaTemplates.com
# Website: www.hotjoomlatemplates.com
*/
/* basics */
a:link,a:visited,a:hover {
text-decoration:none;
}
a.readon:link,a.readon:visited {
font-weight:bold;
text-decoration:none;
}
a.readon:hover {
}
p {
margin:0 0 10px 0;
}
.moduletable p, .moduletable-style2 p, .moduletable-style3 p {
padding:0 10px;
}
thank's for the quick answer.
which code do you mean exactly?
Here are the first 30 lines:
/*
# "Hot Cars" Joomla template - November, 2010
# Copyright (C) 2010 ArhiNet d.o.o. All Rights Reserved.
# License: www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
# Author: HotJoomlaTemplates.com
# Website: www.hotjoomlatemplates.com
*/
/* basics */
a:link,a:visited,a:hover {
text-decoration:none;
}
a.readon:link,a.readon:visited {
font-weight:bold;
text-decoration:none;
}
a.readon:hover {
}
p {
margin:0 0 10px 0;
}
.moduletable p, .moduletable-style2 p, .moduletable-style3 p {
padding:0 10px;
}
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6754
- Thank you received: 718
12 years 8 months ago #17464
by milos
Replied by milos on topic Re: IE9 starts a download when open frontend
Not this file, extension is PHP, not CSS, this is my mistake:
/templates/hot_cars/css/template_css.php
/templates/hot_cars/css/template_css.php
Please Log in to join the conversation.
-
Samuz
Inactive member - Topic Author
- New Member
Less
More
- Posts: 6
- Thank you received: 0
12 years 8 months ago #17465
by Samuz
Replied by Samuz on topic Re: IE9 starts a download when open frontend
Ahh... ok thank you.
Now I tried to delete this part of code:
<?php
$contentpadleft=0; $contentpadright=0;
if($showleft) { $contentpadleft=25; }else{ $contentpadleft=5; }
if($showright) { $contentpadright=25; }else{ $contentpadright=5; }
?>
I think that's not all or I do something wrong. I still have this issue.
Now I tried to delete this part of code:
<?php
$contentpadleft=0; $contentpadright=0;
if($showleft) { $contentpadleft=25; }else{ $contentpadleft=5; }
if($showright) { $contentpadright=25; }else{ $contentpadright=5; }
?>
I think that's not all or I do something wrong. I still have this issue.
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6754
- Thank you received: 718
12 years 8 months ago #17466
by milos
Replied by milos on topic Re: IE9 starts a download when open frontend
No, don't delete this. Delete only this part (comment is maybe different):
Code:
<?php
/*------------------------------------------------------------------------
# "Hot Cars" Joomla template - February, 2010
# Copyright (C) 2010 ArhiNet d.o.o. All Rights Reserved.
# License: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
# Author: HotJoomlaTemplates.com
# Website: http://www.hotjoomlatemplates.com
-------------------------------------------------------------------------*/
header("Content-type: text/css");
?>
Please Log in to join the conversation.
Time to create page: 0.170 seconds