iris lines designs

802 257 7391
info@irislines.com

JoomlaSolutions - and other discoveries

A place to keep track of and share CMS and CSS solutions
Tags >> extensions
May 20
2011

Szaki Table (Joomla Extension)

Posted by barb in Joomla! 1.6 , Joomla , extensions

Szaki Table is a Joomla Extension that allows sorting a table by any column header.

I used it on a client's site to make a list of educational opportunities sortable by date, location, type.   All was well until we added a column for cost and entered cost in US Dollars using the $ sign.

The entire table was replicated in the cell with the $!  

Aug 25
2010

Imagesized revised...

Posted by barb in Joomla , Imagesized , extensions

NEW version of Imagesized plugin includes more options, but forces a bg and border for all generated thumbnails.   Set to white this could often just disappear on the page, but on the fbg site I needed thumbs to sometimes be on a background image for front page.

I was using very standard image sizes so I could predict that all thumbnails would be the actual size, and not need a "fudge-factor"  so I modified the plugin code as follows:


In plg_imagesized.php  line 373

WAS

imagerectangle($result, 0, 0, $widthm-1, $heightm-1, $this->set_img_color($result,$fp_bocolor));

I changed it to

imagerectangle($result, 0, 0, $widthm, $heightm, $this->set_img_color($result,$fp_bocolor));

and line 375

WAS

$sample = imagecopyresampled($result, $image, -($width/2) + ($widthm/2)+2, -($height/2) + ($heightm/2)+2, 0, 0, $width-4, $height-4, $width_orig, $height_orig);

I changed it to:


$sample = imagecopyresampled($result, $image, -($width/2) + ($widthm/2), -($height/2) + ($heightm/2), 0, 0, $width, $height, $width_orig, $height_orig);

 

By the way, the new Imagesized plugin now offers different settings for leading or intro blog entries and the settings can be applied to front page, and/or section and category blogs.  You can exclude sections or categories from using the plugin.


irislines.com ©2010 photo by Rich Kaszeta