Support

Support is part of Event Gallery Extended.

Please get a subscription if you need support. Feel free to use the ticket system or the contact form for reporting defects or pre-sale questions. Make sure you're logged in in order to be able to create a new ticket.

For general information you can also jump to the manual.

Subscribe now!

#621 Interaction with JTOUCH extension does not work for Mobiles.

Posted in ‘Event Gallery - General’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by robbie8 on Sunday, 27 April 2014 12:29 UTC

robbie8
 Hi,
I have created a menu item which aligns to my mobile menu. I am using JTOUCH as the mobile facility for my website on my mobile device.

I am using 3.1.5

If I use Ajax

When I access the menu item. I see the title, but no picture - the equivalent on the website shows a picture with the title.(Attachment - Main Page No Pictures). The Desktop Website Image is shown in the Attachment Website Main Page.

Likewise I have set the thumbnail limit to 5, and the page now page just shows loading at the bottom and doesnt work. (Attachment - Some Pictures Loaded .. Then Loading

If I use any other option, When I click on the title there are no other pictures shown at all.

Any ideas - does the website not work with Mobile Phones?

Thanks

Rob

sbluege
Please check your site for JavaScript errors. Double check! Really.

This ticket might help you: http://www.svenbluege.de/support/general/426-installation-and-configuring

In addition check this page to achieve a responsible layout: http://www.svenbluege.de/joomla-event-gallery/event-gallery-manual/customize-eventlist

robbie8
Sven
I read the update and like the idea of the points raised in http://www.svenbluege.de/support/general/426-installation-and-configuring as it sounds like it is exactly my problem

The problem is that I can't find a file called scroling.js - has it been renamed in a later release?

I would appreciate your advice before I hunt other potential issues?

Thanks as always

Rob

sbluege
Scrolling.js was the cause of the issue for this user. You obviously have another file which is causing the trouble.

Please open the console of your browser to see the JavaScript errors. Press F12 in Chrome for example. If there is a JavaScript error make sure jQuery always runs in noConflict mode by making sure

<script type="text/javascript">      
    jQuery.noConflict();       
</script>


is called after each jQuery include. Otherwise it is an invalid include while using Joomla, MooTools will not work and so Event Gallery.

In the end I can just guess since screenshots are usually very hard to debug.

robbie8
Sven,
I am afraid I am not a coder, and I can't work out where to put this bit of code.

I have set my website to use the mobile template, so I was wondering if you could log onto it and have a look for me. The site is http://www.jackylegsracing.com/FGATEST/

Click on main menu and then Event Gallery - you will see my problem there.

Thanks

Rob

sbluege
Please do two things:

1. open the options of Event Gallery in the back end and enable the debug mode. Let me know when this is done.
2. open http://www.jackylegsracing.com/FGATEST/templates/jtouch25/js/jquery-1.9.1.min.js?ver=v2529 and add this at the end: jQuery.noConflict();

robbie8
Sven,
I have added Debug as you stated and I have added the code to the end of the jquery-1.9.1.min.js file. You are a star!! it is now showing the pictures. You can see it all if you click on the link I provided earlier.

I have a couple of questions that have arisen from this - do I put them here or a separate post?

1) Is there a way to make the first page have the gallerys verticle, not horizontal (as the title relating to the gallery would then be beside, rather than over the top of the gallery)

2) When I click on the gallery the Span.inbutbox is set to 100 - I believe thats the pageable limit - where is this set and how do I reduce it (to prevent so many pics having to be loaded at a time)?

3) The pictures are different sizes in the grid - can they be all sized to the same linit?

Thanks

Rob

sbluege
So I was the same reason as always: a Joomla extensions which does not work properly with Joomla :( You can turn the debug mode off again since there is nothing to debug.

  1. http://www.svenbluege.de/joomla-event-gallery/event-gallery-manual/customize-eventlist
  2. The 100 is your default list size setting and unrelated to Event Gallery
  3. Set the jitter configuration parameter at them menu item and/or the global configuration to zero

robbie8
Hi Sven,
I'm doing a little better - I managed to change the front page to show only one entry, although there have had to be two actions to do this
i) Had to leave the debug option on - When I took it off, it went back to 3 columns (albums)
ii) Couldn't really suss where to put the div.eventgallery-tiles-list .eventgallery-tile {
width: 75%; - Ive tried it in the /components/com_eventgallery/media/css/eventgallery.css and the /templates /jtouch25/css/jtouch-custom.css , but I fear both are to no avail.
iii) I prefer to use the default list size to 100 in the backend, but I dont use the rss feed value. Would you be able to advise how I set the component to use RSS list value instead, so the rss equivalent of the getlimitbox function?
iv) I have set the jitter values to 0 as advised and for the 100 pics, it did seem to set the picture sizes to the same size, but weirdly when I set the default list size to 10, the jitter seemed to reappear, which confused me.- Ive left my site like that.

I hope all these make sense and you can offer me advice?

Rob



robbie8

sbluege
Please do never touch the components files! Always use your templates files to overload or add customizations.

  1. So you added the code at the wrong position. Do not touch the components files. Instead add changes to your templates CSS file
  2. Add it so a CSS file of your template which is loaded on the page
  3. Well.. no.
  4. The layout will change if you show 10 or 100 images since the gallery tries to create a block layout.

robbie8
Sven,
1) Ive managed to add it to the template.
2) As 1) Although I dont understand it.
3) Could you advise how I fix the value in the limitbox, so in the paging_top.php, it currently shows

<div class="pagination-limitbox">
<div class="pull-right limitbox"><?php echo $this->pageNav->getLimitBox(); ?></div>
<div class="clear"></div>
</div>

I would like to say define a value e.g 10, rather than calling the value from the limitbox.

There must be a way of setting a value - if you could possibly help.
4) Oh!
5) Is there a way to turn off Lazyload - there doesn't seem to be a disable lazyload option in the Config options.

Rob



sbluege
Sorry, I don't give hits to change code. You have to use the component as it is. Of cause you can apply your modification but I can't support this.

There is no option to turn off lazy load.

robbie8
Sven,
I understand your point. Could you please advise how I add this to a wish list, so the pagination limit can be fixed in the options?

Thanks

Rob.

sbluege
Joomla already has a default paging limit. This setting is used and I don't plan to change this. You actually misuse this for the back end. Keep in mind that your session will stick to the paging you chose. So just change the paging limit for your session in the back end if you need it.

robbie8
Sven
Thanks for the advice again.
It sounds like there needs to be a separate list limit available between front and back end services.
i may post it as a wishlist on the Joomla website.

Thanks for all your help so far.

Whilst things are not perfect, they are looking better. I am hoping to be in a position to go G.A. with my changed gallery soon, which will mean subscribing to the extension.

Speak soon