Jump to content

jds43

Members
  • Posts

    96
  • Joined

  • Last visited

Everything posted by jds43

  1. Hello, I'm trying to select doctor pages associated with locations. Within this doctor page I have multiple pages selector (which are location pages) because doctors can work at many. When viewing a single location page, I'd like to loop through those doctors at that location, which is this $page. How can I achieve this because mine isn't working? $doctors = $pages->find('template=staff-page,parent=1018,locations=$page'); foreach($doctors as $doc) { echo "<h4>$doc->title</h4>"; } I guess I answered my own question. Is this an acceptable way to achieve? foreach($doctors as $doc) { foreach($doc->locations as $loc) { if($loc->title == $page->title) { echo "<h4>$doc->title</h4>"; echo "<h5>$loc->title</h5>"; } } }
  2. Ah ha! That would make sense. Thanks @kongondo
  3. Hello, I'm wondering how to add the value of a field to a URL when submitting a form, while also processing the form with FormBuilder and storing the entry in the CMS. Is this even possible with the versions below? FB 0.2.5 | PW 2.7.2 Is there still a dedicated Form Builder forum here anymore?
  4. Thanks Adrian, The search returns inconsistent results, but it could be another issue. I appreciate the assist.
  5. No luck there. Any other ideas?
  6. I need to extend the search capability to image descriptions through the default search template in 2.5.3. $matches = $pages->find("title|body|sidebar|thumb_one|thumb_two|thumb_three|thumb_four|gallery_img%=$q, limit=50"); I've added additional field selectors, but with inconsistent results. Is there a better way to achieve this?
  7. Thanks, but this feature doesn't appear to kick in in time to prevent my server from attempting to load the SSL certificate. I believe I need an .htaccess solution which will redirect the URL BEFORE ProcessWire is called.
  8. I'm trying to append ProcessWire's default htaccess file to redirect all SSL requests to a NON-SSL version of the requested page. This should work, but it doesn't: RewriteEngine On RewriteCond %{HTTPS} on RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] ​Could PW be overriding it?
  9. Thanks for your replies! It turns out, my template didn't have a file associated with it. That was the cause. Live and learn!
  10. For some reason, all of the pages within my site which use a specific template are throwing a 404 error and do not have a "View" tab when I edit them. I've looked over the template's settings and I can find nothing to implicate why this may be happening.
  11. This was a big help on my current project, Ryan. Thank you.
  12. Another vote here for: 1. ProcessWire merchandise. Mugs, t-shirts. 2. A mechanism for selling modules through the PW site. Devot-ee seems to have built a very successful model on this for ExpressionEngine.
×
×
  • Create New...