Osclass Support Forums
Osclass theme support => Alpha Osclass Theme => Topic started by: Shadowland on September 15, 2020, 01:09:40 AM
-
Can someone please help with this?
I would like to make either one of the following changes:
1-Use a single language for the Title and Description fields in item-post.php (while keeping a multilingual website).
Or
2- Set forms (title & description) to a specific/default website language (not the active language)
This is the current code in item-post.php to "set forms to active language"
// Set forms to active language var post_timer = setInterval(gam_check_lang, 250); function gam_check_lang() { if($('.tabbertab').length > 1 && $('.tabbertab.tabbertabhide').length) { var l_active = gamCurrentLocale; l_active = l_active.trim(); $('.tabbernav > li > a:contains("' + l_active + '")').click(); clearInterval(post_timer); return; } }
-
Would really appreciate it if someone could help with this?
-
I think there exists also variant for single language box, check sigma theme.
Otherwise only way is via jquery.