Jump to content

Peter Knight

Members
  • Posts

    1,466
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by Peter Knight

  1. Gorgeous site and I imagine the clean layout hides what is a very compiles and vast amount of data? On the catalogue search, what's powering the select lists with built in search and auto complete?
  2. @Soma - where's your tip jar? I don't see it on your Modules page or signature.
  3. How cool. I'm in discussions with a client to move his pretty large site over to PW. One of the features that I could see being a problem was a custom developed Poll snippet the client loves on his current site. I was literally worrying about this all week and how client would take news that his 'upgraded' site didn't have one of his most often used features Thanks so much!
  4. Wonder where they source their course authors and which tutorials they'll actually make.
  5. Here's a timely quote from Gartner research which broadly relates to this topic ...
  6. Happens to me sometimes when I am calling two query scripts or the Fancybox JS isn't loading properly. What errors are you seeing with Web Inspector and Developer Toolbar?
  7. What's interesting here is these are all minor / low-level friction points which if fixed could make the experience that much better. As developers we get past them but to clients who are less 'married' to the CMS they're probably bigger annoyances. If I hadn't directed this training session, I'd still think these were annoying but assume because no one else piped up about them, that I should live with them.
  8. Great. Too many good modules floating around
  9. Gave my first client training yesterday on using ProcessWire. I've built approx 7 sites so far in PW but this was the first scenario where I was handing off to a client and training them in. It was interesting to see where the client had issues and where they had praise. Their site had previously been running on a different CMS so they were familiar with the general workings but also had a lot of expectations on how the CMS would work. Positives Overall the feedback was extremely positive. Here's just a couple I recall They also loved the simplicity of the Add New button when I had mapped it to creating various pages etc Negatives In truth there was no 'negative' feedback as such. A few misunderstandings about the UI as follows 1. There were some issues dragging images onto the image drop zone. It just wasn't clear where client should release the image. I think this area could be cleaned up a bit? 2. When browsing the tree, the client would sometimes repeatedly click a page title instead of the 'edit' link to the right of the page title. 3. When they clicked 'View' or the Home icon on the top menu (Reno Theme) the site would load in the same browser window and sometimes they would loose changes. Personally, I've always thought these 'View' links should open a new tab and have found them annoying. 4. Found the new image crop UI confusing. I've gotten used to it but i'm not new to image management. Possibly the only time training came to a dead stop and we had to rewind a bit. That's it really. Will write a proper blog post about this soon with more detail.
  10. Hey Jan Thanks for the advice. I decided to separate the Promo fields into their own page templates and made their own hidden folder called "Promo pieces". Benefits are 1. Client can make a promo piece now with just 3 fields instead of those 3 fields being 3 of 18 2. I've got the Family settings working with the Add New button so client loves being able to login and immediately choose Add New > Promo Item 3. No chance of original error happening There's a tiny little bit more work for the client and an additional step of having to specify which page the Promo piece should link to but another Page select field makes it as easy as poss.
  11. Short version: Can a Page select field be used to select content from itself? Long version: A client of mine has a Pages A, B and C and uses a Page select field to pull in content from other pages to a Promo area. Mostly, this consists of a thumbnail promo title promo description and I have it working great assuming those fields on the source page are completed. The issue I have is sometimes the source of those fields is the actual page. IE On Page A we're not pulling in content from Page A and not sourcing it from Pages B or C. The "usual" way to do this is of course to fallback to the page API <div class="promo-container"> <img class="promo-image" src="<?=$page->Promo_Image->getThumb('crop-for-promo') ?>" /> <div class="promo-title"><a href="{$page->url}"><?=$page->Promo_Title ?></a></div> <div class="promo-desc"><?=$page->Promo_description ?></div> </div> But I wondered why a Page select field can't output the contents of it's own page. It'll allow me to select itself but doesn't output anything. If it helps, here is my code although it's working fine in general. <!-- START Promo for Innerpages--> <?php foreach ($page->Promo_Picker->find('limit=1') as $promo){ echo " <div class=\"promo-container\"> <a href=\"{$promo->url}\"><img src=\"{$promo->Promo_Image->getThumb('crop-for-promo')}\" /></a> <div class=\"promo-title\"> <a href=\"{$promo->url}\">{$promo->Promo_Title}</a> </div> <div class=\"promo-desc\"> {$promo->Promo_description} </div> </div> " ;} ?> <!-- END Promo for Innerpages-->
  12. Should clarify that removing the body field worked. I wasn't sure how to get your own github version running. Tried manually adding your changes and that didn't work.
  13. Hey hwmaler That works so I can confirm it's an issue with recursive Body fields.
  14. Jason Coward (lead developer) has published some info on Medium within the last few weeks. I believe things are ramping up again and taking direction.
  15. Just happened to me when I opened the Admin in a new browser. Normally it resets randomly when installing modules. Interestingly, uninstalling Reno via Modules and reinstalling has no effect. :-/ Scrap that. The other browser had opened a test server.
  16. Are you running the beta Config module by any chance?
  17. Just wondering about the overlap with other crop modules? Are there plans to integrate these Image cropping modules? Maybe have a list of pre-defined crop sizes available in a drop down. Crude mockup attached. See top right of the image.
  18. Briefly tried it. No issues and beautifully implemented. I have an OCD issue with the title of the modal window being upper-case. Same in ListerPro too. But realise thats off topic
  19. Here's the Git issue BTW https://github.com/ryancramerdesign/ProcessWire/issues/905 Still having issues with this on latest Dev branch. For me it happens mainly when I install a new Module.
  20. I didn't know there was a PW group. Spot on re. friends being notified everytime we post. Would you lose the / any SEO benefits though by going private?
  21. Think I've finally gotten to the bottom of this. MAMP Pro was using 80 , 443 and 3306 as ports for Apache, SSL and MySQL. Setting it back to the defaults of 8888,8890 and 8889 increased speed and page refreshes from 9+ seconds to 2-3 seconds. I also wonder if the port 80 was clashing with Skype. Just glad to have a platform I can now work on locally.
  22. Yes. One of the first things I checked too after making that error last time I'm going to deconstruct things tomorrow. Start off with calling just a single field in a basic template. Will report back
  23. Your code outputs It's 9 teams ...which is the correct amount BTW
  24. That correctly displays within HannaCode itself (Save and Test) and counts 9 teams. Once the HC tag is added to the Body field, I get a single team biography. No name or job role either. I've seen this on peoples code samples before and always wondered why they were using this. Thanks for the tip
  25. I have this really odd HannaCode bug which I've been trying to fix for about a day now. I think it's finally beaten me get-team-management is a simple loop through some team pages and outputs their name, job role, body and photo. <?php $teams = $pages->find("template=team_member,limit=10"); foreach ($teams as $team) {echo" <div class=\"team-wrapper\"> <h2>{$team->title}</h2> <h3>{$team->team_role}</h3> {$team->body} </div> ";} ?> Hitting Save and Test on HannaCode displays the content perfectly. Great ! Next it's time to add my HC tag within body field. I'm adding it after a small piece of dummy intro text as per screengrab. The resulting output is single team biography (body field) from a single team member. There should be 8 team members outputted and the dummy text before my HC tag has vanished too. There should be a small intro paragraph followed by each team members title, role, body. The next logical step is to embed my PHP directly in the template and bypass HannaCode. This works in that each team member has all the info required. Any ideas where to look on this one? I'm running the latest Dev 2.5.17. My first thought was to check the team members were all published and all had the correct template (team_member). They do. Next step was to try placing my echo directly into the template. That way I'd know if it was perhaps/or not HannaCode at fault.
×
×
  • Create New...