-
AuthorPosts
-
Menalto Friend
Menalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
June 16, 2008 at 7:32 am #129737If you get a error when you gonna edit the css file for the template you can do the following.
Open up the css folder of the template and change name on the template.css file to:
template_css.css
Then open up the index.php and find this code here:
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" />
And change it to:
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template_css.css" type="text/css" />
Then rename the template.css file to template_css.css, you find that file in the css folder of the template
cgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
July 10, 2008 at 6:41 am #258927<em>@Menalto 59398 wrote:</em><blockquote>If you get a error when you gonna edit the css file for the template you can do the following.
Open up the css folder of the template and change name on the template.css file to:
template_css.css
Then open up the index.php and find this code here:
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" />
And change it to:
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template_css.css" type="text/css" />
Then rename the template.css file to template_css.css, you find that file in the css folder of the template</blockquote>
Hi Menalto,
I do not experience the problem possibly because I have been doing it via FTP. My more important question though is why the need to change to
change name on the template.css file to:
template_css.css
and then changing all those other places?
Why did template.css not work, in the first place?
Cornelio
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
July 10, 2008 at 7:00 am #258931Joomla 1.0.xx reads template_css.css from the backend and if you try to edit the the css file from the backend you get a error message.
So to be able to edit the css file from the backend(only in Joomla 1.0.xx version) you need to change the name and change this marked in red to template_css.css in the index.php file for the template:<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" />
If you rename the file name from template.css to template_css.css and not change it in index.php you will not have any css file included to the template and no styling will show up.cgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
July 10, 2008 at 8:43 am #258957<em>@Menalto 65498 wrote:</em><blockquote>Joomla 1.0.xx reads template_css.css from the backend and if you try to edit the the css file from the backend you get a error message.
So to be able to edit the css file from the backend(only in Joomla 1.0.xx version) you need to change the name and change this marked in red to template_css.css in the index.php file for the template:<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" />
If you rename the file name from template.css to template_css.css and not change it in index.php you will not have any css file included to the template and no styling will show up.</blockquote>
Let me rephrase this then Menalto, for me to understand it better:
If you edit a css file using FTP, which is my preference, you do not have to do any of the above, modifications?
When I was new using Joomla, I used to edit the css using the backend, until I realized, it is much easier to do it via FTP. But, even then, I recall having encountered this issue. That is why I am puzzled when people talk about template_css.css, and I do not have any of those in my installations.
Cornelio
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
cgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
July 10, 2008 at 9:29 am #258971<em>@Menalto 65536 wrote:</em><blockquote>Correct, if you use FTP no need for the above changes, only if you get an error editing when using the administrator panel of Joomla</blockquote>
Thanks for explaining Menalto. I do not want to change anything, unless I understand why.
Cornelio
September 1, 2008 at 4:37 pm #268188Hi,
I have this problem, but I can’t neither erase, upload a new css file, nor rename, nor edit… nothing. I’m using all ways, from Joomla backend, my hosting control panel, and http://FTP... nothing works…
I’m starting to wonder WHY this problem only happens with JA templates. I’ve using many many many many templates for years, then one day I liked one template from JA, bought membership and now I’m stuck with this one template wasting hours and hours… and now what?
Why am I reading now that I shouldn’t use Joomla Administration backend? Why this only happens with JA templates? What can I do now?
:((
BTW I’m using Joomla 1.0.15 and the css template already is named template_css.css
-
AuthorPosts
This topic contains 7 replies, has 3 voices, and was last updated by esterlizia 16 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum