Jump to content

Peter Knight

Members
  • Posts

    1,467
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by Peter Knight

  1. Back to OP, I had reservations too when I first started using PW. It was the tree view I was concerned about too. IE I wondered how PW would handle a list of say, 200 sub-pages. Would users have to scroll way down a massive list of posts? Would the back end be slow? Once I started using PW, I realised this was a moot point as PW will paginate your pages within the admin every 50 or so pages. See screengrab of the PW Skyscrapers Demo and notice how the Architects pages are paginated and have very fast next/back arrows there too. PW is incredibly zippy and accessing any page takes no time even when you have to drill down into sections The admin search is very fast so you cna jump right to a page if you know the title or contents PW 2.5 has a Recent Pages link which is very handy Again, there's the Lister Pro module too which is an extra bonus
  2. Just a quick update to this older thread. I know it's still being linked to from some other posts. Another possible solution (paid) is to use the ListerPro module to display news posts in the admin area. I'm using it to create a paginated list of blog posts and I've another Lister view setup to display lists of posts with certain tags. Worth a look.
  3. Ha - I didn't mean to imply that. I think you've covered a few angles and have thought it through better within each scenario.
  4. All good ideas. I had a similar proposal in the past.
  5. So you have a select field which selects an item Category. And each Category is a page?
  6. Cheers Joss. You're right re. scalability. I was getting hung on "the simplicity" of the first approach (which uses PageTable). What I should be doing is making a simple template called "studio-update" with just my body field as date can be handled by the page creation date. Later on, I can add and remove fields if requirements grow. Or I could even have a Blog for this where posts for Updates are simply tagged "update". They could then be hidden from the main blog secton but displayed on their own "updates" page. Too much choice. That's my problem
  7. I have a feed of "studio updates" on a site. They're essentially 1 liners of plain text. Using the ProField called Table, I've setup a simple repeatable table of fields consisting of a date and an update. The mechanism above works perfectly and I know I'll get a lot of mileage from it. I don't need the complexity of a blog for this or comments, categories and tags. Or at least I don't need that stuff right now. BUT... I wonder if I should at least consider something a bit more scalabale. I have a niggling sense that I should look at each entry as a seperate PW page and consider the fact that I *may* need some entries to include RTE fields, link to pages and even feature a photo. I don't need that functionality *right now* but right now is actually the best time to build it in? I suppose I already know the answer is to think ahead and think scalable but I liked the simplicity of having a single page with my repeatable fields within this. What would you do?
  8. I'm pretty sure MarkupSEO is causing issues when viewing form results generated by FormBuilder. I posted the issue in the Form Builder Support but in case anyone isn't a member (VIP forum), here's the details. Error on viewing FormBuilder entries Error: Exception: Unknown Selector operator: '' -- was your selector value properly escaped? (in /home/sites/pretendy-url.com/public_html/wire/core/Selectors.php line 247) #0 /home/sites/pretendy-url.com/public_html/wire/core/Selectors.php(284): Selectors->create('1.2', '', '') #1 /home/sites/pretendy-url.com/public_html/wire/core/Selectors.php(81): Selectors->extractString('1.2') #2 /home/sites/pretendy-url.com/public_html/wire/core/Pages.php(165): Selectors->__construct('1.2') #3 [internal function]: Pages->___find('1.2', Array) #4 /home/sites/pretendy-url.com/public_html/wire/core/Wire.php(389): call_user_func_array(Array, Array) #5 /home/sites/pretendy-url.com/public_html/wire/core/Wire.php(344): Wire->runHooks('find', Array) #6 /home/sites/pretendy-url.com/public_html/wire/core/Pages.php(260): Wire->__call('find', Array) #7 /home/sites/pretendy-url.com/public_html/wire/core/Pages.php(260): Pages->find('1.2', Array) #8 /home/sites/pretend This error message was shown because you are logged in as a Superuser. Error has been logged. Ryan's suggestion Uninstalling MarkupSEO makes the FB entries viewable again.
  9. Google hasn't used Keywords as a ranking metric since 2009-ish. Here's the offical post from Google. I think the keywords field should stay. Clients are hard-wired into believing that Keywords matter because they did for so long. Not having a Keywords field could negatively impact first impressions from some clients. As someone else mentioned, other Search Engines might have their own policies re. keywords. I'm not an SEO professional. For anyone wondering where the focus should be, the two most important ranking factors used by Google are: Quality incoming links from relevant sites. Quality is the key here and 3rd party sites themselves must have a good reputation. Relevant, quality content that is updated and shareable. I think in total there are thought to be around 200 "signals" which Google ultimatelty uses to determine ranking. Any SEO pros on here to confirm?
  10. More a reflection on my PHP noob-ness. Somtimes you discover *a* way to do something, stick with it and don't realise it may not best practice. 's all
  11. @cmscritic - I really hope you get some great feedback here and CMS Critic becomes even better as a result. Much respect for the website and the amount of energy and commitment it must take to make it fly. That CMSCritic is built on PW and you gave a wonderful case study is even better The problem for me when I visit CMS Critic is that I want to read some content yet the advertising is constantly fighting for my attention. As a result, I rarely visit and when I do, I rarely hang around and browse. I literally don't know where to look as the nice design and visual hierarchy of content is overtaken by shouty Ads. By chance I came across this site earlier and immediatley thought of your problem. I noticed how the three navigation, advertising and content columns are handled differently and wondered if it was an option. http://www.1stwebdesigner.com/tutorials/custom-php-contact-forms/ Because the advertising column on the right (on a desktop) has that nice light grey background, there's a subtle but effective distincition between the advertising and the content. Since the content is on the white background, I immediately understand that this is where my attention should be. I don't have to think about it - it's just intuitive and actually, the advertsing doesn't bother me as much. Anywho, I'm not looking to make more for anyone but maybe this is something useful.
  12. Mock up the UI?
  13. @Soma Slightly off topic but is your Avatar taken from the original Unreal game for the Mac?
  14. That would/should work and it'd mean shorter anchors as some of my names are 20 words long :-/
  15. Foundation (and Bootstrap) don't really care what CMS you use once you can adhere to their CSS. Likewise, a good CMS such as PW doesn't care what responsive framework you choose either. Customer reviews Is that currently a WordPress widget which then pulls in the G+ reviews? social share Have you looked at some of the off-the-shelf social widgets such as http://www.addthis.com/ ?
  16. This is very interesting to me. I got it working. I'm not sure if its Foundation which doesn't like having an integer as the target or wether it's a PW issue. In the end, I had to switch to name <a href=\"#{$faq->name}\">{$faq->title}</a> instead of id <a href=\"#{$faq->id}\">{$faq->title}</a> Here's my full code. I'm not using an active class but that doesn't matter right now. <?php echo "<dl class=\"accordion\" data-accordion >"; $faqs = $pages->find("template=faq-detail"); foreach ($faqs as $faq) echo " <dd class=\"accordion-navigation\"> <a href=\"#{$faq->name}\">{$faq->title}</a> <div id=\"{$faq->name}\" class=\"content\"> {$faq->faq_body} </div> </dd> "; echo"</dl>" ;?> Hopefully someone else will have the same issue and find this thread
  17. Because my page names are based on FAQs, they resulted in massive URLs so I stuck with the ID method. Nice to have so much flexibility though.
  18. Yep. Pulling in the ID and applying it to each FAQ. I also tried some raw code from the Foundation site and can confirm the toggle actually works and the Toggle.JS is working on that page.
  19. I was just wondering the same My faq->id is working and my echos are er, echo'ing but clicking on an Q doesn't toggle the A right now.
  20. @Joss They're quick alright. If you look at the "who's reading this topic", they're like seagulls on a hot chip variable in summer.
  21. Of course! There's me assuming it needs to be complicated :-/ I had tried page->title but that was massive. Hadn't thought of ID as I only use them in MODX
  22. Im working on an FAQ section for a client. It's using Foundations Accordian JS so you click a Question and it toggles the Answer. You know the deal. The tricky part for me is when looping through my FAQs, I need to assign each anchor and target div with a unique number. Been trying to set a variable at one and then incrementally add a number per each FAQ. Wondered if my syntax was wrong or if there are more basic issues with the $x=1 idea. <a href='#$x++'>{$faq->title}</a>; <div id='$x++' class='content'> My working code (apart from the $x++) <?php $x=1; // Start a fairyball at 1 $faqs = $pages->find("template=faq-detail"); echo "<dl class='accordion' data-accordion>"; foreach ($faqs as $faq) echo " <dd class='accordion-navigation'> <a href='#$x++'>{$faq->title}</a>; <div id='$x++' class='content'> {$faq->faq_body} </div> </dd> "; echo"</dl>" ;?>
  23. Agree. I think you're all nuts. Thankfully I'm not allergic to nuts. Here's another thing my old boss used to say to me : "Pete me auld flower. That's not just allowed. That's in fact encouraged". Stay nuts
  24. @GuruMeditation The tone of this thread could rapidly diminish!
  25. Yep - You just bet me too it. I eventually tried creating a variable first and then passing the value to the echo thingy. BTW, re. variables - my wife came into the office yesterday and I must have looked particularly grumpy. The conversation went kind of like this: Her: whats wrong? Me: oh...just bloody variables Her: Bloody fairy balls? I thought you were having ProcessWire problems! Well, it made me laugh and got rid of my grump.
×
×
  • Create New...