Foren

jQuery ... ok in 6.0.5 but not in 6.0.6

Juan Ignacio, geändert vor 12 Jahren.

jQuery ... ok in 6.0.5 but not in 6.0.6

New Member Beiträge: 17 Beitrittsdatum: 19.04.11 Neueste Beiträge
Hello,

ive just updated my portal from 6.0.5 to 6.0.6. In the previous version i had a jquery scroll working ok but when i have updated to 6.0.6 firebug says to me ... "jquery is not defined" in the code from the scroll js... ¿any idea?

Thx!!
thumbnail
Hitesh Methani, geändert vor 12 Jahren.

RE: jQuery ... ok in 6.0.5 but not in 6.0.6

Regular Member Beiträge: 171 Beitrittsdatum: 24.06.10 Neueste Beiträge
Hi Juan,
Moving from liferay 6.0.5 to liferay 6.0.6 should not affect any jquery code.
see that you are including same version of jquery.js in theme/portlet of liferay - 6.0.6 which you were using in liferay-6.0.5.

Thanks and Regards,
Hitesh Methani
Juan Ignacio, geändert vor 12 Jahren.

RE: jQuery ... ok in 6.0.5 but not in 6.0.6

New Member Beiträge: 17 Beitrittsdatum: 19.04.11 Neueste Beiträge
I realized that in 6.0.5 version there are two automatic includes when i see the homepage source code:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
<script type="text/javascript" src="/html/themes/classic/js/menu.js"></script>

But when i search for it in 6.0.6 version it doesn't appear, i had to add the two lines manually in portal_notmal.vm i dunno why, the theme is the same and all the configuration, as far i know, is identical.

Thanks emoticon