Phoca gallery category module - problem with override

Phoca Gallery modules - modules for Phoca Gallery extension
dieda1821
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Mar 2013, 12:00

Phoca gallery category module - problem with override

Post by dieda1821 »

Hi,

I have some trubles with the module mod_phocagallery_ctgry.

I'running Joomla 2.5.9 on a test site (php 5.2.17): [url]http:www.cenacchi.altervista.org/luminosa/[/url]

The module is beside the phoca slideshow, and is supposed to show the category name and dates only, plus a readmore link.

1) The title of the module is not appearing despite I selected "Show title" in the module settings.

2) I would like to have the name of the category as simple text, without the link (that I want only on the readmore text, as it is already), hence I tried two ways:

2A) Override: I have copied the mod_phocagallery_ctgry folder inside my template/atomic/html folder. There I have modified the templ/default.php file at line 43 as follows:

Code: Select all

<?php if($showCatname == 1):?>
    <?php echo $data->cat_title; ?>
    <?php endif;?>
Anyhow, the override does not work and the result on the front-end is not affected by the change (this is the current situation).

2B) Skip the ovverride: I have done the change directly on the default.php file inside the main module/mod_phocagallery_ctgry folder. Anyhow, whenever I try to replace the main default.php file (even if I simply download the file locally and reload it, replacing the original one but without any modification) I obtain a PHP Syntax T_AS error on line 1.
Line 1 of default.php is the one that contains <?php only :roll:

Do you have any suggestion about how I could have the override work ? The site is a test site hence I can pm the backend access credentials eventually.

Thanks for the assistance.

Elena
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca gallery category module - problem with override

Post by Jan »

Hi,
"mod_phocagallery_ctgry" ... Unfortunatelly I don't know such module so cannot give any advice there :idea:
If you find Phoca extensions useful, please support the project
dieda1821
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Mar 2013, 12:00

Re: Phoca gallery category module - problem with override

Post by dieda1821 »

Hi,

It's this one:

http://extensions.joomla.org/extensions ... xsZXJ5Ijt9

The download page is this and the folder is called mod_phocagallery_ctgry:

http://www.escope.cz/en/joomla-rozsiren ... dule-2-5-0

Does anyone have a suggestion ?

Elena
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca gallery category module - problem with override

Post by Jan »

Hi, maybe try to ask the author of this extension :idea:

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