Use a <link /> tag in your layout and point the src attribute to the latest jquery release hosted by google.

You'll alleviate a little bit of work off your server(s) and your users will most likely have it cached already! Triple-whammy


- Joel

On May 9, 2009, at 9:07 PM, Bruno Carvalho <bment...@gmail.com> wrote:

I looked in google on this topic but couldnt find a good answer. I've
uploaded jquery.js to public/javascripts and added a <script
src="/javascript/jquery.js"> on the normal template, which has the header,
and it makes my site come blank.

I've looked and the url is ok (and the request is ok too in firebug), but
the page doesn't show.

I have no script on my page yet, just loaded jquery.

I have the 0.7.1 radiant version with Markdown, Archives and Textile
extensions (the default that comes with radiant). My main page has no
filters attached to it, and still adding jquery to the header messes up my
site.

The <body> tag comes empty and closed: <body/>
And nothing else comes on the layout file (no stylesheets, nothing), just
the script.

Do you know how to use Jquery without breaking Radiant ?

Best regards,
Bruno
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to