Best mobile solutiion!

Phoca Gallery - image gallery extension
scarinciotto
Phoca Member
Phoca Member
Posts: 12
Joined: 01 Jan 2014, 18:06
Contact:

Best mobile solutiion!

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Best mobile solutiion!

Post by Jan »

Hi, for mobiles, I think, the best solution is no popup - just displaying an image on the new site.

Jan
If you find Phoca extensions useful, please support the project
scarinciotto
Phoca Member
Phoca Member
Posts: 12
Joined: 01 Jan 2014, 18:06
Contact:

Re: Best mobile solutiion!

Post 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) ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Best mobile solutiion!

Post 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
If you find Phoca extensions useful, please support the project
scarinciotto
Phoca Member
Phoca Member
Posts: 12
Joined: 01 Jan 2014, 18:06
Contact:

Re: Best mobile solutiion!

Post 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.....
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Best mobile solutiion!

Post by Jan »

Hi, sorry I don't understand, Phoca Gallery does not have any feature to display itself in full screen :idea:

Jan
If you find Phoca extensions useful, please support the project
scarinciotto
Phoca Member
Phoca Member
Posts: 12
Joined: 01 Jan 2014, 18:06
Contact:

Re: Best mobile solutiion!

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Best mobile solutiion!

Post 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
If you find Phoca extensions useful, please support the project
scarinciotto
Phoca Member
Phoca Member
Posts: 12
Joined: 01 Jan 2014, 18:06
Contact:

Re: Best mobile solutiion!

Post by scarinciotto »

Ok... I'll try to modify the category view code and then I'll tell you!
thanks!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Best mobile solutiion!

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply