Page 1 of 2

Best mobile solutiion!

Posted: 02 Jan 2014, 11:46
by scarinciotto
hi,
in your opinion, which is the best solution for mobile devices?
I like the boxplus on the pc (detail window) but I think this is not very good on the smartphone!
If you surf in the gallery with mobile devices (smartphone/tablet) I trid to set detail_window=7 (no popup) but this is not good, because I see only the picture.....
:x

Re: Best mobile solutiion!

Posted: 02 Jan 2014, 15:07
by Jan
Hi, for mobiles, I think, the best solution is no popup - just displaying an image on the new site.

Jan

Re: Best mobile solutiion!

Posted: 03 Jan 2014, 17:56
by scarinciotto
I can detect the user-device and i'd like to change real time the frontend settings...... where do I have to set detail_window=7 (no popup) ?

Re: Best mobile solutiion!

Posted: 03 Jan 2014, 23:14
by Jan
Hi, for this you need to customize the category view - to recognize the user device and then to switch to no popup.

Jan

Re: Best mobile solutiion!

Posted: 03 Jan 2014, 23:20
by scarinciotto
yes... I found where to insert the device-check and setting, but the gallery has a different behavior! If I set by code the gallery switch to full screen.....

Re: Best mobile solutiion!

Posted: 06 Jan 2014, 20:28
by Jan
Hi, sorry I don't understand, Phoca Gallery does not have any feature to display itself in full screen :idea:

Jan

Re: Best mobile solutiion!

Posted: 06 Jan 2014, 22:21
by scarinciotto
Hi,
if I set $this->tmpl['detail_window'] = 7; (no popup) in components/com_phocagallery/views/category/view.html.php, I see this page....

Image

Re: Best mobile solutiion!

Posted: 09 Jan 2014, 22:17
by Jan
Now I understand, so this is no popup view - displaying the detail not in popup but normally on the site. So this you should define in category view - if it is a mobile, then display "nopup" links, if this is not a mobile, a modal or other popup can be loaded. All the feature should be loaded in the category view as it creates link and link decides which method will be set.

Jan

Re: Best mobile solutiion!

Posted: 10 Jan 2014, 11:00
by scarinciotto
Ok... I'll try to modify the category view code and then I'll tell you!
thanks!

Re: Best mobile solutiion!

Posted: 14 Jan 2014, 00:16
by Jan
Ok