-
AuthorPosts
-
kayz Friend
kayz
- Join date:
- October 2009
- Posts:
- 127
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 11
- Thanked:
- 7 times in 1 posts
January 23, 2011 at 3:07 pm #159167Hi guys i am looking for the global <head> section to place a few scripts also i need to add my google analytics and need to know where the </body> ends.
Thanks
splico123 Friendsplico123
- Join date:
- January 2007
- Posts:
- 339
- Downloads:
- 80
- Uploads:
- 7
- Thanks:
- 24
- Thanked:
- 93 times in 16 posts
January 23, 2011 at 3:19 pm #373290I dont know if i would recommend you to put it in core files. Best way to do is to put them to module and publish it in debug position of template. Even if you dont use debug mode it will be read and parsed by template.
But if you really want to put it in html still just consider that you will have to worry about it every time you upgrade template. Which is usually a thing most forget.
kayz Friendkayz
- Join date:
- October 2009
- Posts:
- 127
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 11
- Thanked:
- 7 times in 1 posts
January 23, 2011 at 3:20 pm #373291Yea i prefer to do it in the template as i will rarely upgrade/update and if i do i will remember to do it. Thanks for the tip though.
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
January 24, 2011 at 11:17 am #373441<em>@kayz 216927 wrote:</em><blockquote>Yea i prefer to do it in the template as i will rarely upgrade/update and if i do i will remember to do it. Thanks for the tip though.</blockquote>
For google analytics, You may wish to try out this extension as it really gives an easy and initutive way to have analytics working 🙂
http://www.thinkbigshot.com/blog/technical/152-bigshot-google-analytics-plugin-for-joomla-15.html
2 users say Thank You to aman204 for this useful post
kayz Friendkayz
- Join date:
- October 2009
- Posts:
- 127
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 11
- Thanked:
- 7 times in 1 posts
January 24, 2011 at 1:27 pm #373475Thanks i have resolved this.
jrensel Friendjrensel
- Join date:
- December 2007
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
February 11, 2011 at 9:10 am #376160Hi!
I really need where to put som scripts. I want to put some facebook developer code + satisfaction ++Best from joe
New: OK – I published the code in a module (custom) and placed the module en DEBUG — it works!
thangnn1510 Friendthangnn1510
- Join date:
- October 2014
- Posts:
- 1608
- Downloads:
- 0
- Uploads:
- 80
- Thanks:
- 73
- Thanked:
- 278 times in 256 posts
-
AuthorPosts
This topic contains 7 replies, has 5 voices, and was last updated by thangnn1510 13 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum