🌍
English
I want to remove or hide images count after Home/Album Name/Sub AlbumName/ Image Count. Kindly guide me where is the code to do it. see the attachment. Thanks
Offline
Hi
try this code in a personal plugin using LocalFiles editor
/************************************ index.tpl ************************************/ add_event_handler('loc_end_index', 'MY_index'); function MY_index() { global $template; $template->set_prefilter('index', 'MY_index_pre'); } function MY_index_pre($content, &$smarty) { $search="{$TITLE}" $replace="{assign var=MY_TITLE value="[ "|explode:$TITLE} {$MY_TITLE[0]}" $content = str_replace($search, $replace, $content); return $content; }
Offline
Thank you for your code.
But, the variables $place and $content are error. I don't know why?