Leaderboard
Popular Content
Showing content with the highest reputation on 01/09/2019 in all areas
-
Typos I've noticed: http://processwire.com/newsite/docs/more/ The recommended debugging and development tool for the ProcessWire with 35+ custom tools designed for effective ProcessWire development. http://processwire.com/newsite/about/what/ Simplicity often implies reduced capability, and but this is not the case with ProcessWire. ProcessWire itself The ProcessWire CMS is a group of modules built on top of the ProcessWire content management framework. Not sure about this change, but it seems weird to say that PW is built on top of PW, so I figure making the distinction between the CMS and CMF is important Something we hear over and over is how much fun it is to develop websites in ProcessWire. It makes previously difficult projects easy, enjoyable and just plain fun. ProcessWire's API takes its inspiration from jQuery, providing a simple and fun I think there is a little too much fun in this blurb ? Not a typo, but I noticed that the main API page is at http://processwire.com/newsite/api/ref/ instead of under Docs, eg http://processwire.com/newsite/docs/api/ref/ - not sure if this is intentional or not, but I would prefer it to be hierarchically correct. Also, is the cheatsheet coming back? I think this is really important!!4 points
-
You're talking about wall-time. To be really save for future dates you need to store not only the datetime (UTC) + timezone, but also the wall time. There are changes in timezones multiple times per year and some are even countries changing how their timezones work. If you have both UTC and wall-time you can detect such changes and react accordingly. The UTC time you need as soon as you need to compare / act on times, which are in multiple timezones, you need to interact with some APIs or export .ics calendar files. So for your examples it might be fine to disregard the timezone and only use wall-time. Here's some more information on why timezones are hard: https://zachholman.com/talk/utc-is-enough-for-everyone-right I've also found this to be a good blog with a bit more actionable advice: http://www.creativedeletion.com/4 points
-
@ryan, could you please confirm: ProcessWire will no longer have a wordmark logo and will instead use only the graphic from the previous logo together with the word "ProcessWire" set in whatever brand font is decided on? If that's the case then the selection of brand font is even more important, and personally I don't think we should be considering any open-source/free/system font as candidates for the brand font. The problems being... 1. Free/system fonts are so ubiquitous that it's difficult to build up any association between the brand and the font when countless other brands and messages are associated with it. 2. Free/system fonts are widely used by ma-and-pa brands and amateur designers, and used for a multitude of non-designed purposes (e.g. quick paper signage like "toilet out of order", etc). This means they are often used carelessly in ugly settings, and the fonts become subconsciously tainted by association in the minds of the audience. I don't think we should risk that taint getting attached to the ProcessWire brand, even if only subconsciously. 3. In the case of a system font stack, an additional problem is that San Francisco, Segoe UI, Roboto and Helvetica Neue are all completely different designs with different "moods". Setting the brand logo in any one of a number of different fonts depending on device is tantamount to saying "we don't really care what typeface defines our logo and brand". It's true that problems 1 and 2 can apply to commercial fonts also, but in practice the barrier of having to pay for the font means that most users of the font are professionals (reducing the odds that the font is seen in ugly settings) and the font is less likely to be available to the creators of paper signs, etc.3 points
-
Wouldn't just adding style="fill:#fff" or fill="#fff" to the <path element suffice? Or even: <style> .pw_logo_color {fill: #fff} .pw_logo_color:hover {fill: #D82C82} </style> <path class="pw_logo_color" ...3 points
-
You have a tool for this - a text editor, see: https://css-tricks.com/almanac/properties/f/fill/3 points
-
It should still show you as being in the Docs section, but I kept the URL prefix as /api/ because there are so many links to /api/ref/ and I didn't want to 301 them at this time, plus I just like the readability of /api/ref/ since it is the API ref(erence). I didn't keep the /api/ prefix for anything else though. The only way someone would notice it says /api/ rather than /docs/ is if they look in the URL address bar and compare it from another page in the docs section. Yes it is, but currently it's too far out of date so I'm not showing it in the docs navigation at the moment. I'm hoping to get the cheatsheet connected to the API Explorer module so that it can always be up-to-date like the API Reference section.3 points
-
Actually I think I like this option best, thank you for mentioning it. I like how it looks on the Mac, but have no idea how it looks on Windows and Linux, so that's the only concern. I've switched https://processwire.com/newsite/ to use this font stack. If you guys on Windows and/or Linux have a moment, can you let me know how it looks or take a screenshot and post it? $pw-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; To view it using the previous font (Krub) just use this link: https://processwire.co/newsite/?font=krub In addition, I have also added some additional font links. These are fonts at Typekit rather than Google fonts: https://processwire.com/newsite/?font=bio-sans https://processwire.com/newsite/?font=supria-sans https://processwire.com/newsite/?font=trade-gothic-next https://processwire.com/newsite/?font=tablet-gothic https://processwire.com/newsite/?font=tablet-gothic-wide https://processwire.com/newsite/?font=adelle-sans https://processwire.com/newsite/?font=benton-sans https://processwire.com/newsite/?font=urw-din Also several other updates just pushed to the development site as well. I'm planning on launching it today, so there's likely to be some other updates as I take care of some more details.3 points
-
I have a license for both Transmit and Forklift for my Mac machines. I keep both of them updated with the latest versions. I first started with Forklift. Used it for years and like it as an alternative to Finder. Years later, I had problems with connecting to one of my remote servers with Forklift (a flaky certificate problem, which eventually got resolved). However, at that time it was a problem so I gave Transmit a chance, liked it and that's what I have been using primarily for all remote secure connections. I believe both programs are worthy Mac utilities. Either one is suitable when you need rock solid SSH tunneling using SFTP.3 points
-
Finally tried Forklift and I like it, just brought a license - thanks for the suggestion @adrian I kept a copy of the russian software just in case ?3 points
-
I'm looking for experienced developer for a start-up project aimed to win a grant from European Union. The project is a web portal for topics related to biodiversity and farming techniques in the rural area of Europe, specifically in the Alps region. The idea is to build a Processwire website for a region, an Italian valley, and later cloned it for other instances, probably as subdomains. As an indicative example: valsusa.europroject.com should be cloned to valdinon.europroject.com, etc. I am able to take care of all aspects of the single websites, but I will later need a hand on how to clone and optimise the many websites into a single portal, especially in terms of maintenance and performance. Now the bureaucratic part: the EU requires to work in partnership with many players. I am looking for a developer that is able to create an account under the EU projects portal as a company, or a self employed person, with real experience on the project here described. In other words: you should be able to prove that you are a professional with the required skills. Here some details on how to register as a partner (pdf) https://webgate.ec.europa.eu/fpfis/wikis/spaces/flyingpdf/pdfpageexport.action?pageId=311133227 This is the European website where we will apply for our project https://ec.europa.eu/info/funding-tenders/opportunities/portal/screen/home The other thing we need to act before the 23rd of January, in two weeks time... This is the deadline to propose the project. In this short period I need to find a partner/developer that can join the team, if we win the grant then later we can start to work on the details, probably in 6 months time. The developer doesnt need to be European, but if we need to meet in person it helps if the developer is here in Europe. In terms of money involved, please come up with an indicative figure on how the project above can be accomplished and your relevant retribution for your consultancy/practical job. For any questions please write to me on europroject [at] carburo [dot] net Thank you all and I hope I have stimulated your interest, Giulio2 points
-
@Chris Bennett - is right. The .blog-posts rule negative margin-left and margin-right on the home page are causing the horizontal scrollbars. It happens when the blogposts go edge to edge at less than 1599px width. Here is how I found out. From https://css-tricks.com/findingfixing-unintended-body-overflow/ In chrome's dev console, run the following when you see the horizontal scrollbars. The console will print which html element causes the overflow. Right click on it and choose "Reveal in Elements Panel" to see the offending element. Another way to try to find this using the following css: * { outline: 1px red solid !important; } and look for the elements that have excessive width. Here are some other items causing the horizontal scrollbar. The .footer and the header the .pw-plug>div rule with width: 4%; is causing an overflow when viewing the site on small mobile viewports (444px width). In the Processwire Showcase carousel left/right arrows using the .uk-slidenav rule with padding: 5px 10px is causing the right arrow to overflow the page at smaller breakpoints 908px. In the Processwire Showcase carousel dots menu using the .uk-dotnav rule with margin-left: -12px; might cause a horizontal scrollbar. .uk-slidenav rule with padding: 5px 10px; at 699px width might cause a horizontal scrollbar. You probably could get around all these issues with overflow-x:hidden; rule on the html/body element, but it might be better to find out and fix what is causing the scrollbars so that it doesn't causes other bugs? The overflowing elements might be the cause of the dropdown menus not positioning correctly. Hope that helps2 points
-
When reading the latest blog post (https://processwire.com/newsite/blog/posts/rebuilding-the-pw-site-5/), there are two links at the bottom of the page to the previous blog posts. This might be by design since there is no next blog post, but it looks odd having two previous posts... I see that the hamburger icon in mobile view is now fixed, thanks Ryan. When you submit a site to the showcase list, the link contains two slashes (/newsite/sites//submit). The categories list in mobile view overlaps.2 points
-
Hey! ? Wow, what a throw-back – can't believe it's been so long, haha! Those files saved by Craig are the right ones (thanks!), except for the last one.2 points
-
AdminOnSteroids Various admin tweaks to enhance ProcessWire admin. http://modules.processwire.com/modules/admin-on-steroids/ https://github.com/rolandtoth/AdminOnSteroids1 point
-
I've created a set of modules for importing (manipulating and displaying) data from external resources. A key requirement was to handle large (100k+) number of pages easily. Main features import data from CSV and XML sources in the background (using Tasker) purge, update or overwrite existing pages using selectors user configurable input <-> field mappings on-the-fly data conversion and composition (e.g. joining CSV columns into a single field) download external resources (files, images) during import handle page references by any (even numeric) fields How it works You can upload CSV or XML files to DataSet pages and specify import rules in their description. The module imports the content of the file and creates/updates child pages automatically. How to use it Create a DataSet page that stores the source file. The file's description field specifies how the import should be done: After saving the DataSet page an import button should appear below the file description. When you start the import the DataSet module creates a task (executed by Tasker) that will import the data in the background. You can monitor its execution and check its logs for errors. See the module's wiki for more details. The module was already used in three projects to import and handle large XML and CSV datasets. It has some rough edges and I'm sure it needs improvement so comments are welcome.1 point
-
Hey @ryan - I am revamping the search functionality in Tracy's ProcessWire panel so that it uses your new search functionality from the site. Current it looks like this, but I will probably clean up the radio options given how the new site search breaks up results itself. The catch is that when I make a request (eg. https://processwire.com/search/?q=findMany) it returns the complete HTML rather than JSON. I could parse out the HTML, but would you be willing to provide a way for it to return JSON for external requests? I think this would be really useful for users so that they can do site searches directly from their sites. Thanks for considering. PS - I have done an update on this so that it now uses the site search (except I still use Google for the forum), but of course it's not ajax - it just links off to the site's search page with links like: https://processwire.com/search/?t=Modules&q=tracy I think that will do for now but let me know if you do feel like making the results available as JSON via AJAX.1 point
-
Congrats @ryan on getting it live! One glaring thing for me (in case you missed my comments above) - the use of pages() in the API examples on the homepage is really going to confuse new users unless the FunctionsAPI is enabled by default, which I think it still isn't. Is that correct?1 point
-
@matjazp @tpr Thanks! That did it. I know I can edit SVG files as XML but didn't know anything about what changes would be necessary to accomplish anything like this, so I appreciate it.1 point
-
Thanks for your help @flydev. The solution that worked you suggested was as follows: cd /srv/users/serverpilot/apps/chinaandco/public/ chmod 755 site/assets find site/assets -type d -exec chmod 755 {} \; find site/assets/ -type f -exec chmod 644 {} \; This sorted it out. Though still not sure how i got into that permissions mess to start with ?1 point
-
Happy Holidays! This latest master version of ProcessWire contains hundreds of new additions, fixes, optimizations and more. This post covers all the highlights— https://processwire.com/blog/posts/pw-3.0.123-master/1 point
-
For me (on Win 10, Firefox) Segoe UI looks good. Of the Typekit fonts I'd prefer benton-sans too. There's a typo in the link to the Krub version above: https://processwire.co/newsite/?font=krub should read https://processwire.com/newsite/?font=krub1 point
-
Testing on windows 8, IE11 and Chrome, segoe ui is fine here, on both browsers. From the list of other Typekit fonts I prefer benton-sans, but system fonts are good for me. On IE the logo (top left) is black (invert filter is not supported on IE).1 point
-
On Win 10 both Chrome and Firefox looks as good as @breezer screenshot above.1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
It says it right there in the error ?, Your function shopifyInit() expects a single argument/parameter but here: you are not passing it the $event. edit: I'm too slow; what @flydev said ?.1 point
-
1 point
-
A screencast for the bug concerning the "Search" on the navbar already reported by @adrian Also, see the `overflow`.1 point
-
I quite like sites that use the system font stack, with the exception of Segoe UI which doesn't really behave like the rest. For example, every Twitter button which defaults to Segoe for me looks off, with text dropped well below the vertical centre. Just the nature of Segoe and not a huge deal, but I usually leave it out or replace it with something that plays nicer with the rest and is reasonably likely to be in cache, like Roboto. Speaking personally, I would even prefer a boring Arial than a weirdly aligned Segoe every day of the week.1 point
-
Ok, to give you the idea, I suspect that you have an issue with suPHP in your setup overriding permission or with FastCGI (through the use of suEXEC). You should take a brief look at this direction and report things here. For example, if you confirm that suPHP is present, them check the value of umask in /etc/suphp.conf ps: check your PM1 point
-
Have you thought about not using any webfonts at all, and instead use the native or system CSS font stack? Doing this removes any cross-browser/device font rendering issues as well as removing several external resources (smaller download + even faster loading!) There seems to be a shift towards this: https://booking.design/implementing-system-fonts-on-booking-com-a-lesson-learned-bdc984df627f http://markdotto.com/2018/02/07/github-system-fonts/ https://make.wordpress.org/core/2016/07/07/native-fonts-in-4-6/ Other resources: https://woorkup.com/system-font/ https://css-tricks.com/snippets/css/system-font-stack/1 point
-
1 point
-
@ryan here is a screenshot with barlow font. Looking good here, (not best but good!) https://biriba.de/pw_pop3/Screenshot_2019-01-08.png Regarding webP, we have had discussions in the forums and at github, plus I have built it into GD already for basic usage. With the current version here, you can add an additional param with the images calls to additionally create a webP image besides the requested variation. With two hooks I'm already using it in test sites: hasWebp and urlWebp. In my markup generation for picture elements (or srcset), if hasWebp is true, I generate alternative webP image src for browsers that do support it. The other cool thing (what I not have tried yet, but should become my favourite usage) is to use it with the lazyload class, that already includes checking for webP alternatives via JS, when enabled. So the only thing to do is to create the webP format besides the requested image. I had planned to finish this during the holidays, but then got two jobs with one deadline 29.12.18 and the other has to be finished this tomorrow. (uff) Here are the links to the discussions: https://github.com/processwire/processwire-requests/issues/1#issuecomment-443164642 https://processwire.com/talk/topic/14236-webp-support/?tab=comments#comment-176944 https://processwire.com/talk/topic/14236-webp-support/?tab=comments#comment-1776301 point
-
That seems to be the best solution. Here is the code for the ProcessSettings module: <?php namespace ProcessWire; /** * Settings Module * ProcessWire 3.x, Copyright 2018 by Ryan Cramer * https://processwire.com * */ class ProcessSettings extends Process { public static function getModuleInfo() { return array( 'title' => 'Settings', 'version' => "1.0.0", 'summary' => "Modify site settings", 'permission' => 'settings-view', 'singular' => false, 'autoload' => false, 'author' => "PWaddict", 'icon' => 'cog', 'page' => array( 'name' => 'settings', 'parent' => 'setup', 'title' => 'Settings' ) ); } public function execute() { $settings = $this->pages->get("template=settings"); $this->session->redirect($this->wire('config')->urls->admin.'page/edit/?id='.$settings->id, false); // false = 302 temporary redirect } } and with my HidePages module I hide the Settings page from the Pages tree for non-superusers so they can only access it from Setup menu.1 point
-
Thanks for the heads up on that @Macrura - it shouldn't be an issue in the latest version just committed.1 point
-
Sure, I'll setup on WireMail class so we can use all available extensions and services. And it can be "easily" extended.1 point
-
To sum up my favourites: the look and feel of the screen presentation @3fingers linked to, but as a automatic slider with maybe 3 slides, in high image quality without artefacts as picture or srcset elements with webP alternatives. ? Ps: speaking about the screenshot on the entrypage.1 point
-
Hey guys, wow, thanks for all the feedback and testing! I’ve pushed an update to the pre-launch staging site that fixes most of the glitches that have been brought up. There were a couple that I wasn’t able to duplicate, so I’ve quoted those below along with more questions. There’s a lot of subjective stuff in this thread as well, which is of course great for conversation, but please don’t feel sad if I don’t implement these suggestions at this stage. The focus now is purely on just making sure that what’s present works as it should (working out any bugs), and not trying to re-do or rewrite anything prior to launch. So if you don’t like the blog or some color or some other part, that’s fine—I hear you and am keeping notes. But I’ve first got to make myself happy with it first before launching it, so that’s where it’s at. Over time I’m sure much will change, and of course all suggestions are appreciated, but for now bug fixes are the focus, and we’ll work on other stuff later. Regarding accessibility stuff, I have implemented several of the suggestions here like some of the items Teppo mentioned. Though should clarify there isn’t a specific goal of tailoring the site for visually impaired people at this stage. I don’t think that’s a large part of our audience at present, and so I want to focus time in the short term towards optimizing towards the traffic that the site will be serving. But please keep these suggestions coming because this is still very useful and we’ll get to more of this soon. One thing that has come up multiple times in this thread has to do with fonts and/or colors. We may very well change the primary color at some point, but not until the Modules, Directory and Forum sites are updated for the new design. The whole point of the current color scheme is to maintain some relation to the existing sites, since it may be weeks before those other ones are updated. But experimenting with colors is still I good idea. You can change the color of the entire site by using a URL with a “?color=<hexcode>” on any URL in the site. Once you do that, the color will be retained on any links you click on, so you can browse the site with your selected primary color. Here’s an example that changes all the blue to the PW pinkish/red color (try not to laugh!): https://processwire.com/newsite/?color=e83561 Replace that e83561 in the URL above with any hex color code to experiment. If you come up with anything you like, paste in the link so we can all see it. Fonts are one thing that we might have to change before launch. As Horst mentioned, the current font renders really poorly on his computer, which means it might be the same for other people (though have not yet had confirmation from anyone else). Plus a couple of you have mentioned you don’t like the font, so I’m open to changing it (though admittedly I really like the current font). I’ve set it up so that you can experiment with different fonts for the site by doing the same thing that you did for the color URL above, but with “font=name”, replacing “name” with the name of the font. It can be any one of these below. The ones near the top are ones I kind of like, though no real order other than that. https://processwire.com/newsite/?font=rubik https://processwire.com/newsite/?font=barlow https://processwire.com/newsite/?font=encode (no italic) https://processwire.com/newsite/?font=khula (no italic) https://processwire.com/newsite/?font=mada (no italic) https://processwire.com/newsite/?font=montserrat https://processwire.com/newsite/?font=nunito https://processwire.com/newsite/?font=palanquin (no italic) https://processwire.com/newsite/?font=raleway https://processwire.com/newsite/?font=source https://processwire.com/newsite/?font=muli https://processwire.com/newsite/?font=fira https://processwire.com/newsite/?font=hindm (no italic) https://processwire.com/newsite/?font=hinds (no italic) https://processwire.com/newsite/?font=ibm https://processwire.com/newsite/?font=lato https://processwire.com/newsite/?font=open https://processwire.com/newsite/?font=roboto https://processwire.com/newsite/?font=sarabun https://processwire.com/newsite/?font=exo2 https://processwire.com/newsite/?font=titillium https://processwire.com/newsite/?font=noto https://processwire.com/newsite/?font=cairo (no italic) https://processwire.com/newsite/?font=saira (no litalic) https://processwire.com/newsite/?font=heebo (no italic) As some of you might now, I got my first new computer since 2013 a little more than a month ago, and it's an iMac 27" (though a used one), so that's kind of why I wanted to get it on the homepage. I know it's not the newest looking computer, etc., but I really wanted something more than just a browser frame. Yes the screenshot jpegs that appear in it a low quality jpegs (quality=10). My eyes aren't so good and I'm not seeing the compression, but sounds like some of you are. I may redo those at a higher quality before launch. Though the way I see it, this whole iMac with screenshots thing is probably temporary anyway. I really like what @Jonathan Lahijani is doing with that video and am thinking that will be a much more useful fit for the homepage longer term. @jmartsch and @gmclelland I can’t seem to duplicate this one (also Chrome). Tried numerous widths, including the narrower width like shown in the screenshot too. That dropdown is always opening to the left for me. The screenshot shows it opening to the right. Just wondering if anyone else is seeing it and if so, do you know of any adjustments that would correct it? @horst This is the biggest concern I’ve come across here, as those fonts definitely look terrible in the screenshot you linked, and we definitely don’t want anyone to see them look like that. Is it an issue with this particular font, or do you observe Google Fonts in general rendering like this? Is this a known issue if you Google around, or is it just something you are observing on your computer? Do any of the new fonts render properly on your computer? Is anyone else seeing them render like this? I’m wondering if the issue is isolated to a particular platform/browser, or what it might be isolated too. So far nobody else has reported this, but if you are seeing it please speak up.1 point
-
On a sidenote: Just scanned this article today and truly lolled reading this comment1 point
-
I tested this module sometime ago before the release of DataSet and I had to fix the hardcoded admin url. I will sent you the new pull-request this afternoon concerning the following fix/change, feel free to merge it or not. install / uninstall written: fields and template created on installation / removed on uninstall fix: corrected admin page link in module and js file process module link moved under setup (can be moved later by the user without messing the admin url) about, tips markup improvements @mtwebit do you have an idea from where I could start to begin to port this module under Windows as the PCNTL extension isn't supported by this last OS ? I have already in mind implementing pthread to consume a Messaging Queueing System or something like that. And for people who wonder how it works with DataSet, there are a small screencast (shortened) importing a CSV DataSet :1 point
-
Just committed a nice little enhancement to the Adminer panel - it now loads the panel with the relevant table or row based on the current context. So if you are editing a page, it will load the row for that page. If you are editing a file, template, or viewing a module's config settings, it will do the same. If you viewing the main page list tree or the main templates/files/modules pages, these tables will be opened in browse mode. Probably not something you'll use that often, but because the Adminer panel doesn't load anything until you open it, I like leaving it activated as one of my default panels so I always have really quick access to view whatever is in the DB for what I am currently working on. Anyway, hope you all find it useful on occasion.1 point
-
I have this same error after updating to the latest version of PW: I haven't explored further yet, working on other things, will get to this eventually. Any news what causes this?1 point
-
1 point
-
See the link above: https://processwire.com/talk/topic/18655-solved-no-input-post-data-when-using-ajaxaxiospost/ I was not able to POST json to ProcessWire directly, had to stringify it first.1 point
-
1 point
-
I just updated a local copy of the site from 3.0.62 to 3.0.98 and the field mediendateien(files) and medienbilder(images) are missing the column filedata afterwards. Other image or file fields are fine. During update I hit F5 a few times, refreshed modules and saw that the fields file and image updated. Then I hit "Check field data" of the fields with missing column filedata and I got an "All okay" But the column filedata is missing! To sum up, there are 5 image fields: image1 = updated (has data) image2 = updated (has data) image3 = not updated (but has no data in DB) medienbilder = not updated (has data) pageimages = updated (has data) 2 file fields dateien = updated mediendateien = not updated There has to be raeson why some fields won't update...1 point