solved Terms page module not working for my native language

resif
@resif
6 years ago
187 posts
i want to publish a terms of use page on top menu

when i use terms of service module it says use "terms" word. on page title....

how can i use native lang title
updated by @resif: 01/16/19 07:13:32PM
douglas
@douglas
6 years ago
2,790 posts
The Terms Of Service (jrTOS) module does not require the word "Terms" in the title, are you referring to something else?


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
resif
@resif
6 years ago
187 posts
Look at this.. when i ise different name not seeking
douglas
@douglas
6 years ago
2,790 posts
Which skin is this for?

Thanks!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
resif
@resif
6 years ago
187 posts
Elastic2
douglas
@douglas
6 years ago
2,790 posts
Okay, I know Elastic2 does not come with a terms_of_serivce,tpl so I'm guessing you copied it over to the Elastic2 skin?

If that is the case you'll want to modify the template and change the search parameter in the jrCore_list function at the top....

change this:
search1="page_title_url like %terms%"

to this:
search1="page_title_url like %NEWPAGETITLE%"

change NEWPAGETITLE to the title you want to use.

Hope this helps!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
resif
@resif
6 years ago
187 posts
i didnt find the file where is it...
resif
@resif
6 years ago
187 posts
@douglas there is no this page under elastic directory...
resif
@resif
6 years ago
187 posts
douglas:
Okay, I know Elastic2 does not come with a terms_of_serivce,tpl so I'm guessing you copied it over to the Elastic2 skin?

If that is the case you'll want to modify the template and change the search parameter in the jrCore_list function at the top....

change this:
search1="page_title_url like %terms%"

to this:
search1="page_title_url like %NEWPAGETITLE%"

change NEWPAGETITLE to the title you want to use.

Hope this helps!

where is the this code...

search1="page_title_url like %terms%"
douglas
@douglas
6 years ago
2,790 posts
Yeah sorry, you are not using that file you are using the Terms Of Service module, in which case the title needs to have Terms in it so the module knows what to look for. I believe you would have to modify the module to change what it looks for in the title.

This can be found in the jrTOS modules include.php file around line 110

           "page_title_url like %terms%",

Hope this helps!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
resif
@resif
6 years ago
187 posts
i found

'search' => array(
"page_title_url like %terms%",
"page_location = 0"

and changed to this

'search' => array(
"page_title_url like %NEWPAGETITLE%",
"page_location = 0"

Tags