-
Posts
441 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Klenkes
-
aaand... not to forget, in the CKE field you can set: Update image alt attributes (Replace blank alt attribute with image description) If an image description is set, it will be used automatically.
-
"Are you tired of your URLs being just too darn short? Worry no further!" https://aaa.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com/ "Your date will be impressed with the sheer size of your URLs" ?
-
- 5
-
-
@kixe Thank you for this module! It saved me countless hours(probably days) of pain.
-
Just for your information, there are almost no images visible in iPad with Ios 12, like on my iPad Mini.
-
@Erik for the sake of simplicity lets assume you have only a field for price. Your filter would be in a category/listing template, that lists your products(like in my example) /* The general outline would be: 1. Check if a filter was set by checking GET-parameter in URL 2. Read the parameter and build your selector for the $pages->find(""); 3. Execute the $pages->find with your selector 4. In case no filter was set execute your standard pages->find 5. List the result */ // 1. and 2. Check for GET-parameter in your URL if($input->get->price != ''){ $price = $sanitizer->int($input->get->price);// in my case price is integer not float $selector .= ', price<='.$price; $value_price = $price;// save the value for use in the filter input } // ...more parameter/filter to check here // ... // Very simplified... if($input->get){ // 3. execute the find on your products $allpages = $pages->find("parent=$page, $selector"); $log->save('filter', $selector);// write the build selector to a log, so you can check it }else{ // 4. on input->get so list all unfiltered pages $allpages = $pages->find("parent=$page"); } // 5. List your products foreach($allpages as $one){ // your list of products, filtered or not... } This would be the first step. The second step would be to build the form with the filter input field: // in my case I use delayed output, but you may not... $filterform .= '<form id="filter" action="'.$page->url.'" method="get">'; $filterform .= "<label for='price'>Max Price</label>"; $filterform .= "<input type='number' name='price' id='price' placeholder='input max price...' value='$value_price'>"; // ... $content .= $filterform; The rest is pretty much fine tuning...
-
Mhh... no. There is only one template for all categories. The editors switch on/off filters how they please with checkboxes, and I check for those in the category template. The editors are quite educated in using this functionality, for example a lamp has no width attributes, or at least it doesn't make sense, and they know it.
-
Just tested with PW 3.0.165 and Matrix 0.0.5 and it seems to work fine for me. Tested on Reno and UiKit themes. I tried all the option for the page reference field, single, multiple, PageTree, autocomplete and Select. What do your developer tools say? Any errors?
-
And not just the doors. The guys have more than 1000 lamps of all the electrified ages ? They are clients of mine since 2004. The website design is a little bit outdated but the priority is to keep everything rolling... according to the owner ?
-
Something like here? https://www.historische-baustoffe-ostalb.de/baustoffe/tueren/haustueren/ Sorry, website only in german, but I could give you some tips to get you started.
-
@Roope Nice module! This is an standard install on all the websites I control. Lately I had to insert al lot of MSTeams chat links on school websites, that look like this: https://teams.microsoft.com/l/meetup-join/19:cf8e53b5711b487@thread.tacv2/123456789012342540?context=%7b%22Tid%22%3a%22e957100c-9b8a-4b7f-b945-fbxx-xxxx-xxxx... Due to the @ in the link EMO tries to encode it, which of course fails. For now I excluded the page with those links in EMO settings.
-
This is the ProModule Textareas amd it is supposed to be there. Maybe a failed upload of files during the update?
-
Weekly update: Combo now released! 18 Dec 2020
Klenkes replied to ryan's topic in News & Announcements
@ryan You should add UIKIT Theme to the list of requirements. As I just discovered, Reno doesn't agree with Combo, unfortunately. While it can be installed, field creation doesn't work. -
Uih... there is an image missing... https://www.aaronsamusements.com.au/jumping-castles/lil-bratz-jumping-castle/
-
It's not a Processwire problem but a error in CSS. Your CSS class .owl-carousel is set to display:none; which makes the slider disappear. The culprit is in owl.min.css. Someone must have changed it...
-
WayFathomAnalytics - Fathom Analytics dashboard in your admin panel
Klenkes replied to Craig's topic in Modules/Plugins
Tested 0.0.2 on 2 sites with ProcessWire < 3.0.139(no toggle) and it works like a charm! -
WayFathomAnalytics - Fathom Analytics dashboard in your admin panel
Klenkes replied to Craig's topic in Modules/Plugins
Yep! That's it! Thanks. Or you should add this to the system requirements. -
WayFathomAnalytics - Fathom Analytics dashboard in your admin panel
Klenkes replied to Craig's topic in Modules/Plugins
-
WayFathomAnalytics - Fathom Analytics dashboard in your admin panel
Klenkes replied to Craig's topic in Modules/Plugins
I am a huge Fathom fan myself and I was happy when I read that a module exists. But I hate it when I am the first to complain... After the the module install I get the following screen: I am unable to configure the module ? What can I do? PW 3.0.123 | PHP 7.3.18 -
Hide specific pages for specific users in the admin
Klenkes replied to shogun's topic in Getting Started
I usually hide some pages because the user has no business snooping around them. Put in ready.php: if(!$this->user->hasRole('superuser')){ /* hide pages on their ID: 1026 FormBuilder 1000 Search */ $wire->addHookAfter('Page(id=1026|1000)::listable', function($event) { $event->return = false; }); } You have ro refine the condition fo the user though... In case you have more users or have to do this dynamically you are better off with permissions or a module to do this. -
You could install this module: https://modules.processwire.com/modules/textformatter-video-embed/ and probably this one too for more options: https://modules.processwire.com/modules/textformatter-video-embed-options/
-
Funny thing is if I connect first to a VPN in USA everything worked fast. Had to do it this way since monday.
-
Oh yes, of course, you are right. It's a setting! I was so caught up in removing plugins on this template and removing buttons on toolbars on another template. Usually I wouldn't disable security features that but in this case the editors are trustworthy and it's only on 1 page. Thank you for this extraordinary module!
-
Is it possible to overwrite the use of Purifier and ACF in a CKE field with the overwrite function of AOS? I need to disable them on one page with a known ID. Like this: $fieldoverrides['Diable ACF an Purifier for Privacy Policy'] = array( "?page" => "id=1035", "?field" => "body", "removePlugins" => "Purifier,ACF" ); Well it doesn't work, because ACF and Purifier are not plugins...