Forum Activity for @pch

pch
@pch
07/01/16 02:29:23PM
328 posts

How to rename a custom field?


Using Jamroom

I have double checked the update and the create form and any other form but i couldn't lfind a form that is still using that field.
pch
@pch
07/01/16 01:07:17PM
328 posts

How to make Audio and Video Categories (genres) a link ?


Using Jamroom

douglas:
Elastic is not setup with a custom audio or video page, it uses the modules templates instead, you'll need custom templates created for audio and video in order to make the genre links work.

Hi Douglas,

Thanks for your reply.

Well, how come does the album link work in Elastic Skin? Isn't the Album using the module template as well? Can't the same be applied to genre/category too?

I have checked the item_detail.tpl and found this code:
<h3>{jrCore_lang module="jrAudio" id="31" default="album"}: <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/albums/{$item.audio_album_url}">{$item.audio_album}</a></h3><br>

What do you advise? Thanks
pch
@pch
07/01/16 12:06:42PM
328 posts

How to rename a custom field?


Using Jamroom

Hi Brian,

I have deleted that custom field and created a new one but its language strings don't get deleted, there are still there. Is it normal? It is it how it was supposed to work? Isn't supposed to automatically get deleted when the field is deleted?

Thanks
pch
@pch
07/01/16 11:56:09AM
328 posts

How to upload and search audio and video by date and location?


Using Jamroom

michael:
These are the docs you want to adjust how the time shows.
Docs: "{$variable|jrCore_format_time}"https://www.jamroom.net/the-jamroom-network/documentation/development/1539/variable-jrcore-format-time

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.
pch
@pch
07/01/16 11:47:01AM
328 posts

How to upload and search audio and video by date and location?


Using Jamroom

brian:
No worries - I didn't mention that because of the number of topics posted was a problem - you'll just find that usually when customizing JR it's going to involve templates, so in your case becoming a smarty "expert" is going to go a long way for you in helping you get the result you want.

Ok Brian. Thanks
pch
@pch
06/26/16 09:08:41AM
328 posts

How to upload and search audio and video by date and location?


Using Jamroom

brian:
Michael's documentation link is spot on - it shows you how to format a date variable in a template. Jamroom uses Smarty templates:http://www.smarty.net/docs/en/

Ok I will go through the documentation to understand it and get it work.

brian:
based on the number of posts you have posted in the forum, you're likely trying to customize a lot of your site, so make sure you have a really good understanding of Smarty.

Well dear Brian, believe me, I am just trying to get JR to work for us according to our needs otherwise I wouldn't have even bordered you with too much questions or posts in this forum. Yes I know I am asking too much. I may sound anointing but sometimes I just need to ask for a question in order to understand or to seek for assistance with the system or the code. I have managed to customize and set up many things in JR myself. It's a learning curve for me but I am improving a lot. My apologies for the excess of the forum post. Yes, with time, I will do my best to make sure I understand how things work.

Thanks
pch
@pch
06/26/16 08:59:32AM
328 posts

How to upload and search audio and video by date and location?


Using Jamroom

michael:
These are the docs you want to adjust how the time shows.
Docs: "{$variable|jrCore_format_time}"https://www.jamroom.net/the-jamroom-network/documentation/development/1539/variable-jrcore-format-time
"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

Hi Michael,

My sincere apologies for my previous post and for too much questions. Sometimes i just get frustrated trying to understand and customize JR.

I will go through the link you post to try to understand how the date and time work and how to get it display in the template.

Thanks a lot.
pch
@pch
06/26/16 07:50:21AM
328 posts

Quote tags displaying in the audio and video comments module.


Using Jamroom

Does the commenting system rely on the forum module to work? I will not use the forum in my system. So do I still need to install and activate the forum that I won't use in order to get the quote to work fine on the audio and video commenting module?
updated by @pch: 06/26/16 08:00:39AM
pch
@pch
06/26/16 07:39:17AM
328 posts

How to rename a custom field?


Using Jamroom

brian:
You can't rename a custom field - you need to delete it and create a new one, although you will NOT be able to create a new custom field that has the same name as an existing field (whether it was created via the Form Designer OR it's an internal field).

Ok. I will just delete it and create a new one. Thanks
  12