Jump to content

mlfct

Members
  • Posts

    11
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

mlfct's Achievements

Jr. Member

Jr. Member (3/6)

11

Reputation

  1. Hi @ryan, thank you for the update! Don't know, if i should rather open a dedicated thread for that, but as it is related to the .186 update: I am running into some issues with the new "page not available in language" feature. Whilst the normal 404 is working, the 301/302 redirect option throws an error (at least for my current multilingual pw project) I could just trace it back to the newly introduced ___pageNotAvailableInLanguage in LanguageSupportPageNames.module. Tbh. as my PHP skills are still kind of lacking, i am not sure, if it is related to my setup or something more general.
  2. Hey @teppo, i got a quick question - maybe it is even trivial: I just upgraded from SE 0.26 to 0.30.1 and i am running into some issues with the JSON output. Up until now it was working flawlessly, when i was querying my search endpoint via AJAX. The output was just dead simple: $searchEngine = \ProcessWire\modules()->get('SearchEngine'); header('Content-Type: application/json'); return $searchEngine->renderResultsJSON(); But somehow this endpoint returns no results on 0.30.1, when using the same query as on 0.26: { "query": "xyz" } I also did a quick debug query via the SE admin panel, which returns all the expected results. Am i overlooking some changes?
  3. Hey everyone, i might have a weird issue with my multisite setup. Not sure though, if it is a user error from my side, a server configuration or a pw thing. I am using Soma's Multisite module to redirect different domains to different "sub"page-trees. On my dev-server, i just manually setup two vhosts on apache to test the configuration and it worked flawlessly. Each domain routes correctly to the corresponding entry in the pagetree. My client on the other hand has to use Plesk to configure his webserver. So I setup two domains (domain1.com | domain2.com) there and pointed the domain2.com DocRoot to domain1.com's DocRoot (with the actual pw installation). $config->httpHosts = [ 'domain1.com', 'domain2.com', 'domain3.com' ]; $config->MultisiteDomains = [ 'domain1.com' => [ 'root' => 'www.domain1.com', 'http404' => 27, ], 'domain2.com' => [ 'root' => 'www.domain2.ch', 'http404' => 27, ], 'domain3.com' => [ 'root' => 'www.domain3.ch', 'http404' => 27, ], ]; $config->httpHosts and $config->MultisiteDomains are properly set, but somehow when i am trying to load either of the two(or more) domains, it will always route to the first entry of the $config->httpHosts array. Maybe someone could give me an idea or has worked with a similar setup, because i am feeling kind of blocked right now. Thanks in advance! -- EDIT Embarrassingly enough, i just found the issue: The Plesk default domain setting was redirecting to the www.* subdomain and this setting interfered with the actual routing. Sorry for the pointless thread-spam.
  4. mlfct

    Wireframe

    @teppo was already following up on the github issue. works perfectly now - thanks for pinpointing the issue and chiming in with mauricius!
  5. mlfct

    Wireframe

    I've been using 0.14.0 from the your repo master branch and mauricius' blade renderer implementation.
  6. mlfct

    Wireframe

    Hey @teppo, first off thank you for creating this module - really love the approach. I recently took over a processwire project, which pretty much consisted of php/html spaghetti-code. Being an processwire greenhorn (having worked with Typo3 & WP up until now), this drove me crazy - but your module definitely helped me to bring some structure into that chaos. ^^ Anyway, long story short: I was wondering, if i can also use blade or twig templates for the view part of a component? It works flawlessly for all my template & partial views, but i am somehow having issues with components. Always running into something like this, although an default.blade.php view exists for that component: Method Wireframe\Component\SocialWidget::__toString() must not throw an exception, caught InvalidArgumentException: View [SocialWidget.default] not found. I might also just be missing something, as i only have an intermediate knowledge of php. Thanks in advance!
×
×
  • Create New...