Some small suggestions

Phoca Gallery - image gallery extension
stanislawl
Phoca Member
Phoca Member
Posts: 16
Joined: 16 Sep 2008, 09:13

Some small suggestions

Post by stanislawl »

Hello Jan,

Thank you very much for your great components and their new versions that appear so frequently!

I would like to suggest some small changes... If we have many sub-categories and they have long names it is helpful to be able to read their names in whole when we point the thumbnails with a mouse. So I comment two lines in views/category/tmpl/default.php file:

// if ($value->type == 2) {
if ($value->overlib == 0) { echo ' title="'. $value->title.'"'; }
// }

You may see the effect here: http://www.2liceum.eu/index.php?option= ... &Itemid=12.

When there are many pictures in a category the navigation bar at the bottom ('Display #', 'First Previous 1 2 ...' etc.) breaks to several lines which is not very nice. So I add a few '<br />' tags to the same file:

echo '<div style="margin:0 10px 0 10px;display:inline;" class="sectiontablefooter'.$this->params->get( 'pageclass_sfx' ).'" ><br /><br />' .$this->tmpl['pagination']->getPagesLinks().'<br /></div>'

to make the display look more 'Joomla-like'. You may see the effect here: http://www.2liceum.eu/index.php?option= ... &Itemid=12.

Best regards,
Stan
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Some small suggestions

Post by Jan »

Hi, thank you for this information

The problem of changing it is that many users wanted to have no title tags for categories, etc. So there is a template system (View - default.php) so everbody can customize it. If I will add the title tag there, I am sure the next question in the forum will be how to remove it :-(

But I will try it to comment it, and we will see :-)

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