
Peter Knight
Members-
Posts
1,384 -
Joined
-
Last visited
-
Days Won
5
Everything posted by Peter Knight
-
Hey Mike I understand you're not developing it personally anymore. If someone were to add a new feature and submit a PR is that something beyond lingering issues? IE they're best to fork it or even take over as maintainer?
-
Hey I've been building a few React based apps for the first time and one of them required a blog. I started to explore MDX files with YAML for a fast blog launch. I found it refreshingly simple and I loved the databaseless setup, the flat file system, the versioning etc. As my requirements and content grew, I kept finding myself trying to do things which Processwire already does and does beautifully. Things like.. treeview and nice UI keeping track of changing redirects providing a front end UI for posts and a 1000 other things we all know and live PW for. My question is, is there a way to combine the two? Challenge 1 I'm wondering if I could have a local install of PW acting as the blogging engine and the front-end UI I could then export a page as an MDX file to my React Apps /blog/posts/ folder and my React App can pickup Challenge 2 Another element why I love the flat file MDX approach is I am bulk generating a lot of content and I can use AI to quickly create new documentation and blog pages. If I had 10-100 MDX files, I would like Processwire to be able to import /scan these pages and auto update the tree and auto import various chunks of content into fields. I *dont think* I can use AI to quickly generate multiple pages of content in PW at scale but I have never really explored the UI. So as you guessed, I am not 100% sure of my requirements but keen to hear how others handled similar integrations. Thanks P
-
Isnt this just Apples new inbuilt password manage trying to be helpful? You should be able to prevent it either on the browser level or globally via the Settings?
-
In your example code you have the first before the image. Was that the issue. IE needed images->first()->url
-
Hey 👋 I'm running a PW site on UIKIT (v3) for many years and I want to migrate to TailWind V4. Sounds fairly simple. I normally just locally update my templates and CSS. This time, I want to do add in TW templates concurrently. The idea is I can add/remove content as normal and I thought a good approach might be 1. I have a template switcher in my config $config->twPreview = true; // Enable Tailwind templates 2. I have a template switcher hook in site/init.php which updates my css paths etc with a _tw (Tailwind) path 3. All my templates have a duplicate called [template-name]_tw.php Same for all my includes It's not going too bad but I didn't factor in for the following 1. I have Matrix field templates and een though I can duplicate with a _tw, the actual field files are hard coded into the PW manager when editing a page Aside from this, it's not going too bad but am I overlooking a simpler method? Cheers
-
Thanks @breezerThat first answer was a big help.
-
Hi I’m trying to find an up to date tutorial on enabling remote page creation via API? I’m building a localhost tool / project and want to use that to create new pages in a target site. I can find lots of API docs but unsure of the first steps on target site. Thanks
-
Hi I understand many of you use Git and I've started to use it more lately in conjunction with Github and GitHub Desktop app. I was wondering what the best approach might be when you've built something you're happy with but then want to create 2 furthers versions of this. IE in terms of git and branches, would you create 2 further branches? Would you instead make 2 local clones of your repository? Lets call these versions Basic, Better and Best. My core product is a PHP page which pulls in JSON data. This Basic version is ready and I have a git repo and have been making commits to a branch called 'Dev'. I now want to create a version with enhanced features which uses the same PHP and JSON files but is called: Better and uses enhanced UI V2 more JSON data introduces some basic imagery Concurrently, I want to build Best which has enhanced UI V3 more JSON data introduces photography Thanks P
-
MarkupSEO - The all-in-one SEO solution for ProcessWire.
Peter Knight replied to Nico Knoll's topic in Modules/Plugins
Hi is there a way to override a Meta Tag with this Module? My implementation has: <meta name="robots" content="index, follow"> But on one particular template, I want to NOINDEX and have added to the Custom field <meta name="robots" content="noindex"> Unfortunately and as expected, my page now has both NOINDEX and then INDEX robots instructions. Thanks -
Hi @Matzn Was this referring to the /processwire/ manager login? I just had a similar issue and it was caused by my server having an incorrect time (-1 hour).
-
Hi @Inxentas I just experienced the same issue. Would this hosting company have a name beginning letter H ?
-
module Module ImageReference - Pick images from various sources
Peter Knight replied to gebeer's topic in Modules/Plugins
Hey, no problem at all. I was just flagging it in case it was still in development. Good to be busy. I'll keep a watch on this thread in case any future developments. -
module Module ImageReference - Pick images from various sources
Peter Knight replied to gebeer's topic in Modules/Plugins
Hi @gebeer I'm trying out the module and I had a few issues When it comes to using the Module itself, my preferred method is to allow Pick from any page I add the field to a template and I can see the tree / site structure I drill down to the page which has images and Select this Nothing happens to the placeholder thumbnail at this stage so I save the page When I return to the field, I am asked again to 'Choose a page' When I return to the field setup , I occasionally get an error below even though this is described in the docs as Optional I also note that in the list of possible image fields listed, the Module is not picking up any image fields. Thanks for reading -
Pass Name and Email fields to email header
Peter Knight replied to Peter Knight's topic in General Support
Yes, using FormBuilder (and have a license) but It's possibly more of a WireMail SMTP question as that's what the screengrab of the UI is from. -
Hi I have a webform which asks for Name [Name_1] Email [Email] Message [Message] When the webform is recieved, I would like the Name and Email in the email header what the user has submitted. While I can output these values in the email's html body, I cannot succefully inject them into email header. I am using WireMail SMTP and have tried adding $Name_1 and $Email to the fields below. Would appreciate any pointers as I don't see any related posts on Google or the PW forums. Thanks
-
[removed and moved]
-
301 redirects by PageID - missing functionality?
Peter Knight replied to Peter Knight's topic in General Support
Hi @wbmnfktr PagePathHistory only works when a pagesURL changes to something new. In this instance, I was looking to redirect to a completely new page. I never noticed the options under the What other URLs redirect... section but they might be useful. Thanks -
301 redirects by PageID - missing functionality?
Peter Knight replied to Peter Knight's topic in General Support
Thanks BitPoet. I had that setup but wasn't sure it was using a 301 redirect method for SEO. I also have a nice page created via ListerPro which lists all the redirects I have made. Handy for an at-a-glance view etc -
I've been looking at various Redirect Modules and I don't think my current requirement is possible with any of them. I want to enter a PageID (my source page) and create a 301 redirect to a different URL (destination). Normally you might do this in the htaccess file with page paths but I'd rather do something within PW itself. Jumplinks comes close to supporting this but doesn't support page IDs. The reason I need page IDs to be specified in the source and destination is that my client often updates the page path for SEO experiments etc. If I were to use page Paths as the source and destination, they might stop working.
-
TinyMCE Module looks great. One item I can't see is the ability to group related toolbar icons with a pipe. The official docs on TinyMCE mention to use a pipe but I can't see how to apply it to the Toolbar settings. Interestingly, if you manually type a pipe, it does add it to the Toolbar but only accepts a single one. Tin
-
I see PostMarkApp are moving from an email credit based system to a subscription service. I'm hoping to move and was wondering which SMTP services people generally use that works well with ProcessWire?
-
Hi @Mike Rockett My SchemaVersion is set to 4 {"schemaVersion":4,"wildcardCleaning":"fullClean","enhancedWildcardCleaning":"","legacyDomain":"","statusCodes":"200 301 302","enable404Monitor":"","moduleDebug":"","redirectsImported":true,"moduleDisable":"","_schemaVersion":2}
-
Hi I have a little script that ouputs a default hero image if an image isn't set on the page. All works great (see below). I've realised I want to add an image Crop to one or both of these but when I add a Croppabelmage to the page specific image, I get an error. And I get this error even if no image is set. I understand what's happening. It's looking for getCrop even though there's no image in the field. But how to side-step it or do a proper check in this instance? <?php // Set var for the Hero / Masthead background image // A - The default image $image_default = $pages->get(1034)->Hero_Photo_Default->url; // or B - The specific page image $image_hero = $page->Hero_Photo->url; ?> <!-- START: Masthead --> <div class="uk-section-default uk-margin-large-bottom "> <?php if (count($image_hero)){ echo" <div class='uk-section uk-section-xlarge pk-section-masthead uk-light uk-background-cover' style='background-image: url({$image_hero})'> ";} else {echo" <div class='uk-section uk-section-xlarge pk-section-masthead uk-light uk-background-cover' style='background-image: url({$image_default})'> ";} ?> <div class="uk-container"> <!-- <h1><?=$page->title?></h1> ---> </div> </div> </div> <!-- END: Masthead -->
-
You could try sending the emails via PostMark It's easy to integrate with WireMail SMTP, credits are cheap and it'll give you a dashboard on amounts of emails sent/bounced etc
-
@horstI discovered what was happening here. If a crop has a template name it won't appear in a repeater staff-square,300,300,team-detail (works) staff-square,300,300 (not working) I don't have a fix for it other than to create a duplicate crop setting without a template name.