How to upload and search audio and video by date and location?
Using Jamroom
Hi Michael
I have managed to get the date diplayed well in the template after reading carefully the link you suggested me. Thanks a lot, it works.
I used this code:
{$item.audio_publish_date|jrCore_format_time:false:"%A %d/%m/%Y"}
and it outputs e.g:
Quote:
Sunday 25/04/2010
I am sorry and I just can't understand how I completely missed your post content. Your explanation was so clear. Thanks
Now there is just a small issue. The date is showing in English. Since it is taken from the server, I think it was supposed to display in the user's language selected when browsering the site. E.g. if the site is being visited in Spanish, the date should be in Spanish, if the site language is french, the date should be in French etc.
Do you know ho to fix it? I have this problem in both audio and video item detail page and in the Audio and video creation and update page. Even in the calendar with the date picker when creating or updating an audio or video, the date is in english.
michael:
"Which template do I modify?"
What you want is the Template Name In Source setting turned on, then look at the page, it will tell you which template to modify.
Docs: "Developer Tools : Template Name in Source"https://www.jamroom.net/the-jamroom-network/documentation/modules/932/developer-tools#template-name-in-source
Thanks a lot for the "Template Name In Source" clue. I wasn't even aware of it. I will activate it. It will be of a great help for me in this JR customization process.
Thanks a for the support.