how to get rid of the dates in info boxes?

How do I get rid of the dates in info boxes such as video info, photo info, sound info, etc.? I don't people to look at the dates and think my sites is old and out dated. Thanks.

Quote · 25 Sep 2013

Hello

You need to edit inc/classes/BxDolFilesTemplate.php file and find getBasicFileInfoForm function. Then find the following code in it

$aForm = array(
           'date' => array(
               'type' => 'value',
               'value' => getLocaleDate($aInfo['medDate'], BX_DOL_LOCALE_DATE_SHORT) . ' (' . defineTimeInterval($aInfo['medDate']) . ')',
               'caption' => _t('_Date'),
           ),
       );

and replace it with this one

$aForm = array();

It will remove Date from Info blocks on File, Photo, Sound, Video view pages.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 25 Sep 2013

AntonL,

I tried but it didn't work.

Dolpin 7.1.4

Quote · 26 Sep 2013

 

AntonL,

I tried but it didn't work.

Dolpin 7.1.4

I have to ask, did you clear caches, both files and admin and sometimes even your browser cache will need clearing.

Geeks, making the world a better place
Quote · 26 Sep 2013

yes, clear all cache, user a new computer to browse the site etc...

Quote · 26 Sep 2013

Cool it worked! Now nobody has to know that all my videos and photos are all old. People can see it as being a new site again!

Quote · 26 Sep 2013

 Hello

Cool it worked! Now nobody has to know that all my videos and photos are all old. People can see it as being a new site again!

 It's great! Good luck.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 27 Sep 2013

 Hello

AntonL,
I tried but it didn't work.
Dolpin 7.1.4

I tested the mod on clean Dolphin 7.1.4 and it worked for me. Are you sure that the changes were done in correct place and saved? Also if you have some custom mods they can prevent the correct work of the mod.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 27 Sep 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.