solved Where can the language for the activity title "Latest Music" be found and changed?

researchcooperative
@researchcooperative
7 years ago
694 posts
Profiles on my site have an empty activity panel called "Latest Music".

What module does this refer to (if any), and where can the language be found and changed?

I thought maybe the panel is for activity related to audiofiles, but when I check the language editors for "Audio" and "Audio (Combined)" modules, I cannot find the words "Latest Music".


--
PJ Matthews, Kyoto
Migrated from Ning 2.0. Now at Jamroom 6 beta and using Jamroom Hosting for The Research Cooperative (researchcooperative.org)

updated by @researchcooperative: 07/14/17 01:56:14PM
paul
@paul
7 years ago
4,326 posts
I'm assuming this is the Ninja skin?
In the profile_index_music.tpl line 64 - 'Latest Music' is made up of the two skin language strings 'Latest' and 'Music'.
hth


--
Paul Asher - JR Developer and System Import Specialist
researchcooperative
@researchcooperative
7 years ago
694 posts
Thanks. Looking at the .tpl I can see that it refers to the jrAudio and jrSoundcloud modules.
Is it safe to go through this script and replace the word Music with Audio in every position?


--
PJ Matthews, Kyoto
Migrated from Ning 2.0. Now at Jamroom 6 beta and using Jamroom Hosting for The Research Cooperative (researchcooperative.org)
SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
Just replace the language strings in the ACP. Then empty your caches.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
researchcooperative
@researchcooperative
7 years ago
694 posts
I found the following ACP route useful:

ACP>Skin Settings> Skin Style>Language>page 2>String No. 14 (Music)

This solved the visible issue of the profile page activity panel labelled "Latest Music". This now reads "Latest Audio".

However, when I check the skin .tpl file (profile_index_music.tpl) (after resetting caches) I do not see any change there. For example:

{capture name="latest_music" assign="m_tpl"}

and other code in the .tpl still use the term "music" so I expect this will be seen elsewhere by users.

I can cross this bridge when I come to it.


--
PJ Matthews, Kyoto
Migrated from Ning 2.0. Now at Jamroom 6 beta and using Jamroom Hosting for The Research Cooperative (researchcooperative.org)

updated by @researchcooperative: 04/12/17 04:10:17PM
SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
Other users don't see the smarty codes.

Just log in as a normal user to see what they see.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)