|
|||||||
![]() |
Forum Index > glFusion > glFusion Support |
|
|
Media gallery search result "filelist" style |
|||
| | | Printable Version |
|
dlassen | ||||||||
|
Hi, |
![]() Junior Group Comfort Level:: 0 Status: offline ![]()
Registered: 10/30/09 |
||||||||
|
|||||||||
|
Mark | ||||||||
|
You can change the template that controls the search results for Media Gallery. It is the private/plugins/mediagallery/templates/search_results2.thtml template. PHP Formatted Code if (isset($_MG_USERPREFS['tn_size']) && $_MG_USERPREFS['tn_size'] != -1 ) { $tn_size = $_MG_USERPREFS['tn_size']; } else { $tn_size = $_MG_CONF['gallery_tn_size']; } switch ($tn_size ) { case '0' : //small $tn_height = 100; break; case '1' : //medium $tn_height = 150; break; case '2' : $tn_height = 200; break; case '3' : $tn_height = 200; break; default : $tn_height = 150; break; }
PHP Formatted Code $tn_height = 50;
PHP Formatted Code if (isset($_MG_USERPREFS['tn_size']) && $_MG_USERPREFS['tn_size'] != -1 ) { $tn_size = $_MG_USERPREFS['tn_size']; } else { $tn_size = $_MG_CONF['gallery_tn_size']; } switch ($tn_size ) { case '0' : //small $tn_height = 100; break; case '1' : //medium $tn_height = 150; break; case '2' : $tn_height = 200; break; case '3' : $tn_height = 200; break; default : $tn_height = 150; break; } $tn_height = 50;
glFusion - Enhanced Content Management |
![]() Admin Group Comfort Level:: +93 ![]() Status: offline ![]()
Registered: 10/21/05 |
||||||||
|
|||||||||
|
dlassen | ||||||||
|
Thank you for your help and patience! I'll let you know how it goes. |
![]() Junior Group Comfort Level:: 0 Status: offline ![]()
Registered: 10/30/09 |
||||||||
|
|||||||||
|
dlassen | ||||||||
|
This worked out perfectly. |
![]() Junior Group Comfort Level:: 0 Status: offline ![]()
Registered: 10/30/09 |
||||||||
|
|||||||||
| Content generated in: 0.48 seconds |
|
| All times are CDT. The time is now 09:42 AM. |
|
|