Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 11/13/2019 in all areas

  1. 4 points
    It's not related to ProcessWire. That's the good news. The bad news are: I don't know the answer. πŸ˜‰ Some say it's related to your hosting provider, some say it's related to a CDN. I found two similar issues out there in the wild: https://wordpress.org/support/topic/unusual-stuff-in-the-url/ https://community.cloudflare.com/t/website-css-not-loading-loads-with-development-mode-on/128163 So... if there is no CDN involved, try to look into your hosting and maybe even ask their support team. Last but not least: Welcome to the forums. πŸ™‚
  2. 2 points
  3. 2 points
    https://processwire.com/docs/fields/dependencies/
  4. 2 points
    Ok, my bad. Still, reporting post serves a completely different purpose. Hopefully this will be picked up by someone that can address the issue, but the best is to post the issue on github. You would have to create an account there, and of course that's up to you, but you don't need to use git to do it, only fill a form on the site.
  5. 2 points
    Please abstain from reporting your own post to call for attention. If you have an issue that you want resolved, report in on github and it will be addressed just as all other issues. https://github.com/processwire/processwire-issues/issues
  6. 1 point
    Hi First of all apologies, I'm a relatively new to Processwire and have always found the answers I needed by searching the forum - hence my first request for help. I have a legacy website using v2.8 and all seems fine except that when first loaded unusual URL endings appear. For example, the home page for www.example.com would load as www.example.com/?LMCL=wUl1nh&LMCL=YsYQdx. Although, it isn't always the same letters. I'd be grateful if anyone could help me resolve this problem and once again sorry if I'm missing the obvious!
  7. 1 point
    Ive been asked about providing a way to do vehicle checklists online, is there a way with processwire using a form to capture an e signature from the driver to confirm check complete . TIA
  8. 1 point
    Hey @ryan, I wanted to comment on this blog post but couldn't figure out how. There is a different google smtp service for G Suite users that lets you send mail from custom domains / addresses / ips. It also has huge free sending limits per user per day. Ideally the domain you'd like to send from should be added to your G Suite account, but you can also send from domains that aren't associated with G Suite. See more info here https://support.google.com/a/answer/2956491. I think it would be relevant to flag this as lots of people use G Suite but don't seem to know about it.
  9. 1 point
    Probably nothing to do with the ProcessWire core. Maybe you are setting/configuring sesssions in your own code not with the API, but with plain PHP and that causes the warnings?
  10. 1 point
    Thanks for catching that! I've edited my original post.
  11. 1 point
  12. 1 point
    Should webp extra image get deleted if you replace the original image? That is: upload an image, thumb is generated, then create webp extra by using $myimge->webpurl, then in the admin you replace the image by uploading with the same name eg. replace img1.jpg with img1.jpg. Original image is replaced, thumb is recreated, but webp stay the same. This is how it should be?
  13. 1 point
    Thanks a lot! Processwire is really great!
  14. 1 point
    Please add a [SOLVED] in the topic title, so people know, that an answer isn't needed anymore.
  15. 1 point
    I didn't ask you to not post in the forum, you should feel free to do so. I asked you to not report your own posts to the moderators.
  16. 1 point
    @tpr, I have added a fix for this in v0.0.2 of the Link Hover plugin if you want to update the version included in AOS: https://github.com/Toutouwai/linkhover Not as far as I can see. Without the Link Hover plugin installed there is no equivalent functionality to show the link URL on hover. Thanks for the bug report though.
  17. 1 point
    Wow - another post about this - I deleted one already πŸ™‚ Please see my response here: https://processwire.com/talk/topic/4388-phone-number-fieldtype/?do=findComment&comment=193502 about how to set values for FieldtypePhone fields.
  18. 1 point
    It looks like you still need to grasp some concepts and logic of html/css and php in general. Write me a pm, I think a chat between me and you would be ideal for you. I'm trying not to pollute the forum with a bi-lingual discussion between us.
  19. 1 point
    Udemy and YouTube for learning is only that - learning. Following someone who is better understanding of the topic of Networking. These suggestions are NOT for Certifications, for that you must go to https://www.comptia.org/certifications CompTia is the organization that will provide you the certifications. Everthing else you come across is for furthering your knowledge of switches, the OSI model, subnetting, IPv6, etc. You have TONS of learning to do, here are lots of other topics related to Networking https://www.reddit.com/r/ccna/ https://www.reddit.com/r/networking/ I am currently in school to get my Cisco Certifications, starting with A+ and Net+, going as high as I can. Hopefully ending with Cyber Security and CEH (Certified Ethical Hacker). But the road is NOT EASY. GOOD LUCK
  20. 1 point
    Hello @alex159753 Good to see you back again - I initially thought you were a spammer as your first post was a close fit to a very common pattern we see here as moderators. I am glad I was wrong! Regarding my points earlier, I wasn't aware your company was a startup and you have a fair point about certification. I don't know of any places doing online certified CCNA training, but you could look at itpro.tv as they might. However, that's not a free service, so if you do think of signing up with them do grab a sign-up code from somewhere like the Security Now podcast as that will give you a significant lifetime discount. Hope things work out for you in the startup. Best wishes, Steve
  21. 1 point
    Google 'professor messer' and check out a course on Udemy, a course by Chris Bryant for CCNA video bootcamp.
  22. 1 point
    Hello @alex159753, I've redacted the link from your post as you are a newcomer to the forum. Questions... If you are working at a networking firm, surely they can advise you about professional qualifications. Does your firm have a policy about continuing professional development? I would have thought google or youtube would be good places to find answers to this question - are you looking for something more specific than either of those can provide?
  23. 1 point
    Latest version adds support for ignoring specific users and/or roles, so that may help a bit. There's no clean way to figure out what is a system action, so I think ignoring the guest user (or some other user/role you use to perform these automated actions) is the best solution we have at the moment. Shorter duration for log rows matching some rule (such as a specific role/user) could be a potential future addition as well, in case there's demand for that sort of thing πŸ™‚ It's been a while (sorry!) so hopefully this has been resolved already. If not, let me know (preferably via GitHub issues, these are much easier for me to keep track of). If this is still occurring, please open a GitHub issue (if possible). I've just tested the module with both Reno and (old) default admin theme's, and was unable to reproduce this. I'm not entirely sure of the specifics, but it seems that adding any published (and non-hidden) page under /processwire/setup/ brings it up in the menu, so not really sure where to start, except that perhaps make sure that you're not using any hooks / modules that might somehow alter menu behaviour. It would be best if you could try this on a blank install: if the issue occurs there, it should be much easier for me to reproduce as well. If not, it's probably something specific to your current setup, which means that we'd have to start by figuring out what exactly is going on there πŸ™‚ Latest version (1.7.1) has two new configuration options (ProcessChangelogHooks config settings): ignored roles and ignored users. I think one of these should help with this πŸ™‚
  24. 1 point
  25. 1 point
    So this is sufficient, as in most cases in PW like fields. No isset() or empty() etc. if($session->cart_item){ .... exists or is populated } else { .... doesn't exists or is empty } You can also write, as always in PW $session->get("cart_item"); You can also use namespaced session $session->seFor("myshop", "cart_item", $cart_item); and get it with $cart_item = $session->getFor("myshop", "cart_item"); BTW what happens if hack your code and enter a "template=user, id=40, check_access=0" into your "product_id" POST?
  26. 1 point
    $session->cart_item is not a variable, which you could check for existance. It's an object ($session), which you ask for a specific key (cart_item). This will either return the item or null if the key is not found.
  27. 1 point
    I added this to the dev branch last week, so that you can now pass additional things to $page->render(): https://github.com/ryancramerdesign/ProcessWire/blob/dev/wire/modules/PageRender.module#L212 One of the things I wasn't thinking about before is that $page->render() was already capable of accepting an array of options (though not commonly used, mostly internal). So we weren't starting from a blank slate, and had to make something that was compatible and complimentary to what was already there. In terms of API calls, you can now do any of these: $page->render($filename); // $filename assumed in /site/templates/ $page->render($pathname); // $pathname is full path, but must resolve somewhere in web root $page->render($options); // array of options and/or your own variables $page->render(array('foo' => 'bar')); // same as above $page->render($filename, $options); // specify filename and options/vars, etc. The $options variable was already something that $page->render() accepted before. Only it was used to specify some little-used modifiers to render(). Those are still there (and they are necessary), but now the utility of $options has been extended. When you want to specify options (outlined in the link above) you only need to specify the ones you want to change from the defaults (of course). Typically you don't need to change them, so I'm guessing that most would use $options to specify their own variables. Every rendered template now receives a copy of that $options array locally scoped. That $options array contains any variables you passed to $page->render(). It also contains PW's default options, should you want to examine any of them. If you made this render() call: echo $page->render('myfile.php', array('foo' => 'bar')); myfile.php could access the 'foo' variable like this: echo $options['foo']; // outputs "bar" One other addition that I'm thinking people might like is $options['pageStack']. That is an array containing a stack of pages that called render(). So if you are doing any recursive rendering of pages, any template can access $options['pageStack'] to see what page is rendering it, and any others before it. Previously this was not possible, and the only way a template could tell what other page was rendering it (if any) was for that renderer to tell the renderee, via $mypage->caller = $page; or something like that.
Γ—
Γ—
  • Create New...