Jump to content

Mike Rockett

  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Mike Rockett

  1. I'd like to get some general feedback from people using the module. If you have a minute, please share your experiences or issues (even those that are self-resolved, if any). If it's looking stable enough, I'd like to bump to stable v1. If there are issues, please also feel free to let me know. Thanks!
  2. I'd like to get some general feedback from people using the module. If you have a minute, please share your experiences or issues (even those that are self-resolved, if any). If it's looking stable enough, I'd like to bump to stable v1. If there are issues, please also feel free to let me know. Thanks!
  3. I see that another request has come in for resolvable pages to redirect. I can see this adding a little bit of overhead (FastRoute or no), so if I do implement it, it'll probably need to go behind a configuration option that's turned off by default... Haven't devved in PW for a while now, but I'm sure there's a nifty way to get it working (I hook-change based on the config should be good enough). That aside, I'm looking to continue work on this in about two to three weeks. I'll need to bring it over from my old dev environment on Windows/WSL to my MacBook, which has made development a breeze.
  4. Jumplinks doesn't allow that, I'm afraid. It hooks onto the 404 event, so it will only respond to requests that don't resolve. You would need to call $session->redirect() in your template to do a redirect from an existing, published page. If you don't mind my asking, why do you need published pages that redirect to others?
  5. And my worry is that it won’t be coming out any time soon – new schedule ‘n all. Going to try look into this again some time within the next two months, which is pretty much the earliest I can do. Regarding your suggestion: why would you want to redirect away from something that exists? If you can provide a good use-case for it, I’ll be happy to consider it and add it to the good ol’ to-do.
  6. I’ve seen it once or twice before, and also recall that something else was going on. Sometimes it’s due to an apache misconfiguration with the virtual host (happened to me often on my old local development machine, before my PW days), and other times it’s module related. So I think you should explore those (disable one by one to see what happens) and make everything is “a-okay”. Failing which, someone else might need to chime in and assist.
  7. Hi Jon - not sure why that’s happening there… Is this for all the redirects? Is your site at the root of the domain? What version of PW are you running?
  8. Hi @Rudy – as /news/ resolves instead of throwing a 404, Jumplinks won’t even see it. You’d be better off using $session->redirect() in the template if the segment does not exist.
  9. Whilst you’ve got cold temps and snow, we’re in the last stretch of what’s been a week-long heatwave here in SA’s highveld. Upwards of 30°C (estimated, real-feels were up to 37°C) since Monday. Next week shall cool down considerably, apparently, and very much hopefully.
  10. VS Code is in need of one too.
  11. Is there no easy way to change the delimiters? Having a hard time with Vue in my template where it’s conflicting inside class bindings. Turning the syntax off is obviously not a good solution... i’ve tried using getParser()->setDelimiters(left, right), but it must be too late in the lifecycle for it to be effective, because it still says the macro is unknown. Edit: Got it working… $view->latte->getParser()->syntaxes['latte'] = ["\{\@(?![\s'\"{}])", '\}'];
  12. @Guy Verville Glad to know it works smoothly for your personal site. Let me know if any issues arise, and I’ll be happy to help.
  13. @Guy Verville – It looks like the template process doesn’t give me as much flexibility that the page edit process does. As such, I think I’ll dump this the module config. Truthfully, I actually think it’ll be better this way. Edit: I’ve bumped to 0.3.3 RC2.2: You can now exlude templates via the config page. If templates are included (for sitemap options) via config, those inclusions will simply be ignored (non-destructive so that restoring access is simple). Please let me know if this works smoothly for you. Related commit: https://github.com/rockettpw/markup-sitemap/commit/4981b9b537bce556ba15d4eacac0d095fea170da
  14. @Guy Verville - Sorry for the delay in responding. I’ll look into this for you – should be easy enough to achieve.
  15. Update on Jumplinks 2: I’ve been working on a few things to move everything over to a more modern JS code-base. You can learn more about that here: https://github.com/rockettpw/jumplinks/issues/14#issuecomment-353781768 Still lots of work to do on both the front and back ends, but I’ll get there. @jannisl Sorry for the delay, somehow missed your post. Jumplinks automatically trims out index.php from requests as PW doesn’t supprt them. Not sure why it’s not working for you though. Could you turn on debug mode (in Jumplinks’ config) and let me know what happens when you navigate to index.php/something?
  16. PHP 5.6 (and even 7.0) no longer receive active support (both versions receive only security support). You should use PHP 7.1 (matured) or 7.2 (recently released). I tend to wait a little while after major releases (anything can happen), so I’m currently sticking with 7.1 – probably until around March next year (birthday time, hehe). Refer: https://secure.php.net/supported-versions.php
  17. Not sure how that’s possible, but it could be related to caching. If you provide more information about your setup and what jumplinks you have created, I might be able to assist. It’s on ice at the moment due to new work that’s come in. Time is super limited until earlyish next year, at which point I can revisit v2. Sorry for the delays, but it’s unavoidable at the moment.
  18. @adrian Thanks, will patch and test it out in a few hours… Time to do system updates now (in desperate need of Windows subsystem for Linux).
  19. Not sure if this is due to any changes in this specific version, but I’m not able to upload images (tested in a user profile). It returns with Invalid POST Data. Upon further investigation, it seems to come from this: /wire/modules/Process/ProcessProfile/ProcessProfile.module (line 213) When uploading the image, it sends a post request to /admin/profile/?InputfieldFileAjax=1, with the following headers: X-FIELDNAME:image X-FILENAME:6.png X-REQUESTED-WITH:XMLHttpRequest The user ID doesn’t appear to be set in the request, which is why the error is thrown. Interestingly, the HTTP code returned is 200… After that request, another is made to blob:http://domain.lserv/aa5ddd22-6dbf-42e0-9d12-1cee83b8fb39, which returns the image I uploaded, yet it does not exist in the files directory. (Honestly, I don’t know how AJAX uploads work behind the scenes, so this part of it could well be by design…) Is there something further I need to do, or is this a geniune bug that needs reporting?
  20. I just noticed that it’s not possible to turn off email notifications for private messages. The tooltip for the relevant toggle-switch says that an administrator has disabled it. @Pete, would you mind re-enabling it? I sign into the forums every day, and so an email notification of a private message is practically redundant.
  21. Thanks, figured as much. Will need to rework this on the front end then.
  22. The current generator uses an array for “permission”, which doesn’t seem right as the API docs state it needs to be a string… Which is correct? Also, if a permission is created via the “permissions” array, surely they would all need to be in “permission” as an array as well? This how I’m doing it in Jumplinks, anyway (hope I’m not wrong). Or perhaps “permissionMethod” should be used for multiple permissions? Some insight would be appreciated.
  23. A little while ago, I began a complete rewrite of the module that was set to add additional features (like SASS and Stylus, for example). Unfortunately, I won’t have time to work on it as fast as I’d like. But, it’s still something I’d like to do.
  24. @Pixrael I hear ya, though inline styles is not something one should implement in their own HTML, but allow the framework to handle it for you.
  • Create New...