Issues between Hot Restaurant and Moset Tree

More
12 years 2 months ago #14643 by marcelothieme
Dear Hot Templates staff,

I found an incompatibility between Hot Restaurant Template and Mosets Tree Component (I use this component to make a Directory Site). I had installed the Mosets Tree in the Joomla Template Default (This template come with the Joomla installation) and it was working. But I bought the Hot Restaurant because I liked very much it layout and I decided install a new template to the Joomla, because this template is better to my Directory site theme too, but now I have some problems.

1 - On the summary listings the space between Name Company and complete address is too big now (with other Joomla template there wasn't this space) For the layout is better without this space.





2 - On the Details Lisings, the lightbox to show the images uploaded isn't working on the Hot Restaurant template too, when I click on the image is opened only that image on the window and the content disappear. On the previous template it was working when I click on the image the Mosets Tree show the image highlighted like a lightbox with the arrows to change the image.

Please look for these issues on: www.pensepizza.com.br/index.php

I would like to know, how to do to fix these defects.

Could you help me to solve these issues?

Thanks for your attention.

I'm waiting your response.

Best Regards,

Marcelo
Attachments:

Please Log in to join the conversation.

More
12 years 2 months ago #14672 by ivan.milic
Open layout.css in template's /css folder , find this:

.header {
height: 96px;
margin: 0 auto;
}

replace it with :

.wrapper1 .header {
height: 96px;
margin: 0 auto;
}

for lightbox problem, can you give me direct link to some problematic page
The following user(s) said Thank You: marcelothieme

Please Log in to join the conversation.

More
12 years 2 months ago #14690 by marcelothieme
Hello Ivan,

Thanks for your quick response and help.

I implemented the update that you sent on the layout.css file and the component Mosets Tree worked very well, on the summary listings and now it is nearest, as I needed. Thanks.

Below follows the direct link, to you see the lightbox issue.

link - http://http://www.pensepizza.com.br/index.php/pizzaria-do-nono

When I click on the image that I want to see, it is opened on the same window, but content disappear. Previously the installation of the Hot Restaurant Tamplate, the lightbox from the Mosets Tree worked.

Thanks for your attention.

I wait for your new response.

Best Regards,
Marcelo Thieme

Please Log in to join the conversation.

More
12 years 2 months ago #14738 by ivan.milic
Problem is in fact that mtree adds jQuery and jQuery.fancybox reference before jQuery reference in template.

So you can just delete jQuery reference from template , but then you will have to have mtree on every page , so it can give jQuery to other components.

So I suggest this, to load it again after template reference. Open index.php of template and find this:
Code:
<script type="text/javascript" src="/templates/hot_restaurant/js/jquery.min.js"></script> <script type="text/javascript"> jQuery.noConflict(); </script>

after that add this line:
Code:
<script src="<?php echo $this->baseurl; ?>/components/com_mtree/js/jquery.fancybox-1.3.4.pack.js" type="text/javascript"></script>

Please Log in to join the conversation.

More
12 years 2 months ago - 12 years 2 months ago #14799 by marcelothieme
Hi Ivan,

Thanks for your response.

I opened the index.php file of template, on the path below:

/wwwroot/templates/hot_restaurant/index.php

I did the changes that you requested me, and the part code changed was as follows below:
Code:
<script type="text/javascript" src="<?php echo $template_path ?>/js/jquery.min.js"></script> <script type="text/javascript"> jQuery.noConflict(); </script> <script src="<?php echo $this->baseurl; ?>/components/com_mtree/js/jquery.fancybox-1.3.4.pack.js" type="text/javascript"></script>

But now, when I click on the images, the link doesn't work. It doesn't open the image, just stay on the same window. Please find this on the link below:

link url - www.pensepizza.com.br/index.php/pizzaria-do-nono

I did other test with the code. I deleted the jQuery from Hot Template index.php file and the Mosets Tree lightbox works normally. But the Hot Template stoped work and the Module HOT Joomla Carousel doesn't work more.

I can't delete the jQuery from Hot Template, because I need that the Module Carousel works too.

Is there another solution to this case?

Thanks for your hard work and attention.

I'm wait your response.

Best Regards,
Marcelo Thieme
Last edit: 12 years 2 months ago by marcelothieme.

Please Log in to join the conversation.

More
12 years 2 months ago #14811 by ivan.milic
Try this move:
Code:
<script type="text/javascript" src="/templates/hot_restaurant/js/jquery.min.js"></script> <script type="text/javascript"> jQuery.noConflict(); </script>

more up in head section, also can you disable jquery in mtree?

Please Log in to join the conversation.

Time to create page: 0.352 seconds
Powered by Kunena Forum