Peter Knight
Members-
Posts
1,377 -
Joined
-
Last visited
-
Days Won
5
Everything posted by Peter Knight
-
Image field UI and general tidy up
Peter Knight replied to Peter Knight's topic in Wishlist & Roadmap
This post has had an inexplicable surge of Likes over the past few weeks so there seems to be quite a bit of interest in this 7 months later. I've been unable to follow these concepts up with the time they deserve but those interested in an mage field tidy up can see Toms own beautiful work mentioned on the Dec 18 blog post. Furthermore, Ryan mentioned in today's Roadmap blog post that these (Tom's) designs are already being worked on by LostKobrakai. Exciting stuff! -
So.. My first newbie question to the community
Peter Knight replied to Zislatik's topic in Getting Started
Never used the delayed output method. Wondering if it's the best method to start with or does it increase the learning curve. Welcome to PW -
Yippeee. I did it See last line of this code. <?php $articles = $pages->find("template=articles-post"); //find all posts based on this template foreach ($articles as $article){ // these are this $audience = $article->articles_tag_audience; echo " <div class='small-12 medium-6 large-4 columns masonary-brick'> <div class='article-wrapper {$audience->implode(" ", "title")}'>
-
Thanks - will try. At the moment I don't need to (don't know how to) sanitize page titles because they'll always be 1 word titles determined by me. But I like the idea.
-
Hi I'm trying to inject a list of tags (page titles) into a DIV so that this: <div class ="article-wrapper"> becomes <div class ="article-wrapper tag01 tag 02 tag 03"> It seems very simple but it's failing to output and not throwing any warnings. It's the variable on line 4 called audience that should be scooping up my articles_tag_audience page titles <?php $articles = $pages->find("template=articles-post"); //find all posts based on this template foreach ($articles as $article){ // these are this $audience = $article->articles_tag_audience; echo " <div class='small-12 medium-6 large-4 columns masonary-brick'> <div class='article-wrapper {$audience->title} '> etc... I've also tried <div class='article-wrapper . {$audience->title} .'> which has worked on occasion. Oddly, the following is used (and works) further into my code block { echo $audience->implode(", ", "<a href='{url}'>{title}</a>"); } so I know the page titles exist.
-
MarkupSEO - The all-in-one SEO solution for ProcessWire.
Peter Knight replied to Nico Knoll's topic in Modules/Plugins
Hey @nico I hadn't (yet) as I thought it was me overlooking something. Will do soon. Thanks -
Merry Christmas everyone.
-
MarkupSEO - The all-in-one SEO solution for ProcessWire.
Peter Knight replied to Nico Knoll's topic in Modules/Plugins
Hi guys. Sorry for the double post just wanted to ping this again. Basically I have Index and Follow set in the Robots part of this module. How (via the Module) can I set a NOFOLLOW or NOINDEX on a per-page basis to over-ride the default? It seems like it's not possible or has been overlooked? -
I just updated and found this quite confusing (initially). I was thought it was a bug. I think tree is more intuitive under the Pages menu and I know my clients are hard-wired now to expect it there. I'm happy to un-wire them but I think the natural home for the tree link is under Pages and is most intuitive there.
-
MarkupSEO - The all-in-one SEO solution for ProcessWire.
Peter Knight replied to Nico Knoll's topic in Modules/Plugins
If you set the Robots field to index and follow, can you over-ride this on an individual page? There's a per-page Custom field in the SEO tab which reads I was expecting to paste <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> into this area but it outputs oddly as: <meta name="META-NAMEROBOTS-CONTENTNOINDEX-NOFOLLOW" content=""> Furthermore, the original INDEX and FOLLOW still appear further up the list of META tags -
Hi Kongondo, I've an early version of the blog module (2.0) running. Now that I'm more comfortable with PW selectors etc I want to custom-build my own blog using basic pages. Tags and Categories will be new pages too. In fact - it's very similar to what you've done with blog but less technical. My questions are: 1. if I start a new blog (manually built) is there anything to stop me moving the old Posts to a new containing Page (called Blog 2). 2. Ditto with Tags and categories (I'm not worried about Archives and Authors right now) 3. Not urgent but I'd like then to uninstall Blog. is there a clean way to do this and leave my tweaked templates intact or should I just leave it installed?
-
I quite like it but it's new-ish to me so still a novelty. What do you prefer? C-Panel ?
-
Ok- I found the issue. When you preview a site in Plesk, you can choose a preview URL for the website which generates a kind of URL as follows website-space.com.XX-XXX-XXX-XX.preview-url.com XX etc is the server IP address. My problem was caused because the preview-url.com had some DNS issues and a .htaccess error too. Thanks for the ideas guys. Looking forward now to a strong coffee and several hours redesigning this thing!
-
Horst - ill do try that. I had disabled ProCache from the Modules area but I'll do some renaming etc and test.
-
I'm using separate databases. Both databases have the same names, usernames and passwords though but they're on different servers. I'm not sure that's an issue though because making an admin change works fine. It's just the template files and includes which incorrectly all come from VPS 01.
-
Have you run it through Google Page Speed insights? or Gtmetrix etc? It's not your hosting.
-
I'm thinking I should shorten my post to what's the best way to nuke the cache and apart from Config and .htaccess, where might a legacy base path be hidden?
-
Module Comments Manager Enhanced (proof-of-concept)
Peter Knight replied to kongondo's topic in Modules/Plugins
Is the plan to merge this with the current CommentsManager or keep it separate? -
Module Comments Manager Enhanced (proof-of-concept)
Peter Knight replied to kongondo's topic in Modules/Plugins
That's very cool - thank you I won't be able to use this without hearing the music :-/ -
Hi I have this really stubborn issue which has gobbled up my evening. It's clearly a caching issue or a .htaccess but nothing seems to resolve it. I have a site on domain.com and VPS 01 Because I want to develop some ideas on a separate test server, I made an exact copy of the site and database onto temp-domain.com and VPS 02 Any template and include changes I upload to VPS 02 are not showing up. The templates files are on the VPS 02 server and the file manager confirms this. However VPS 02 ProcessWire install is clearly reading files from VPS 01. To confirm this I make a small change to the footer running on VPS 01. I reload VPS 01 and VPS 02 and both sites show the updated footer. These are the steps I've taken to clean things up. disabled ProCache cleared the site>assets and site>cache folders ensured that both config files have the proper httpHosts set but somewhere, VPS 02 is getting it's base path from VPS 01 Furthermore, I can confirm this by viewing the source and mouse-over a CSS file. The root host path is displayed as domain.com/path/to/file for a split second before it displays temp-domain.com Any ideas? Both sites have the same database name, userAuthSalt, user login etc etc so there's lots of room for error. I saw a post regarding running PHP as an Apache Module instead of Fast CGI. This makes no difference to my issue.
-
Hmm, thats an interesting thought. I'll have a look later. There would probably be no batch controls but it's an interesting approach.
-
Would love to see following features in the admin Comments field type. Ability to display more than 10 comments at a time This could be a setting in the field type itself? Ability to bulk - manage comments This could be a checkbox to the right of every comment and a way then to bulk-action These are a clients wish. We moved his site recently to PW and he has approx 6000 comments to moderate and a very active commenting audience. He was on WordPress for years, moved to MODX and now is running ProcessWire. He loves PW btw - this is literally the only admin feature he misses.
-
Theres a nice Plesk Extension now for Lets Encrypt
-
Thanks for making this Adrian. Just used it for the first time and worked great
-
Public Beta opening today apparently. Anyone planning on making HTTPS their default from here in?