jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => General => Topic started by: wacl3 on 25.10.2019 09:55:43

Title: change headings and sub heading text
Post by: wacl3 on 25.10.2019 09:55:43
Hello,

1 a) in files layout front end view, there is the word files at top of page, how can I can this text please to another word?
  b) same in download details?

2) how can I change the text in the create download form headings and sub headings please?
(please see attched image)

thnaks


[gelöscht durch Administrator]
Title: Re: change headings and sub heading text
Post by: ColinM on 25.10.2019 18:32:14
Hi
Quote1 a) in files layout front end view, there is the word files at top of page, how can I can this text please to another word?
  b) same in download details?
Actually it is the text 'Files'  This is defined in the language file in COM_JDOWNLOADS_FE_FILELIST_TITLE_OVER_FILES_LIST

These are defined in the language file.  So the principe would be to use a language override.  If you do decide to change then be very, very careful as the syntax is strict.  This is defined in the language file in COM_JDOWNLOADS_FE_FILELIST_TITLE_OVER_FILES_LISTIn jD3.9 this is changed to Downloads.
2) how can I change the text in the create download form headings and sub headings please?
(please see attched image) 
I do not understand this question

But why do you want to change everything in site! :( Colin
Title: Re: change headings and sub heading text
Post by: wacl3 on 26.10.2019 22:25:53
Thank you for that information on how to change the file and download details headings...
I will venture carefully...

attached is further information on changing the create download form headings and sub headings....
please advise

thanks

p.s, it's not that I want to change jD, I think its great & a powerful system...  I am just creating a theme and using all the features I can of jD that can benefit my system....  I will be happy to send you a link when finished to show you the outcome....

pps, thanks for your patience....


[gelöscht durch Administrator]
Title: Re: change headings and sub heading text
Post by: wacl3 on 26.10.2019 22:38:23
I have just realised, you have answered this question previously - answer is joomla override as you stated....
thanks answered!
(if I am incorrect, please advise)...
Title: Re: change headings and sub heading text
Post by: ColinM on 27.10.2019 14:05:15
Hi
Yes you can use a Component override  You cannot use the Joomla Language Override
See https://www.joomlashack.com/blog/joomla/overrides/


Just for reference in case there are other strings the search file  <your site>\language\en-GB\en-GB.com_jdownloads.ini Maybe practice backing up and resoting your site first
The strings you need to override are below.  Edit very carefuly  Only change between the " marks and make just text changes do not put in html or css.
COM_JDOWNLOADS_FORM_PREVIEW_FILE_LABEL="Select Preview File"
COM_JDOWNLOADS_FORM_FILE_LABEL="Select Main File"
COM_JDOWNLOADS_EDIT_DOWNLOAD="Edit Download"
COM_JDOWNLOADS_ADD_NEW_DOWNLOAD="Create Download"

Colin