How I change the buttons ?

izhmel
@izhmel
4 years ago
1,323 posts
How I change the buttons ? I find users not finding how to download I want to put some more noticeable
download.jpg
download.jpg  •  868KB




--
The Scientist
dubmusic.com
Thanks for any assistance.

updated by @izhmel: 08/13/20 01:45:11PM
paul
@paul
4 years ago
4,326 posts
You can add a 'size' parameter to the jrCore_item_detail_buttons smarty call in the template(s) -

{jrCore_item_detail_buttons . . .  (other parameter) . . . size=64}

That would make all the icons 64 pixals square instead of the default size.
hth


--
Paul Asher - JR Developer and System Import Specialist
izhmel
@izhmel
4 years ago
1,323 posts
I don't see jrCore_item_detail_buttons I only see"item_action_button.tpl" @ "core/template_modify/template=item_action_button.tpl"


--
The Scientist
dubmusic.com
Thanks for any assistance.

updated by @izhmel: 05/12/20 09:41:12PM
paul
@paul
4 years ago
4,326 posts
Your screenshot above is showing an audio item list so you need to edit temp item_list.tpl and item_detail.tpl templates in the Audio module. The smarty calls are jrCore_item_list_buttons and jrCore_item_detail_buttons respectively.
hth


--
Paul Asher - JR Developer and System Import Specialist
izhmel
@izhmel
4 years ago
1,323 posts
Can you give more detail info please ? where exactly , what line number , what is the exact code ?

Thanks


--
The Scientist
dubmusic.com
Thanks for any assistance.

updated by @izhmel: 05/13/20 11:34:06AM
michael
@michael
4 years ago
7,717 posts
You can use the the URL from that button to construct a bigger link in the item_list.tpl pages. The link on that button will be something like:
http://yoursite.test/uploaded_audio/download/audio_file/1/general-rock
so you'd need to create a button in the item_list.tpl pages that looks something like this:
{jrCore_module_url module="jrAudio" assign="murl"}
<a href="{$jamroom_url}/{$mulrl}/download/audio_file/{$item._item_id}/{$item.audio_title_url}" class="custom-download-button">THIS IS THE DOWNLOAD BUTTON</a>

Then you'd need to style it however you like via CSS.
izhmel
@izhmel
4 years ago
1,323 posts
It still dose not work for me .
It would be good to have something more user friendly like "skin_admin/images/skin=jrXDubMusic" you can just upload the image you want .

Thanks


--
The Scientist
dubmusic.com
Thanks for any assistance.

Tags