News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

How to Remove date and time display In frontend for a category ? [solved]

Started by rameshsomepalli99, 28.09.2015 11:32:35

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rameshsomepalli99

Hi,

I am using jdownloads Component for joomla 3.x. I want remove date display format in frontend for a single category. How to remove this for front end ? I checked in admin there is no option to stop this.

Thanks,
Ramesh S
  •  

ColinM

Hi
Do you mean the dates shown for Downloads?  Presume you mean the Created Date

Not sure this can be done for Downloads in a selected Category.  It can be done for all Downloads.  It could also be done if you used the Content plugin in a regular Joomla! article as you can specify which layout to use, so you could set up a new layout which omits the created date.

For example in the 'Standard Files Layout without Checkboxes v2.5' layout you will find:
   <tr>
      <td width="20%" align="left" valign="top">{description}</td><td width="50%" align="left" valign="top">{mp3_player}<br />{mp3_id3_tag}<br /> {preview_url}</td>
<td width="15%" valign="top"> {created_date_title}<br /> {filesize_title}<br /> {hits_title}</td>
      <td text-align="right" width="10%" valign="top">{created_date_value}<br />{filesize_value}<br />{hits_value}</td>
</tr>

So create a new layout by copying it and the remove the {created_date_title} and {created_date_value} place holders, and also the two trailing
 tags to get
   <tr>
      <td width="20%" align="left" valign="top">{description}</td><td width="50%" align="left" valign="top">{mp3_player}<br />{mp3_id3_tag}<br /> {preview_url}</td>
<td width="15%" valign="top"> {filesize_title}<br /> {hits_title}</td>
      <td text-align="right" width="10%" valign="top">{filesize_value}<br />{hits_value}</td>
</tr>


Make the new layout the Active one.  No created Dates will then be shown.  You may also need to create a new version of your Download Details layout and edit similarly.  ALWAYS MAKE A COPY!!!

Colin
Colin M
  •  

rameshsomepalli99

HI Colin,

Thanks for your replay. Your solution has worked.

Thanks,
Ramesh S
  •