Jump to content

Soma

Moderators
  • Content Count

    6,795
  • Joined

  • Last visited

  • Days Won

    158

Soma last won the day on November 3 2018

Soma had the most liked content!

Community Reputation

6,565 Excellent

4 Followers

About Soma

  • Rank
    Dreamer
  • Birthday 03/31/1975

Contact Methods

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

Profile Information

  • Gender
    Male
  • Location
    SH, Switzerland

Recent Profile Visitors

41,723 profile views
  1. I have a config-dev.php for dev server or local setup. and the "root" stays the same just the domains are different.
  2. I don't have cats 😛 Yes that's true. I know the "redirect if domain name is found in url" would need even a much more sophisticated parsing method, but it gets too complicated for my brain. I think having random strings as root name would be a much easier solution.
  3. Yes the problem is most likely that both sites share the same names in it. abelt.test is in both setups and even in the root name. Just rename the root to something else more unique would do the trick. It's not something you would see anyway. "abelt.test" => array( // domain name is used to map to root page "root" => "abelt", // page name for the root page "http404" => 1031 ), "alexander-abelt.test" => array( // funktioniert nicht mit /en/ auf Home "root" => "alexander", "http404" => 1029 ),
  4. Ah reading againg. Ah reading again, I'm not 100% sure why this happens in your case. (but most likely what i said anyway :)) What is the setup config? And what Module version?
  5. I think this can happen if your multisite root page name has also the domain name in it. You should avoid that. Just rename it to something else My guess is that this comes from the fact you have domain.com and www.domain.com. You want to avoid that, cause the script isn't clever enough to know which is which. In any case you want to avoid having two domains setup for the same site. You should redirect your www to non www or the other way around.
  6. Then if $wire works for the hook $wire inside the funtion doesn't work, need to use wire(). And yes the lock file is most likely the problem cause of using $wire inside your function.
  7. $wire is not available in site/init.php .... You need to use wire().
  8. Have you debug mode on? I think $wire is not available in site/init.php.
  9. I think you looking for this https://processwire.com/api/ref/inputfield/get-errors/ ?
  10. Yeah good point. The way to do it is simple. If javascript is deferred, add the classes like uk-grid etc and not just the data attribute. https://getuikit.com/docs/grid#usage
  11. Yeah that's not anymore. There's a parser on page render now.
  12. Soma

    Looking for a new Job

    Hello guys Though times. Hope this is ok to post here. I'm currently looking for a new job here in Switzerland. I have over 20 years of experience in web development. I'm specialised in front-end HTML5, CSS, JS and backend (PW of course). I also have strong visual design skills. If anyone has a tip or knows a good address, I would really appreciate it. Thanks in advance for any help you could provide. Soma
  13. Are you sure you did everything correct? I also installed a new latest master PW3.0.123, and added 2 multisites to test. Works fine here. Can you show the config or tell more about what you did? The allowed httpHosts should be entered in the config as well. And the multisite config is as shown in the readme. The default 404 page has always been the basic-page template in PW, and the ID is what you enter in the multisite config. This works fine.
  14. Yeah those search fields are something you wanna change to your needs or remove them. It's still something that is not configurable.
  15. Read here what name() does https://processwire.com/api/ref/sanitizer/name/
×
×
  • Create New...