-
AuthorPosts
-
pranavpatil19 Friend
pranavpatil19
- Join date:
- November 2011
- Posts:
- 64
- Downloads:
- 0
- Uploads:
- 14
- Thanks:
- 18
- Thanked:
- 2 times in 1 posts
November 24, 2012 at 5:05 pm #182552How to add css and javascript in joomla 2.5
i am using ja unversity template
i want to addd my custom css nad java scripthow can i add this script in joomlaaart template
please give me step by step guide
I finally managed to load a javascript file from /js/ directory… But if I want to load external js this method doesn’t work.
For example, I want to load this JS, but directly from the CDN and not my server.
http://code.jquery.com/jquery-1.4.4.min.js
How can I do it.
1. In which file I should write:
<script type=”text/javascript” src=”http://code.jquery.com/jquery-1.4.4.min.js”></script>2. In which file all the CSS files are loaded:
<link rel=”stylesheet” href=”/templates/ja_community_plus/body/cssdad.css” type=”text/css” />
<link rel=”stylesheet” href=”/templates/ja_community_plus/css/article /lssut.css” type=”text/css” />
<link rel=”stylesheet” href=”/templates/ja_community_plus/css/main_te.css” type=”text/css” />
<link rel=”stylesheet” href=”/templates/ja_community_plus/css/mainpage/csss3.css” type=”text/css” />
<link rel=”stylesheet” href=”/templates/ja_community_plus/css/menu/mega.css” type=”text/css” />3) and i also want to addd created img folder contain my custom images
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 26, 2012 at 8:25 am #474223Please follow my suggestion
<blockquote>Admin area->Extensions->Template Manager->JA Univeristy – Default->Edit Default</blockquote>
+ With css file
from
<stylesheets>
</stylesheets>
change to
<stylesheets>
<file>css/your_css_file.css</file>
</stylesheets>
your_css_file.css file on this path
<blockquote>templatesja_universitycss</blockquote>
+ with js file
add below code <stylesheets>…</stylesheets>
<scripts>
<file>http://code.jquery.com/jquery-1.4.4.min.js</file>
<content>jQuery.noConflict();</content>
</scripts>1 user says Thank You to Ninja Lead for this useful post
pranavpatil19 Friendpranavpatil19
- Join date:
- November 2011
- Posts:
- 64
- Downloads:
- 0
- Uploads:
- 14
- Thanks:
- 18
- Thanked:
- 2 times in 1 posts
December 28, 2012 at 10:34 pm #477821thx
please help me
my detabase size 11 mb indetabase in joomla
after 10 day it will 40 mb
i am nt understand why
what is step to avoid database size increasing more
pleae hlep
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 29, 2012 at 2:37 am #477834I would need to take a closer look at your site. Please pm me with url, admin access and account on hosting site. I shall check and find to solution for this issue.
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by Ninja Lead 11 years, 12 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum