How to upload and search audio and video by date and location?
Using Jamroom
douglas:
The form designer will do what you want.
Just add a date field, not a datetime field unless you need the time too, via the form designer and you should be able to search by date. You can do the same for the Location.
Hi Douglas,
Thanks a lot for the great support. It exactly what I was looking for. I am so happy. It works.
By the way, how to translate the date picker? e.g: Mon, Tue, Wed, etc... September, October ect
For the Location, what do you advise me? A "text" field or a "select_and_text" field?
Also, I have just remembered that "Conference" which is one of our audio and video categories has a speaker and one conference can have more than one speakers at a time (3 or 5 speakers per conference).
I would like to have a field like "speakers" in order to add many speakers to an audio or video. We know all our conference speakers (there are more than twenty of them).
Which field type would you recommend? A "checkbox" or a "select_multiple" field type?
Note: The speakers field will be searchable. One can search for a video of two or more speakers of the same conference.
douglas:
You may also need to rebuild the search index after creating new fields... ACP > Listing > Search > Tools > Rebuild Index.
Yes, I have done it and I added the audio_publish_date in the "Additional Search Fields" in the search module > Global config, but the date field is not showing as an option in the search pop-up window when you click on the search magnifying glass (I am using Elastic clone)
Should I put {$item.audio_publish_date} in the search template?
douglas:
If you need to show those fields on the profiles detail page, you'll have to modify the item_detail.tpl, ACP > Profiles > Audio > Templates, and add the variables for the new form fields where you would like them to show.
The variables will be the name of the field, ie. if you name the new field audio_publish_date, the variable used in the item_detail.tpl file will be {$item.audio_publish_date}.
I have added {$item.audio_publish_date} in the item_detail.tpl file. Instead of outputting the date (e.g 24 Jun 2016) it displays this: 1272146400
Have I missed something?
Also i would like to output the audio_publish_date on the main Audio and video page (where all audio and video are listed) and on the Audio and video Album page. How to do it and which file to edit?
Same with the audio_description and video_description fields that I created. I would like to display them on the main Audio and video page and on the Audio and video Album page. I have already managed to display them on the Audio and video detail page.
Thanks for a lot for the support.