🌍
English
flop25 wrote:
ps : sry in fact you have ; it's 'wtyczki wlasne' right ?
Yup
New code works perfectly! thanks a lot :)
Offline
flop25 wrote:
correction :
Code:
add_event_handler('loc_end_index_thumbnails', 'my_title_thumbnails'); function my_title_thumbnails($tpl_thumbnails_var) { global $template; $new_tplvar=array(); foreach ($tpl_thumbnails_var as $tplvar) { $tplvar['TN_TITLE']=preg_replace('#\\(.*\\)#s', '', $tplvar['NAME']); $new_tplvar[]=$tplvar; } return $new_tplvar; }
this code work perfectly except for a thing.
before adding this the tooltip appeared in this way
"photoname (26 visits) photodescription"
when I'll add that code in personal plugin only the photoname remain in the tooltip,the hits counter is removed,but also the photo description that I want to mantain.The photo description has been added using the "Batch Manager, Photo Description" plugin
Thanks
Offline