Sign in to follow this  
Fuad Ibrahimov

Problem with default language

Recommended Posts

Hi all!
I have a problem with selecting default language in frontend.

I tried to set default language from admin panel in Access->Users for guests and admin to another language, but it changed only backend language.

I read a lot of topics about this problem and i didn't find any normal solution.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By zaib
      I'm fetching some results on the basis of categories check boxes (which are checked only).
      until here works fine,
      issue is if multiple check boxes are selected so given result is also duplicating
      <?php $getCities = $page->find("template=t3Cities_list"); foreach ($getCities as $city) { foreach ($city->tags as $get) { $getTags = $page->get("template=tags_template, include=hidden")->children("sort=title, tag_code={$get->title}"); echo "<div class='grid-masonry'><div class='grid-sizer'></div>"; foreach ($getTags as $tag) { echo "<div class='grid-item'> <a href='{$tag->url}' class='img-hovered'> <div class='overlay'> <span>{$tag->title}</span> <!--<div class='cat-subtitle'>{$tag->categorymeta}</div> --> </div> <img class='img-responsive' src='{$tag->categorythumb->url}{$tag->categorythumb}' /> </a> </div>"; } echo "</div>"; } } ?> $getTags = $page->get("template=tags_template, include=hidden")->children("sort=title, tag_code={$get->title}");
      this {$get->title} is the value of checkbox

    • By zaib
      I'm fetching results from a template which works fine but when i change the language (in my case changed language is ARABIC), its showing me nothing
      $getResult = $pages->find("template=t3Cities_list, tags={$page->title}"); where "tags" are checkboxes with multi selection, How i can match the values?
    • By zaib
      I've a template which basically consists of some fields (imgs,urls etc..).
      after loading page all data is coming and showing in "posts.json" file which is perfect,
      issue is title link and and image link is not in the format this is my json code for exporting the page data
      $getTags = $page->get("template=tags_template, include=hidden")->children("sort=title"); $json = array(); foreach($getTags as $tag){ $json[] = array( 'title' => $tag->title, 'tag_url' => $tag->url, 'tag_img' => $tag->categorythumb->url ); } file_put_contents('posts.json', json_encode($json)); and this is what i'm getting in .json file
      { "title":"food and drink", "tag_url":"\/en\/discover\/food-and-drink\/", "tag_img":"\/site\/assets\/files\/1471\/" }, see the output , title is fine. But links are not formatted
      should be like this
      http://10.50.200.58/en/discover/food-and-drink/
      http://10.50.200.58/site/assets/files/1471/food-drink.jpg
       
      Any help would be appreciated.
      Thank you.
    • By benbyf
      PW Admin doesn't really function without javascript, and my question would be, should we care?
      I think, however, either way it might be nice to add a "<span>Javascript doesn't seem to be available, therefore you may not be able to access the full functionality of the admin</span>" somewhere maybe?