*

Shadowland

  • *
  • 4 posts
Help: Set forms to specific language in item-post.php
« 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"
Code: [Select]
// 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; } }
« Last Edit: September 15, 2020, 01:12:24 AM by Shadowland »

*

Shadowland

  • *
  • 4 posts
Re: Help: Set forms to specific language in item-post.php
« Reply #1 on: October 29, 2020, 04:16:39 PM »
Would really appreciate it if someone could help with this?

Marked as best answer by frosticek on December 23, 2020, 02:32:58 PM
*

MB Themes

Re: Help: Set forms to specific language in item-post.php
« Reply #2 on: October 29, 2020, 06:49:14 PM »
I think there exists also variant for single language box, check sigma theme.
Otherwise only way is via jquery.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots