Page 1 of 1

Phoca newbie questions - part 2

Posted: 16 Mar 2014, 06:47
by nemmar
Hi,
(I had to break up my questions into 2 posts since this forum has a character limit per post.)
Part 2:
I'm a newbie with Phoca Gallery but I know Joomla 2.5x very well. Today I downloaded and installed and configured Phoca Gallery on my J2.5.19 site.

6) Is there way to create a Menu Item that opens/links to Sub-Categories and does not display the Parent Category? I tried using the filter ID feature in the menu settings but if I put the ID of the parent category then the parent still shows up.

7) I do not need to use Slideshows in my galleries since I don't want popup windows for my images. I have Phoca set to open a details pages for each image when their thumbnails are clicked in the category views. I have the Slideshow set to "No" so they're not enabled but I still see a lot of Javascript in


Thanks for any advice!

Re: Phoca newbie questions - part 2

Posted: 17 Mar 2014, 02:19
by Jan
Hi,

6) such needs to be customized in the code
7) you can remove it directly in the code


Jan

Re: Phoca newbie questions - part 2

Posted: 18 Mar 2014, 16:58
by nemmar
Hi Jan,

When I commented out that Javascript for the "Dynamic Drive" in the slideshow file and have "No" for the setting of Display Slideshow buttons, there is still a long list in the source code of links to the photos in Details View. I guess Phoca lists all those URLs to the other gallery photos in the source code in case I turn on the Slideshow buttons. But I think this is slowing down my Details Views pages because I have lots of photos in the galleries.

Is there a way to comment out the file or code that inserts all of those links into the source code of the Phoca pages, mainly the Details View pages? I want to see if it speeds up my Details View pages if I remove the long list of URLs in the code.

Thanks for any advice!

Re: Phoca newbie questions - part 2

Posted: 20 Mar 2014, 12:35
by Jan
Hi,
components\com_phocagallery\views\detail\view.html.php

Code: Select all

$var['slideshow']		= JRequest::getVar('phocaslideshow', 0, '', 'int');
to:
$var['slideshow']		= 0;
and comment script tag here:
components\com_phocagallery\views\detail\tmpl\default_slideshowjs.php