-
AuthorPosts
-
encore web plus Friend
encore web plus
- Join date:
- November 2013
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 2 times in 1 posts
December 11, 2013 at 4:09 pm #192910Hi, I love the injection feature of the t3 framework, however it does not allow me to inject jquery scripts below the </body> tag. How can I do this manually?
Nazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
December 13, 2013 at 9:59 am #515347Hi,
You can inject jquery scripts after or before the </body> tag in template manager in back-end.
Regards,
Nazario A
encore web plus Friendencore web plus
- Join date:
- November 2013
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 2 times in 1 posts
December 13, 2013 at 2:39 pm #515373Thanks, bu thats after the <body> and before the </body> tag, generally the same place in the code…
<body>
inject here — both of those would put the code here
</body>
i want to inject the code here..encore web plus Friendencore web plus
- Join date:
- November 2013
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 2 times in 1 posts
December 16, 2013 at 6:53 pm #515617Any updates on this issue or anyone having similar issue, in which we could work together to solve it?
Thanks,
Davetessak22 Friendtessak22
- Join date:
- August 2010
- Posts:
- 40
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
December 16, 2013 at 9:19 pm #515637Why would you want code below the closing body tag?
encore web plus Friendencore web plus
- Join date:
- November 2013
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 2 times in 1 posts
December 16, 2013 at 9:27 pm #515638I realize it may be bad practice to include code outside of the </body> tag, however one of the mobile-responsive tab scripts I would like to use for one fo the templates on my website has asked me to do so. Ive tried including it before the </body> tag and after the content, however it does not seem to work… So i wanted to test by adding the <script> code below the </body> tag seen in the instructions for the tab script
tessak22 Friendtessak22
- Join date:
- August 2010
- Posts:
- 40
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
December 16, 2013 at 9:51 pm #515640You will want to edit the actual template index file then. Each template with JA has a different index page that controls that code.
Nazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
December 18, 2013 at 3:02 am #515797Hi encore,
You can go to folder: `templatesja_onepagetpls and depend on the layout you’re using, you can open associated file: default.php and onepage.php and add your own script below </body> tag
However, I must confirm again that it’s not a good practice and script should be included in header or footer of your site only.
Regards,
Nazario A
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 3 voices, and was last updated by Nazario A 11 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Injecting below </body>??
Viewing 8 posts - 1 through 8 (of 8 total)