Recently Browsing 0 members
No registered users viewing this page.
By Robin S
After forgetting the class name of the wonderful AdminPageFieldEditLinks module for what feels like the 100th time I decided I needed to give my failing memory a helping hand...
Autocomplete Module Class Name
Provides class name autocomplete suggestions for the "Add Module From Directory" and "Add Module From URL" fields at Modules > New.
Requires ProcessWire >= v3.0.16.
Install the Autocomplete Module Class Name module.
Add Module From Directory
Choose the type of autocomplete suggestions list: "Module class names from directory" or "Custom list of module class names". The latter could be useful if you regularly install some modules and would prefer a shorter list of autocomplete suggestions. The list of class names in the modules directory is generated when the Autocomplete Module Class Name module is installed. It doesn't update automatically (because the retrieval of the class names is quite slow), but you can use the button underneath when you want to retrieve an updated list of class names from the directory. Add Module From URL
If you want to see autocomplete suggestions for the "Add Module From URL" field then enter them in the following format:
[autocomplete suggestion] > [module ZIP url]
Example: RepeaterImages > https://github.com/Toutouwai/RepeaterImages/archive/master.zip Awesomplete options
The "fuzzy search" option uses custom filter and item functions for Awesomplete so that the characters you type just have to exist in the autocomplete suggestion item and occur after preceding matches but do not need to be contiguous. Uncheck this option if you prefer the standard Awesomplete matching. Custom settings for Awesomplete can be entered in the "Awesomplete options" field if needed. See the Awesomplete documentation for more information.
Here I'm writing up about my first ProcessWire site, Reached.space, a blog and directory about shops which offer international shipping.
I'm from The GrayFly Group, which is the registered trade name for GrayFly Stationery, LLC, a limited liability company registered in the state of Kentucky, USA. You might ask, why is a stationery company creating websites?! Well, in a way both activities are very similar: both activities have the goal of getting written messages across in a pleasing manner to the reader.
With that out of the way, let's move on and explain what went on behind the scenes of the Reached.space site:
I used a free CSS-based template from W3CSS at https://www.w3schools.com/w3css/w3css_templates.asp , using mainly the "Architect" template as the basis and modifying it as needed.
The pagination feature of ProcessWire was very helpful here; I kept the home page to just two blogroll articles so that the reader was not overwhelmed, but upon pressing "more articles" the remainder of the blogroll is paginated with 4 articles to a page.
I made adjustments to my usage of the template to make it screen-reader-friendly. I used the Google Chrome extension to test out how the site would be handled with a screen reader.
Security is always important, so I was thrilled to find a great all-in-one-place security guide in the ProcessWire docs at https://processwire.com/docs/security/ - I simply went through the guide and did what it said, using it as a checklist.
As far as I'm aware, the only additional modules I used (that were not already activated by default in standard PW install) were the Upgrade and Upgrade Checker modules. The main reason for this was security considerations, but it was also an added convenience and peace of mind to have it check for updates every time I logged in.
However, I did use additional software that was not modules, as described below.
Other software - Simple HTML DOM
Here I was very fortunate to receive help from the ProcessWire community on the forum. Due to the site's monetization model being affiliate marketing, I wished to make all my external links nofollow and target _blank by default. User @Robin S was instrumental in showing me how to do this using Simple HTML DOM in the forum post https://processwire.com/talk/topic/17295-solved-how-to-make-external-links-nofollow-and-target-_blank-by-default-if-using-source-code-toggle-in-editor/
Other software - Google Analytics cookie manager
My site requirements for GDPR were specific enough that I felt I would rather develop my own code to handle Google Analytics tracking, which I'll describe here. I wanted to be certain GA tracking was disabled by default requiring opt-in, instead of opt-out. I also included in the Cookie Manager some written info about third party cookies (these are placed when clicking on affiliate links) and how the user can avoid such tracking (turn off third party cookies in their browser settings).
I also disabled front-end PW cookies as described here: https://processwire.com/talk/topic/15270-session-storage-and-lifetime/
Google Analytics cookie settings
Efficiency - optimizing 404s
I used the guide at https://processwire.com/blog/posts/optimizing-404s-in-processwire/ to sinkhole bot-driven 404 requests to a static 404 file.
Back office pic
Below is an image of how ProcessWire allows helpful field descriptions and displays them when used in templates, so that when I come to actually use or enter content in fields I created months ago, I know what the ramifications are. Very helpful. Also, when using the back office I found the Reno admin theme to be very pleasing, efficient, and easy to use.
Looking for another dev to help on multiple processwire projects as well as some other PHP apps.
First project is a directory style site with lots of components to come, including stripe implementation and other fun stuff.
Need someone ASAP to help out.
Two-sided marketplace for devs/companies with free training on hot tech stacks for the dev. Starting ASAPBy usillos
Would you be available for Freelance work on a Processwire site? Starting ASAP, about one week work estimated by me (that is, someone who is not very proficient at processwire, but has 15 years experience programming). We have a pretty good spec. I'm very tempted to do it myself because the API is so damn nice, but I know I would be slower than a decent processwire guy. I don't even know PHP. The site is on a vagrant box, proper version-control, etc. Ideally, you should take care of deploying it too (we have SoftLayer, but we could go anywhere else if it's any easier). If you see yourself more of a designer, but know someone who can deal with the deployment, feel free to ping them. Deploying PHP is also something I would rather not do. It looks easier than pretty much any other tech stack, but I'm sure the devil is in the details.
Details on the site:
It's a two-sided platform, where devs meet companies, similar to hired.com but with a big difference: training.
I want to combine plain recruitment with education. Companies don't have budgets for training (or have say 500eur/person/year)... this is scary because the fast-changing tech world will leave you behind, unless you spend time improving yourself. If the company doesn't spend money on training, then you have to find ways to catch up, probably over weekends and evenings. But companies do have big budgets for recruiting. Everyone assumes that you have to spend money to get good guys, and recruiters charge a good chunk of the first year salary for the hire. Companies budget for this.
I want to get around the fact that there's no budget for training, by taking it from where the companies do have budget: hiring. So it's mostly budget relocation. But there's a clear benefit for the company: they get training 'for free'. And they get onboarding partially solved. It's common to hire someone and the assume that the first month is wasted, with the person getting used to the tech stack the company uses. We remove a big chunk of the problem.
The core 'pages' are Dev, Company, and Course. There are user roles to limit access of companies to developers (for example devs that work for the company logged in). There are courses and devs can pick courses. It's a bit more complex than that.
Please contact me only if you can start immediately on this project.
- You contact me (on this profile, with a pm).
- I will look you up, and if I like what I see, I will send you the spec.
- You review the spec and send me a quote, both in time and in money. I may well be off thinking this is a week of work
- We sign a contract, and you start work.
No NDA silliness. You can open source any part of the site that you consider valuable as a PW module.
We are in Berlin. Timezone : CET. Ideal if you are in town because we could work side to side, but remote perfectly ok.