Page 1 of 1

Some small suggestions

Posted: 08 Aug 2009, 13:27
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

Re: Some small suggestions

Posted: 10 Aug 2009, 14:36
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