Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/16/2021 in all areas

  1. "Are you tired of your URLs being just too darn short? Worry no further!" https://aaa.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com/ "Your date will be impressed with the sheer size of your URLs" ?
    3 points
  2. I remember this topic being one of those moments of "enlightenment" when learning processwire haha.
    1 point
  3. Hi @Bacos, You're right: If the AppApi module had received the Api request correctly, even an incorrect request would be answered with an exception and a JSON response. You get a HTML-response, so the request is not received by the module. Let's see... You send your request to https://localhost/testeapi/api/test - so your processwire root is https://localhost/testeapi/, am I right? Can you please double-check if your module's config looks like this: Another reason for a 404 error could be that you have already created a page in the ProcessWire page tree that is accessible under the /api route. Since the module uses a hook on ProcessPageView::pageNotFound to intercept requests, there must not be a page serving the api route. I think that's all the approaches I can think of for now. Was there perhaps already something suitable ??
    1 point
  4. @elabx that's so easy, wow
    1 point
  5. Move the page in the tree to be sibling of Pages, like you would with a regular page.
    1 point
  6. Great to see pull requests merged. This will help community and pw greatly!
    1 point
  7. Hello @fruid, I don't understand why you would like to disable drag in the slider and I haven't looked at your JavaScript. But if you want to jump to a slide with a link you could always add a link link this: <a href="#" data-uk-slider-item="1"></a> So you could link the slider item to itself for example. Or you could build two sliders, one visible on desktop and one visible on mobile. Thats more markup but no duplicate content for search engines. ? Regards, Andreas
    1 point
  8. Thank you for a great module! I have started to explore the many possibilities that this module opens up. A note myself that might help someone else too: I have a shared hosting that uses FastCGI. I couldn't get the Basic authentication to work using the Authorization header. Adding the following line to .htaccess does the job (available in Apache HTTP Server 2.4.13 and later). CGIPassAuth On Earlier version of Apache may use <IfModule mod_rewrite.c> RewriteEngine on RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] </IfModule> Source: https://stackoverflow.com/questions/3663520/php-auth-user-not-set
    1 point
×
×
  • Create New...