0
Welcome Guest! Login
0 items Join Now

Add JQuery without Source Edit

  • Add JQuery without Source Edit

    Posted 11 years 10 months ago
    • Good day,

      I would like to add a JQuery library include in the header without editing the index to the template (in my case, Graffito). It just doesn't seem good practice for upgrades, etc.

      Do you have a module position that would allow me to keep XHTML compliance?
      <head>
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
      </head>
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: Add JQuery without Source Edit

    Posted 11 years 10 months ago
    • Why don't you use some Joomla plugin built specific for this purpose? Search JED for it 8)
    • Check my services at: Mihha-Vision
  • Re: Add JQuery without Source Edit

    Posted 11 years 10 months ago
    • Thank you for the reply. I didn't want to use an extension if I didn't have to. DotNetNuke is another CMS, but has module zones that when you add something to it, it adds it between the <head></head> tags.
      I was curious if you designed your templates the same way. Are you saying this is not a possibility without a 3rd part extension?
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: Add JQuery without Source Edit

    Posted 11 years 10 months ago
    • It would be possible to insert it in template's index.php file but then you would need to do this every time you update your template. Using Joomla plugin would be more elegant solution because of that
    • Check my services at: Mihha-Vision

Time to create page: 0.049 seconds