Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/04/2018 in all areas

  1. Definitely an interesting move, and I'm also wondering what Microsoft is planning to do with GitHub ? How will the focus of the platform evolve and will there be new restrictions for projects or users? Do they plan to integrate GitHub more tightly with their own tools? Could this mean that they're so attached to the GitHub platform that they need to make sure one of their competitors doesn't buy it first? Or perhaps this is just one more step in their ongoing effort to impress developers? There's not enough data to make any kind of educated guesses yet, so we'll just have to wait and see how it goes. One obvious thing is that a corporate entity like Microsoft wouldn't just go around buying services/platforms for the heck of it, or because said services/platforms have a great community, or whatever. Their primary goal will always be growing their business and bringing in more money – and somehow, directly or indirectly, GitHub is now part of that. Although I'm not particularly worried, I do think it's reasonable to be a bit concerned when a massive corporation like Microsoft buys out a platform as influential as GitHub – especially when that influence is probably most prominent within the open source community and individual developers working on non-commercial projects. Anyway, I can't see how wrecking the legacy of GitHub would be good for their business, so there's (probably) no need to be worried.
    3 points
  2. Why I think it is bad MS took it over ? We'll MS is going clearly the way of "as a service" and collecting data as much as they can. Another example about MS changed policy: Windows 10 was never made for the user. What is happening inside Windows 10 these days is copied from Apple. I say Windows 10 has become a complete disaster with weekly Gigabytes of Updates. Did you know there are already 12 different versions of Windows 10 out there ? Following the time line Win 95, 98, Me, 2000, XP, 7, Vista, 8, 10, ----- Windows 7 was the last Windows with the user in mind. I know a lot of people do not agree with this. This is just my personal opinion based on repairing computers for the last 20 years. I don't want to go in discussion with this, just add my 2 cents. Further: do you think Skype has been improved for the user since MS took it over ? MS policy is they just love users on an online MS account instead of a local computer account. I say it is bad, but I don't care. There will always be a workaround if needed, e.g. oracle mysql and mariadb. Edited: MS already smells that in the future their main source of income won't be windows and office anymore. There is a shift to as a service, cloud, etc. etc. So while they still have a box full of money they just bought Skype and maybe Github so they will still be there in the future. We are going to see more acquisitions like this in the future.
    3 points
  3. I really don't care. MS today isn't exactly what MS was 10-20 years ago. They've shown a lot of good will (and actions) when it comes to open-source lately. VS Code is a good, robust IDE - and completely free. MS is also actively involved in the W3C and many similar organizations. The Edge browser - though it will never become my browser of choice - is a solid piece of software. Eventually IE will be buried forever. MS didn't "get" the web (or open-source at large) in its early days, but they've "grown up", so to speak. They realize what's going on these days. What their particular motivation was for buying Github, we might never know. Maybe just a PR move, but really.... as long as you read the terms + conditions fine print in the coming days, and see for yourself what will be changed (if anything at all), I guess for most ppl it will be business as usual. You could also argue it was an "evil" step when Oracle bought mySQL. But did the product actually deteriorate or went the way of the dodo? No, it's still alive and well.
    3 points
  4. Take a look at these: https://gist.github.com/adrianbj/e391e2e343c5620d0720 https://gist.github.com/adrianbj/e391e2e343c5620d0720 https://gist.github.com/somatonic/5595081 and this conversation: https://processwire.com/talk/topic/1176-hiding-uneditable-pages-from-users/?do=findComment&comment=84916
    2 points
  5. There you go... ? It's wbmnfktr for webmanufaktur.
    2 points
  6. I think having a download option in the installer for getting additional site profiles beyond blank and basic would be the simpler option, which depends less on GitHub and people being familiar with it.
    2 points
  7. 2 points
  8. I use Laragon on Windows... before Laragon, i used XAMPP, but Laragon is much nicer ?
    2 points
  9. 1.9.5 is uploaded. I've disabled the FileCompiler because on Win localhost it was very slow, so if you have issues try to refresh the module cache. Changelog: - fix inline pagelist items if "Always show pagelist actions" was checked (reported by ottogal) - Delete and Trash action (non-superusers): skip confirmation if ctrl key is pressed - new Skip Trash? checkbox on page edit Delete tab (SuperUsers only, requested by Robin S) - fix NavItems causing JS error on "Find Files to Translate" page Search box - hotkey save: do not add blocking overlay until html5 required attribute requirements are not resolved (reported by Robin S, #95) - asmSelect searchbox: allow wider dropdown - AdminThemeUikit, percentage-based widths ON: move AsmSelect placeholder and maxlimit fields after Required field to avoid layout issues - add namespace and FileCompiler=0 to bypass PW's FileCompiler (slow compile on Win localhost, may need modules refresh)
    1 point
  10. At first, I had a "Oh sh!t" moment when I first read about it. However. after reading a bit more, Im not too worried regarding the acquisition. I am curious if they will push for Azure integration over other cloud services, effectively sweeping the others under the rug.
    1 point
  11. I'd say it's... GOOD! Today Microsoft isn't the Microsoft it was decades ago and Microsoft does a lot of things right nowadays. They listen. They deliver. They do better than Apple. Microsoft has the money to keep Github up and running. I'd be much more concerned if it was Facebook, Oracle, IBM, SAP, Adobe, Amazon, Apple, Alibaba (and similar) or several others. Who would have been better... Canonical, RedHat, any other free software foundation or company? I don't think so. Update: just saw that Nat Friedman will be part of the new team. This is awesome.
    1 point
  12. You nailed it. It's an old site (one of my first ever with pw), and I wasn't rendering the URLs correctly. It works now. Thanks a lot for your help, wbnjfktr (whatever that means). ?
    1 point
  13. Could you provide an example of your template code? I ask because of something I did wrong in the past. Some links were static and set within the code itself and didn't come from ProcessWire. So if you set a the href to /impressum/ it will stay the same no matter what language you wanted to use. But if you let ProcessWire do the job like $pages->get('id=4')->url it would/should show /impressum/ or /en/imprint/.
    1 point
  14. I put in a request similar to that here several weeks ago. Ryan had some justifiable concerns with it: https://github.com/processwire/processwire-requests/issues/137
    1 point
  15. Thanks @adrian for the quick fix!! It works as expected! ?
    1 point
  16. yep, built a new customac so up and running ( submitted 2 modules today)... this is a tricky one though (lot of fields to make a useful working dashboard)...
    1 point
  17. The InputfieldImage::getAdminThumb() method with the "remove legacy thumbnail file" argument is what you want to use. You'd loop over all the images in your site and call that method on each one. I think this will do the job... $if_image = $this->modules->InputfieldImage; foreach($fields->find('type=FieldtypeImage') as $field) { foreach($pages->find("{$field->name}.count>0") as $p) { foreach($p->getUnformatted($field->name) as $image) $if_image->getAdminThumb($image, false, true); } }
    1 point
  18. Hi @Juergen - I just added the option to both the master and 3.x branches. Let me know if you have any problems. @szabesz did you ever end up testing the autocomplete stuff? Also, I'd like to move 3.x to master pretty soon because it's definitely much easier to work with raw numbers that way. Does anyone have any ideas for any other improvements that might also be breaking changes so we can get these in for this new version?
    1 point
  19. I wouldn't use a formula for this I would use a 'pecentage value' and use HSL color. hsl(0, 100%, 50%) is red, hsl(100, 100%, 50%) is green the color traverses over yellow. http://hslpicker.com/#5f0
    1 point
  20. You definitely should give them another try @AndZyk. Since your first post a lot of things changed. Am I really experienced? Maybe kind of. Ask me this when I finished the next 100 projects with lots of rich snippets/schema-markup. ? My examples and code snippets wouldn't be any different than any other resource out there. I really love this tool: https://technicalseo.com/seo-tools/schema-markup-generator/ You can create several kinds of markup as an example and implement them in your project. Those examples are a great starting point for everything. From breadcrumb to review or events. Test your markup over at Google and do what they want you to optimize in your markup: https://search.google.com/structured-data/testing-tool/u/0/ Check the schema.org definitions and guides for more details: http://schema.org/ Set up Google Search Console, check your markup with it and let Google crawl your optimized sites. Get reportings on errors and fix them fast. As written before: start with small parts of site (if possible) check results every 2 days for several weeks don't try to trick Google don't fake reviews don't fake review-counts or anything else If you are into Local SEO do the basics and create company and localBusiness markup with everything you can (logo, social profiles, site search, opening hours, ...), connect to Google My Business. Feel free to contact me or ask whatever you want. It's easier for me to answer a question right now.
    1 point
  21. Hi Ryan, With the addition of the new profile, in terms of file size nearly 60% of the core is now made up of site profiles. For new users these profiles are no doubt very handy, but I think for a lot of existing users the profiles (apart from "blank") are not needed. Speaking for myself I don't have a need for the bundled profiles and so delete them each time after downloading a new version from GitHub. Doing that isn't a big deal, but it would be nice to keep things as lean as possible for users who don't need the profiles. And I'm not sure but are the profiles downloaded and discarded each time PW is upgraded via admin? What do you think about starting to make use of the Releases feature of GitHub? Each time when a new version is ready there could be a new release created, containing two zips: "processwire" and "processwire-no-profiles", or whatever naming scheme you think best. Using releases would have some other benefits too. For dev branch users it would be easier to know exactly what version of PW you are running, as opposed to the current scenario where changes to the latest version get pushed out over the week so someone who installs 3.0.105 on Saturday may have different files to someone who installs 3.0.105 on Thursday. When someone raises a problem in the forum they could say exactly what version they are running (could be an older release) and people who want to help could more easily download that exact release to try and replicate the problem. Another benefit to using releases is that you can collect metadata about downloads. That would be a great way to track the growing interest in PW over time. https://help.github.com/articles/getting-the-download-count-for-your-releases/
    1 point
  22. Thanks for the suggestions, I'll look into these this coming week ? Me reading that:
    1 point
  23. I use the same as you do on Mac and Win. Laravel Valet on Linux. And I only recommend moving to Docker if you need to work on a team AND need to replicate a server setup in all machines. And if so, I recommend trying Laravel Homestead.
    1 point
  24. Checkout https://github.com/cytopia/devilbox
    1 point
  25. @Jon this sounds a little strange. Reading most of your comment, I would think that this might have something to do with your Office365 having sending limits that you're going over. The TLS issue is what makes it weird, though - because if it was a limits problem, that would not be happening. Is there anything in the logs that gives what error is encountered, rather than saying it just stops sending?
    1 point
  26. hi @kongondo did you think about my suggested new render method? another thing that would be good imho is to mention in the docs / in the first posting that you can do this return ProcessWire\wireRenderFile('fields/myfieldsphpfile.php', ['page' => $page]); To have the currently edited page available in your file. It's very basic, but might help some beginners. I would also suggest to update my render-method passing the $page and $pages variables to the renderfile: // change this $str = wireRenderFile($root.$file); // to that $str = wireRenderFile($root.$file, [ 'page' => $page, 'pages' => $pages, ]); what do you think?
    1 point
  27. Assuming that those time entries alway have a start and an end. And as the date is not necessary I assume that those time stamps never overlap the span of 24 hours. I do think it's not that difficult to "rebuild" Soma's slider a bit. Set it to RangeSlider and set the Max value to 86400 (seconds a day). or to 96 ( all quarter of hours a day ) Then the only thing you need to change is the value for the slider labels.
    1 point
  28. This is actually the purpose of $user->language->isDefault(), so that you can differentiate the default site language from all others in one shot, without having a dependency on any specific language. This is largely contextual to a website. If a new user arrives at your website and has not selected a language, what do they get? That's what the default language is about.
    1 point
  29. The best way to check if the language is default is: $user->language->isDefault(); …but if you prefer to add your own fields to the Language template (like 'code') then that's fine too. Another alternative is that you could add your own defines to a common include, and then compare against them. define("EN", 123); // ID of english language page define("ES", 456); // ID of Spanish language page define("FR", 789); // ID of French language page Then whenever you want to compare a user's language, you could do something like this: if($user->language == FR) { // user's language is french } We will be adding more multi-language fieldtypes as time goes on. Thus far there hasn't been a lot of demand for more than the ones we've already got, but it's always been the plan to keep adding more.
    1 point
  30. Why do you have to check this always? As for your second idea: Got to: Setup -> Templates -> Filters -> Show System Templates? -> Yes Edit the "language" template, add a textfield "code" and set your language code
    1 point
  31. It's possible to use <repeater-name>.<field-in-repeater> as a field name. For example: $matches = $pages->find("title|my_repeater.my_field~=$q");
    1 point
×
×
  • Create New...