- Posts: 7
- Thank you received: 0
Template re-occur inside tabs
-
redcoder
Inactive member - Topic Author
- New Member
Less
More
11 years 6 months ago #30326
by redcoder
Template re-occur inside tabs was created by redcoder
Can anyone help me look into this website that I am developing?
archerwisdom.com/demo/nsh/book?lang=en&t...tings&property_uid=1
I purchased the hot_hotel template. And now planning to use it with other component, but the hot_hotel template appear inside the tab of the other component.
archerwisdom.com/demo/nsh/book?lang=en&t...tings&property_uid=1
I purchased the hot_hotel template. And now planning to use it with other component, but the hot_hotel template appear inside the tab of the other component.
Please Log in to join the conversation.
-
redcoder
Inactive member - Topic Author
- New Member
Less
More
- Posts: 7
- Thank you received: 0
11 years 6 months ago #30327
by redcoder
Replied by redcoder on topic Template re-occur inside tabs
I suspect it could be due to the Jquery conflict because it seems to loaded two different jquery 1.8 and 1.9.
I then try to switch off the jquery of the other component, and the inner template is gone, but the component won't work well if I turn off its jquery and use hot_hotels' jquery instead.
Just for experiment, is it possible to upgrade the hot_hotel jquery?And how to upgrade?
I then try to switch off the jquery of the other component, and the inner template is gone, but the component won't work well if I turn off its jquery and use hot_hotels' jquery instead.
Just for experiment, is it possible to upgrade the hot_hotel jquery?And how to upgrade?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 6 months ago #30337
by ivan.milic
Replied by ivan.milic on topic Template re-occur inside tabs
You need to have one and only one jquery reference before all other scripts that use it. So check other component is they insert it and turn it off. Maybe you will need to edit index.php of template and move up it's reference just after opening of head tag <head ... >
Please Log in to join the conversation.
-
redcoder
Inactive member - Topic Author
- New Member
Less
More
- Posts: 7
- Thank you received: 0
11 years 6 months ago - 11 years 6 months ago #30346
by redcoder
Replied by redcoder on topic Template re-occur inside tabs
HI ivan,
Which jquery reference you refer to? Is it the jquery.noConflict() ?
I move them to right below the <head> like this :
<head>
<script type="text/javascript" src="<?php echo $template_path ?>/js/jquery.min.js"></script>
<script type="text/javascript">
var jomresJquery = jQuery.noConflict();
</script>
.
.
.
.
YOu could see the source at www.archerwisdom.com/demo/nsh2/book/view...stay-hotel/1?lang=en
Still getting the same problem.
Which jquery reference you refer to? Is it the jquery.noConflict() ?
I move them to right below the <head> like this :
<head>
<script type="text/javascript" src="<?php echo $template_path ?>/js/jquery.min.js"></script>
<script type="text/javascript">
var jomresJquery = jQuery.noConflict();
</script>
.
.
.
.
YOu could see the source at www.archerwisdom.com/demo/nsh2/book/view...stay-hotel/1?lang=en
Still getting the same problem.
Last edit: 11 years 6 months ago by redcoder.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 6 months ago #30353
by ivan.milic
Replied by ivan.milic on topic Template re-occur inside tabs
Note: - You have 10 times Google analytic
You still have second ref to jquery:
<script src="/demo/nsh2/jomres/javascript/jquery-1.8.2.min.js" type="text/javascript"></script>
but that jquery it newer form templates one. Copy all content form
/demo/nsh2/jomres/javascript/jquery-1.8.2.min.js
to :
/demo/nsh2/templates/hot_hotel/js/jquery.min.js
then disable /demo/nsh2/jomres/javascript/jquery-1.8.2.min.js .
You still have second ref to jquery:
<script src="/demo/nsh2/jomres/javascript/jquery-1.8.2.min.js" type="text/javascript"></script>
but that jquery it newer form templates one. Copy all content form
/demo/nsh2/jomres/javascript/jquery-1.8.2.min.js
to :
/demo/nsh2/templates/hot_hotel/js/jquery.min.js
then disable /demo/nsh2/jomres/javascript/jquery-1.8.2.min.js .
Please Log in to join the conversation.
-
redcoder
Inactive member - Topic Author
- New Member
Less
More
- Posts: 7
- Thank you received: 0
11 years 6 months ago #30372
by redcoder
Replied by redcoder on topic Template re-occur inside tabs
Hi ivan,
I couldn't find 10 times Google Analytic, however , I have switch off the google analytic now.
And I did as you suggested,move the content of
/demo/nsh2/jomres/javascript/jquery-1.8.2.min.js
to :
/demo/nsh2/templates/hot_hotel/js/jquery.min.js
[I take it that I should append the content of jquery-1.8.2.min.js into jquery.min.js, by not deleting the jquery.min.js content.However,I did tried both way of append and delete the jquery.min.js content leaving jquery-1.8.2.min.js content alone, but still having same problem.]
But the same problem still exist.
I couldn't find 10 times Google Analytic, however , I have switch off the google analytic now.
And I did as you suggested,move the content of
/demo/nsh2/jomres/javascript/jquery-1.8.2.min.js
to :
/demo/nsh2/templates/hot_hotel/js/jquery.min.js
[I take it that I should append the content of jquery-1.8.2.min.js into jquery.min.js, by not deleting the jquery.min.js content.However,I did tried both way of append and delete the jquery.min.js content leaving jquery-1.8.2.min.js content alone, but still having same problem.]
But the same problem still exist.
Please Log in to join the conversation.
Time to create page: 0.151 seconds