-
AuthorPosts
-
June 28, 2010 at 2:23 am #152103
HI,
I need help with the Thumbnails plugin. It works nicely everywhere on the site EXCEPT for the content-mass section.
I want the thumbnails to be 180 X 90 and some of them are but others are made 80 X 80 and I dont understand why.
the site is at sunshinecoastaeroclub.com.au
I would really appreciate it if someone could assist.
Thanks
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 30, 2010 at 3:16 am #348453yes. it’s the conflicting bug bettween the ja thumbnail and the module: pls fix this as following:
1) Open the file /modules/mod_ja_contentslide/helper.php and try to find the following code:
[PHP]$data[$i]->text = $data[$i]->introtext;
$mainframe->triggerEvent( ‘onPrepareContent’, array( &$data[$i], &$params, 0 ) , true );
$data[$i]->introtext = $data[$i]->text;
$image = modJaContentslideHelper::parseImages( $data[$i], $params );
if( $image ) {
$data[$i]->image = modJaContentslideHelper::renderImage( $row->title,
$image,
$params,
$params->get( ‘iwidth’ ),
$params->get( ‘iheight’ ) ) ;
}
else {
$data[$i]->image = ”;
}
[/PHP]
replace:
[PHP]
$data[$i]->text = $data[$i]->introtext;$image = modJaContentslideHelper::parseImages( $data[$i], $params );
if( $image ) {
$data[$i]->image = modJaContentslideHelper::renderImage( $row->title,
$image,
$params,
$params->get( ‘iwidth’ ),
$params->get( ‘iheight’ ) ) ;
}
else {
$data[$i]->image = ”;
}
$mainframe->triggerEvent( ‘onPrepareContent’, array( &$data[$i], &$params, 0 ) , true );$data[$i]->introtext = $data[$i]->text;
[/PHP]Good luck
1 user says Thank You to Saguaros for this useful post
July 2, 2010 at 12:27 pm #348824Hi mate,
sorry it took so long to get back to you.
This worked perfectly..thanks so much for your support. Its a beautiful template but beyond my expertise to play with the code!
Thanks again
July 25, 2010 at 8:53 am #350660HI,
I did the above and it seemed to work but now its doing the same thing. Can you have another look please?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 27, 2010 at 7:20 am #350837sorry, can you pls explain this one on detail, if possible give me some link, or anything esle , i would like to check the issue in detail
thanks
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by Saguaros 14 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum