-
Posts
2,183 -
Joined
-
Last visited
-
Days Won
55
Everything posted by wbmnfktr
-
Hard to tell for me as well. Maybe you could post some of your code here and tell us more about the overall setup. And details like ProcessWire version, the hook(s) you use, where they are placed (ready.php, a module, ...). That would help us to give more help and tips.
-
First of all I'd test it without mandatory fields (first, middle, last name) to ensure everything else is working as expected. If that's the case I'd start with one mandatory field to check it's behaviour. Never done a similar thing in the past - so it's just a recommendation or workflow I'd try.
-
Where do these pages come from? Their names are either randomly generated or as I assume created by a module - maybe even a repeater or pageTable field. Is your user a administrator/super user? Who deleted those pages/put them in trash? How did they end there? Manually deleting, API or module? Are these pages somehow locked? (can be seen in their settings tab) What templates do these pages use? Are these templates somehow special?
-
I stumbled across this solution a few times. There is/was a bug in CKeditor which affected those multiple class setups.
-
?????
-
Try adding the classes in alphabetical order. { name: 'Left Aligned Photo', element: 'img', attributes: { 'class': 'float-md-left img-fluid' } }, { name: 'Right Aligned Photo', element: 'img', attributes: { 'class': 'float-md-right img-fluid' } }, { name: 'Centered Photo', element: 'img', attributes: { 'class': 'img-fluid w-100' } },
-
Or this https://modules.processwire.com/modules/pagefield-pairs/
-
Get array of fields instead of PageArray ?
wbmnfktr replied to CrazyEnimal's topic in API & Templates
// Source: https://processwire.com/talk/topic/3553-handling-categories-on-a-product-catalogue/?do=findComment&comment=37833 $manufacturers = new PageArray(); foreach($pages->findMany("template=carTemplate") as $car) { // add manufacturer from car page to manufacturers array $manufacturers->add($car->manufacturerField); }; // do whatever you want with the $manufacturers pages Something like this? -
WEBP-first strategy hook not working after size()
wbmnfktr replied to elabx's topic in General Support
I guess it's still too early for an issue response on Github. Let's compare the things we can compare: ProcessWire 3.0.132 PHP 7.2 Cloudflare Free Plan (default settings) webP Strategy 1 htaccess: non-www Redirect htaccess: https Redirect pagefileExtendedPaths NOT set As you don't have access to the Cloudflare settings... is there someone who can look into it? Maybe they use a load balancer, built in whatever. Maybe the site is still cached. Cloudflare CDN is sometimes bit of a PITA. Dev-Mode or DNS-by-pass would be nice to test out. Maybe there are even custom page rules that are image related. There is a lot of stuff someone can do there. -
WEBP-first strategy hook not working after size()
wbmnfktr replied to elabx's topic in General Support
Ok... that's tough than. I changed one of my sites (behind Cloudflares Free Plan) to strategy 1 as described here: https://processwire.com/blog/posts/webp-images-and-more/#strategy-1-automatically-delivering-webp-for-jpg-png-images It works, even in image URLs generated with size(). Ryan says this in the article: Maybe that's the reason. -
WEBP-first strategy hook not working after size()
wbmnfktr replied to elabx's topic in General Support
Does it work when you enable developer mode in Cloudflare? Just to check if it's really a Cloudflare issue. -
For freely positioned images you could try a repeater field containing: image field (single image) text or select field for position (relative, absolute) text field for x-position text field for y-position text field for height text field for width optional: fields for alt and description text Above this you might want to add something to change responsive behaviour and other settings.
-
There are some threads with similar topics discussing your need. You may find some ideas on how to achieve it. But just for me to understand this better... why do you want/need such a weird URL? That doesn't make sense - generally speaking.
-
Handling special cases: The elusive navigation menu override
wbmnfktr replied to MoritzLost's topic in Tutorials
It's like someone is putting wire between some processes. Oh... wait... -
As long as there is no WordPress involved. ?
-
ProcessPageEditImageSelect: Change Cropping options
wbmnfktr replied to iipa's topic in General Support
Never tried it with the core module but Croppable Image 3 works really good and has some nice additional settings and features. Maybe worth a try. -
Page Hit Counter – Simple Page View Tracking
wbmnfktr replied to David Karich's topic in Modules/Plugins
Good to know. ?- 111 replies
-
- hitcounter
- tracking
- (and 4 more)
-
Page Hit Counter – Simple Page View Tracking
wbmnfktr replied to David Karich's topic in Modules/Plugins
Does the info section under the settings tab say the same? Just wondering as I looked into one of my projects and those page modification dates are unchanged.- 111 replies
-
- hitcounter
- tracking
- (and 4 more)
-
Sure... but my composer knowledge is quite limited. All I know is how to install something with it. ? I guess @teppo has more knowledge here and maybe there is a solution or something.
-
Ooooh... That wouldn't work on about 99% of my client's hosting plans and even my hosting plans are limited in this point.
-
Handling special cases: The elusive navigation menu override
wbmnfktr replied to MoritzLost's topic in Tutorials
@teppo's argument here is solid and I thought... cool... just add some details to those links with CSS-magic: a[target=_blank]:after { content: " (opens in a new window)"; } BUT... not all screenreaders support that feature... all I found was kind of a mixed result. https://www.powermapper.com/tests/screen-readers/content/css-generated-content/ Just in case for those who had a similar idea. ? -
Not really but... https://timmehosting.de/processwire-hosting-auf-nginx Those were my only links to this topic. I remember a more packed thread but can't find it. ?
-
Well... there is enough space in the forums for a DIY section. ?
-
Just stumbled across this...
-
In the last few weeks... or almost months... I worked on a project for a restaurant. Sad to say that the company behind the restaurant went out of business before the project could be finished - or was paid or the website ever saw the light of day. As there is kind of a lot of work in it... but yet a lot of customization... I decided to create a site profile of it and make it public as ProcessWire Barebone Site Profile. Right now I'm stripping out every client detail and finish some functions and details that were planned a few weeks back so you can build right on top of it, if you like or want. Maybe it's only a playground for someone or an inspiration for how to f**k up data-mangement... but hey... better than a ZIP file on a backup drive. ? As the project was and is super tailor-made to that client, it may not work for a lot of restaurants out there, but nonetheless I don't want miss the opportunity to offer a foundation for upcoming restaurant projects you may face. The project had a huge focus on dishes, beer and wine variations so those templates are kind of feature-rich. You might want to rip out some of it as most restaurants don't focus that much on those details. Important details I want to be honest and clear about: this profile does NOT include a highly polished and usable frontend as the design is paid and therefore can't be made public the frontend will be a collection of re-usable snippets to show every possible detail of each page, item and whatever the whole site profile will be without any support - future updates aren't planned right now the site profile will be released in single-language setup only (english) existing translations (as seen in parts of the screenshots) will be changed to english existing data, for example dishes, will be replaced with demo content if you, one of your clients or anyone else wants to use this profile - feel free to do so Pro Modules were already stripped out of it only public modules were used and are included with the profile itself the full module list will soon be published on Github the full README will soon be published on Github the full LICENSE will soon be published on Github So... yes... that's just a short preview of an upcoming site profile. As mentioned before, the site profile will most likely never ever receive any future updates, so it will be available on Github only. It's not planned to publish this as a full featured site profile, yet. More details, screenshots and the site profile itself (of course) will be available soon. Questions? Please feel free to ask. Github Repository: https://github.com/webmanufaktur/pwbrestaurant
- 2 replies
-
- 20
-
-