-
AuthorPosts
-
estradatrabajo Friend
estradatrabajo
- Join date:
- February 2011
- Posts:
- 34
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
May 13, 2011 at 7:35 pm #163972I want to put the JSS and CSS files at the end of the loading of the web (in order to load the images without wait the load of the CSS and JSS files). But I don’t know in which file I must to do the changes. Anyone know which one is the file that define the loading order? (I use Teline IV in Joomla 1.6)
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
May 14, 2011 at 7:04 am #391169Please use cache setting in the template.
If you make the Js to load at the end. Most of the Js related activity will not work.
estradatrabajo Friendestradatrabajo
- Join date:
- February 2011
- Posts:
- 34
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
May 14, 2011 at 7:25 am #391176I’m using cache already, but Teline IV is not a quick template.
Would you be so kind to tell me how can I make the JS to load at the end? Just to try.
A few people has told me the problem putting the JS at the end is that some functions are not working until the end of the web loading. But, if that is the only problem, I don’t care, I prefer the visits can see the web from the beggining of the loading (if they’re are waiting 6 seconds watching a blank page, they can go out; it’s better that some functions don’t work in the first 6 seconds).
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
May 14, 2011 at 7:50 am #391183This is Absolutely Not recommended.
But this will provide you the one you needed.
Go to This Folder /plugins/system/jat3/base-themes/default/blocks/
Copy head.php and place it in the following folder /templates/ja_teline_iv/blocks/
Then open the head.php file
Find this Code and remove it
<jdoc:include type="head" />
Then open the footer.php file in this folder /templates/ja_teline_iv/blocks/
Add the following code at the end of the File.
<jdoc:include type="head" />
All Js related activity will not work. 🙁
Note: If you Find my Post useful please click on the Thanks Icon
1 user says Thank You to chavan for this useful post
estradatrabajo Friendestradatrabajo
- Join date:
- February 2011
- Posts:
- 34
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
May 18, 2011 at 2:51 pm #391828Thanks for the help, but I’ve tried your system and it doesn’t work: JS keep loading at the beginning of the web loading. I’ll keep searching another way.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
May 19, 2011 at 5:29 am #391899I tried doing it in my site, But the Js Loaded at the End of the site. 🙂
estradatrabajo Friendestradatrabajo
- Join date:
- February 2011
- Posts:
- 34
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
May 19, 2011 at 7:38 am #391919And when you tried it your site loaded faster than before?
-
AuthorPosts
This topic contains 7 replies, has 2 voices, and was last updated by estradatrabajo 13 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum