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;?>
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
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