From Category View directly to Detail View?

Phoca Gallery - image gallery extension
Anne M
Phoca Member
Phoca Member
Posts: 14
Joined: 11 Apr 2010, 14:32

From Category View directly to Detail View?

Post by Anne M »

Hi,

I installed Phocagallery successfully on a new website. However, I want to go from Category View directly into Detail View (JAK Lightbox View) without first displaying the fotos in the category. Is that possible?

Greetings,
Anne
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: From Category View directly to Detail View?

Post by Jan »

Hi, no such option needs to be customized, or you can copy the links to detail images and paste them somewhere manually :-(

Jan
If you find Phoca extensions useful, please support the project
Anne M
Phoca Member
Phoca Member
Posts: 14
Joined: 11 Apr 2010, 14:32

Re: From Category View directly to Detail View?

Post by Anne M »

Jan wrote:Hi, no such option needs to be customized, or you can copy the links to detail images and paste them somewhere manually :-(

Jan
Hi Jan,

Can you specify "somewhere" which PHP in which folder? I am not very strong in programming PHP but I am willing to try.

Best Regards,
Anne

P.S. I really like this extension. It is the very best photo gallery I know!
GenkaiNashi
Phoca Enthusiast
Phoca Enthusiast
Posts: 84
Joined: 12 Jul 2009, 22:03

Re: From Category View directly to Detail View?

Post by GenkaiNashi »

You are talking about skipping CATEGORY view (where you see the contents of the Category); you want to go straight from CATEGORIES view to JAK Lightbox? I'll see if I can work something out, but this is may require a major hack.
GenkaiNashi
Phoca Enthusiast
Phoca Enthusiast
Posts: 84
Joined: 12 Jul 2009, 22:03

Re: From Category View directly to Detail View?

Post by GenkaiNashi »

Which View are you using?

Categories and images.
Categories, Images, and description.

Etc?

You can see this in Parameters.

EDIT: This may not be possible (I never say never until I know for sure) because the JAK Lightbox method is in the CATEGORY view.html.php, and there are now detail view settings in CATEGORIES view setting.
GenkaiNashi
Phoca Enthusiast
Phoca Enthusiast
Posts: 84
Joined: 12 Jul 2009, 22:03

Re: From Category View directly to Detail View?

Post by GenkaiNashi »

Not possible without massive code rewrite for view.html.php and default.php in Categories view... and I haven't figured it out.


Looks like these guys: viewtopic.php?f=1&t=9346 are asking for the same feature.
Anne M
Phoca Member
Phoca Member
Posts: 14
Joined: 11 Apr 2010, 14:32

Re: From Category View directly to Detail View?

Post by Anne M »

GenkaiNashi wrote:Which View are you using?

Categories and images.
Categories, Images, and description.

Etc?

You can see this in Parameters.

EDIT: This may not be possible (I never say never until I know for sure) because the JAK Lightbox method is in the CATEGORY view.html.php, and there are now detail view settings in CATEGORIES view setting.
Hallo GenkaiNashi,

I made a copy of Parameters as TXT-file. I use JAK Lightbox, yes.
If this working out is too much work, I want to try it but I am confused as how the file structure is in this component.
I read somewhere that Jan Pavelka did use the work from the JAK people in this Phoca Gallery component. That's ok.
What files are important for this "hack" (I would prefer the term "changes") and where are these files situated?
PHOCA GALERY\com_phocagallery_v2.6.2\front\views\categories for view.html.php
or do you mean
PHOCA GALERY\com_phocagallery_v2.6.2\front\views\category for view.html.php ?
Very confusing.

May be I should start at the very end and follow the way back to the files ? Which is the very first file which the component (Joomla) is using to create the frontend?
GenkaiNashi
Phoca Enthusiast
Phoca Enthusiast
Posts: 84
Joined: 12 Jul 2009, 22:03

Re: From Category View directly to Detail View?

Post by GenkaiNashi »

Sorry I should be clearer, this may not be possible without rewriting the view.html.php in categories view. The calls for JAK lightbox are only in the category view.

So, at this moment, this is not possible.
Anne M
Phoca Member
Phoca Member
Posts: 14
Joined: 11 Apr 2010, 14:32

Re: From Category View directly to Detail View?

Post by Anne M »

Hi GenkaiNashi,
this may not be possible without rewriting the view.html.php in categories view. The calls for JAK lightbox are only in the category view.
Thank you for this information.
Best Regards,
Anne
Post Reply