Page 1 of 1

From Category View directly to Detail View?

Posted: 11 Apr 2010, 14:39
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

Re: From Category View directly to Detail View?

Posted: 15 Apr 2010, 16:08
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

Re: From Category View directly to Detail View?

Posted: 10 May 2010, 23:39
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!

Re: From Category View directly to Detail View?

Posted: 12 May 2010, 03:51
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.

Re: From Category View directly to Detail View?

Posted: 12 May 2010, 03:56
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.

Re: From Category View directly to Detail View?

Posted: 12 May 2010, 06:18
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.

Re: From Category View directly to Detail View?

Posted: 12 May 2010, 18:45
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?

Re: From Category View directly to Detail View?

Posted: 12 May 2010, 19:41
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.

Re: From Category View directly to Detail View?

Posted: 12 May 2010, 23:45
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