Soma

Moderators
  • Content Count

    6,772
  • Joined

  • Last visited

  • Days Won

    158

Soma last won the day on November 3 2018

Soma had the most liked content!

Community Reputation

6,494 Excellent

2 Followers

About Soma

  • Rank
    Dreamer
  • Birthday 03/31/1975

Contact Methods

  • Website URL
    http://soma.urlich.ch

Profile Information

  • Gender
    Male
  • Location
    SH, Switzerland

Recent Profile Visitors

39,119 profile views
  1. Soma

    I can't reproduce this as it works fine here PW 3.0.118.
  2. That's exactly the point. You might regret it. Doing such a complex project without experience is never a good idea.
  3. Soma

    Something else related to sound creation is something a friend showed me recently: https://vcvrack.com/ For anyone into Modular Synthesizer.
  4. Soma

    I don't know what's so confusing about it. I think it's rather this doc: https://processwire.com/api/multi-language-support/code-i18n/
  5. Soma

    Here something very special, in the days of trillions of colors high dpi screens and VR... art by Mark Ferrari which is absolutely incredible work. http://www.effectgames.com/demos/canvascycle/
  6. Soma

    Everybody can make music. https://audiotool.com is a powerful pretty unique in the browser sound production studio. I remember back then it was made with flash, nowadays it's a JS app with 600k lines of code. Pretty amazing if you never seen it try it out.
  7. Soma

    I don't think your thread got deleted, but the ProDrafts VIP Board is for support of this payed module. Access to the VIP ProDrafts support and upgrades board.
  8. Soma

    When you change the $user->language, all following API returns stuff in that language also, the $page->url or $input->url. No need to do str_eplace on something already the same. So if $this.>getLangFromCookie does return the language object then you can change it to this. private function doInitLocalization() { $user = wire('user'); $input = wire('input'); // Get/set user language from either browser or cookie $language = $this->getLangFromCookie() ?: $this->getValidBrowserPrefLang(); if($language !== $user->language) { $user->language = $language; $this->wire("session")->redirect($input->url(true)); } }
  9. Maybe this will help? http://cheatsheet.processwire.com/files/file-properties/
  10. Soma

    Something like this would be the easiest way, I can think of, to do what you are doing. Redirect to a another language, including urlSegments, Pagenumber and optional QueryStrings; if($user->language->isDefault) { $user->language = $languages->get("de"); $session->redirect($input->url($withQueryString = true)); }
  11. Soma

    $page->one_liner_group->getRandom();
  12. There's no difference only preference.