Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [solved] Site problem after upgrade from 4.2 to 4.5.5
monicahu wrote #277835:
I followed your instructions and it works (Method 5). I also adapted your javascript and used it with Method 4 and it worked, too. See these on this url. Scroll down to the bottom to see Method 4 & Method 5 results.
THANK YOU very much for your time, Oleg!!
You are welcome! In case you stay with Method 4, you can remove the .after(...) part, it inserts nothing anyway.
Offline
#47 2014-01-07 09:56:27
- monicahu
- Member
- From: Sydney NSW
- Registered: 2009-03-07
- Posts: 69
Re: [solved] Site problem after upgrade from 4.2 to 4.5.5
philwareham wrote #277837:
The version of jQuery bundled with Textpattern is for it’s own internal use within it’s admin control panel. You should not utilise that file in your public facing website – rather, you should add in your own copy of the jQuery file or link to one at a CDN (such as Google Hosted Libraries).
The reason for this is that it gives you, the site creator, full control over the version of jQuery your site will be using. For example if we update to a newer version of jQuery in a future Textpattern release that is not compatible with a certain script you have on your site, the site be broken. Also, we use an older version of jQuery for legacy (IE8) compatibility and you might want to use a newer release in your site.
Thank you for the advice, it clears up my confusion.
etc wrote #277844:
You are welcome! In case you stay with Method 4, you can remove the
.after(...)part, it inserts nothing anyway.
Thank you Oleg, that’s what I did on my test page for Method 4.
Monica
Life with God is the purpose.
Offline