Jump to content

Clarity

Members
  • Posts

    113
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Clarity

  1. Thank you, @horst. Possibly that was the core of the problem.
  2. _strings.php contains variables which are translations from one language to another (e.g. $var1 = __('Text 1')). I thought it is a standard ProcessWire file.
  3. Hello everyone! I have _strings.php file which I need to use on entire site. It is included in _init.php file like that: include_once("{$config->paths->templates}_strings.php"); However, our site uses partially uses Wire Render Pattern (https://github.com/joyofpw/wire-render-pattern), which is why _strings.php isn't getting included to some files automatically. Can you please tell us what to do in this case?
  4. Hello everyone! I have a problem: when I upload this (namely this, others work well) animated GIF on local site, it appears normally. However, if I upload it on site at hosting, it gets screwed up. What can be wrong with this image?
  5. Thank you, but not quite. I meant how to get the page data from "editing" page but not reverse. EDIT: Problem solved, $pages->get($input->get->id)->language performs the trick.
  6. Hello, I have language field on some template. Need to get data from this field via API in order to send it to settings. But if I write, say, $page->language , I get the data only on the page where it is called, but not on "editing" page. So how to get data from $page to "editing" page?
  7. Clarity

    Community Gamers

    Good day, @Ivan Gretsky! Yes, also online games with English-writing players can teach some English slang (e.g. "ty" stands for "thank you", "np" stands for "no problem"). Also generally online games can teach how to write messages quickly (as you need to play and communicate at the same time unless you're using voice talk), which can be a good skill for programmer too.
  8. Clarity

    Community Gamers

    I'm a huge fan of Perfect World.
  9. Thank you for the response! However, I meant the user avatar on ProcessWire forums. Sorry for being somewhat inexact in my question. Suddenly I found that in my profile option "Profile Photo" appeared and was able to place my avatar, so the problem is solved now.
  10. Hello everyone! I'm new here and I want to set an user avatar to my profile. However, I don't see any option in my personal cabinet that can do it. Could you please tell me if there are there some requirements for user for setting an avatar or I'm missing something?
×
×
  • Create New...