-
Posts
2,236 -
Joined
-
Last visited
-
Days Won
59
Everything posted by wbmnfktr
-
Can you please post your Apache2 host/vhost configuration file. Especially the <Directory ...> part could be interesting - as this is crucial in most cases. My configuration looks like this: <VirtualHost *:80> ServerName pw.test ServerAlias www.pw.test pw.test DocumentRoot /home/YOURUSERNAME/www/pw.test <Directory /home/YOURUSERNAME/www/pw.test> AllowOverride all allow from all Options None Require all granted </Directory> ErrorLog ${APACHE_LOG_DIR}/pw.test-error.log CustomLog ${APACHE_LOG_DIR}/pw.test-access.log combined </VirtualHost>
-
I worked with those (VirtualBox, VMWare) that's why I asked. ? Really can't imagine doing so but hey... if this work's for you, I'm perfectly fine with this. Just wanted to make sure I understood that correctly. I'm glad I can keep one machine up and running with my toolset.
-
You really have a virtualmachine with Windows for each and every project you work on?
-
masthead-logo Page Header Editing & Masthead-Logo Resizing
wbmnfktr replied to Joe_H's topic in Getting Started
First of all... Welcome to the World of ProcessWire. I don't know anything about the site-profile you are using. I've seen it but never worked with it. Resizing an image can be done in various ways. You either upload it in the correct size already, you resize it in the backend or define a size within the template code through the API, finishing touches in CSS and so on. What you describe sounds a bit like that you are not only new to ProcessWire but maybe even to webdev - both is fine. BUT... I highly suggest you take a look at the ProcessWire Tutorials which guide you through a lot of steps. Videos are nice but those aren't anything like tutorials (at least those I know about). The site profile will give you a nice starting point but you won't end up with a highly customized version of just from using the backend or settings in it. You will have to tinker around with the template files, the CSS and might even have to complete new markup. -
Nice one... it's amazingly fast even though there are tons of images. TTFB is almost instant. Where is the site hosted and what kind of hosting is this? Standard webhosting isn't that fast usually. Another funny side note... I know this company and actually have bought some of my suits and wardrobe there. Funny how small the world is. That's weird!
-
In other news: Color-coding content blocks is such a great addition. Even those who don't use the backend that often find the right spot way easier now. Thanks @Ivan Gretsky for the idea and @ryan for adding this to the latest dev branch.
- 10 replies
-
- 10
-
-
Weekly update – 12 November 2021: Page Autosave + Live Preview
wbmnfktr replied to ryan's topic in News & Announcements
Question to all of you... What about a setting that enables PageAutoSave O N L Y when in PreviewMode? I play a lot with Page Autosave + Live Preview but sometimes I'm just tackling my daily tasks and the auto-save feature is (kind of) too much as I start writing but can't finish the text due to a phone call, "writer's block" or my empty coffee cup. Yet the content was entered, saved and is available on the frontend for page visitors. Luckily only within a side project at the moment but still. I could enable the feature only for unpublished pages but most of the content that gets edited is already published and therefore live-content. I'm almost missing a setting like "enable autosave only when livepreview-window is active". What do you think? -
-
Probably...
-
Maybe I can take some time and look how to customize your module. Right now I use a hook for this kind of maintenance. While it's using template and fields it's not that easy to update like your module. On the other hand changes are documented.
-
Thanks @Robin S. I'll add those settings/permissions to my modules later on. Just in case. For 3rd party modules I might to keep it a bit more future-proof. Thanks @BitPoet. Your untested but working code was the solution for my upcoming problems here. That it's safe for future updates is one of the best parts.
-
-
As far as I can see it's solely based on fields without taking any templates or other settings into account. Is this correct?
-
Maybe I missed a lot of things or the day was way too long, yet... the question is here and around. How do I grant permissions to modules and their actions/settings/whatever for (restricted) Roles when there is nothing like a permission within those modules? In this case I looked for a permission for ImportPagesCSV... the module itself doesn't have any permissions set (as far as I can tell) compared to ProcessJumplinks (L:477). Never needed this kind of detailed user settings so far... so please enlighten me or at least point me into a direction... or the easier way: place a way bigger stone on the one I live under. Thanks in advance, guys!
-
Maybe a weird question but... will we buy the dev/testing/beta of Padloper 2 via a Padloper 2 interface? Asking for testing purposes.
-
It was the exact same here. Needed a version with PrivacyWire-options and all files from local. Using Leaflef 0.7.7. The newest version is some kind different and haven't had the time to look that deep into it. Maybe later on.
-
German language pack (de_DE) with formal salutation
wbmnfktr replied to dotnetic's topic in ProcessWire Language Packs
@Stefanowitsch in case you are still looking for it: @dotnetic the current download option over on https://processwire.com/modules/german/ doesn't work right now. It's looking for master.zip while it's main.zip now in your repositiory. -
Has anyone ever tried this css.php-approach in combination with ProCache?
-
Maybe... at least that's the case. The other direction would be my favourite but ok. I already set a default value in the backend and reset it each time a location is saved. I forked the module to make it more GDPR-compliant and to fit my needs, maybe you want to take a look at it here: https://github.com/webmanufaktur/FieldtypeLeafletMapMarker
-
I use it with ProCache enabled without any (reported) issues. Take a look here. https://www.restaurants-neumuenster.de/restaurants/burgergalerie/
-
The full $options array looks like this $options = array( 'markerIcon' => 'cutlery', 'markerColour' => 'green', 'zoom' => '16', // doesn't do anything but hey... 'height' => '100%', 'scrollWheelZoom' => 'false', 'popupFormatter' => function ($page) { $lines = array(); $lines[] = "$page->street"; $lines[] = "$page->postalcode $page->city"; return implode("<br />", $lines); } );
-
Weekly update – 12 November 2021: Page Autosave + Live Preview
wbmnfktr replied to ryan's topic in News & Announcements
Looks good and works fine here on all instances. -
Only ideas so far... based on some experiences in the past ... VPN or internal routing issues Adblocking, Privacy Extensions messing with cookies, IP, Browser string Cloudflare CDN (website) and Cloudflare DNS (client) don't work well together Cloudflare CDN caching issue (page rule needed to exclude PW-backend) Using the site with developer tools / device preview enabled IPv4/IPv6 issues either on client or server side AntiVirus or Internet Security software Check the PW logs (maybe even the server logs) to see what was happening when the client was trying to use the site just to get a clue. Something like: Error: Session fingerprint changed (IP address or useragent) (IP: 127.0.0.1) I had one client that used Opera with the built-in VPN. Took us quite some time to find this out as we both didn't know it even existed or was enabled. After disabling it the problem never occured again.
-
In addition to that you also could save every new search query as a page, add a PageHitCounter to it, so every time someone search the exact query the counter goes up. If necessary you could place some additional logic in your search query handling to present not a search result but a content page. That's something I'm working on right now. With this I could even place ads on some queries or push a result or whatever.
-
How to replicate this methods and classes with PHP class?
wbmnfktr replied to sam13579's topic in Getting Started
Maybe my day was already way too long and I don't understand your question and needs here... but... what do you want to accomplish with this and where? In the frontend? In the backend? Within a page, a form, or... Your question and code sample somehow don't match for me.