Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by Mont

  1. It looks great on mobile too. Very elegant.
  2. I just found this today and started implementing it; but alas it is dead without the new license. I too would love something. Anything.
  3. UPDATE: The culprit turned out to be the session.save_path which was not updated to reflect the new php setting. Corrected save path to right version of PHP and all works. I appreciate the help. Thank you all.
  4. Thanks Kobrakai, Yes it is a misconfiguration on the webserver. I am going back through my documentation over the years to see what I missed, MOD Security Exemption and Zip Archive are the glaring ones I missed.
  5. Hello, Running many processwire 3.0.164 installations and recently I had to update my CentOS to AlmaLinux 8.4. After switching operating systems I cannot login in via backend or Login Register Pro Modules on the sites. I updated the permissions for /site/config.php to 755 and then 777 with still no luck. This is the error AH01276: Cannot serve directory /home/motatria/public_html/wire/: No matching DirectoryIndex (index.php,index.html,index.htm) found, and server-generated directory index forbidden by Options directive Any ideas? It looks like some of my installations were not up to date. I am currently updating two installations to 3.0.165 manually.
  6. I like how your favicon is part of the logo. The red U that looks like a person holding up their hands. Very vice touch in design.
  7. More schadenfreude than funny I guess.
  8. As someone who has had his hands tied behind his back due to USA HIPAA laws and regulations, I am having some fun listening to everyone panic about how they have to comply now with GDPR.
  9. I have not been having this kind of problem since 3.0.29. My issue is I have the htaccess file forcing https and that breaks the renewal process. Currently I rename the htaccess to something like htaccess1, then do the renewal manually then rename the htaccess file back to normal. Anyone have a tip on how I can still use the automated way with https? Sorry to hijack this thread.
  10. A great example of what you are trying to achieve is in the site profile called Blue VR. I would recommend you install on a test server or dev folder. It has fields for meta keywords and meta descriptions for each page. Then go to your cpanel or plesk panel and browse to the template files located at public_html/site/templates/ and see how the fields are in the _done.php file. I came from Joomla and had to learn more to use Processwire and am better for it. Good luck!
  11. I'm using Rochen Host and have enabled Let's encrypt on my MVS. Love it! Took longer to update google's webmaster tools and analytics than enabling my sites to TLS. My question is whether I should encourage my existing clients who have EV certs now to switch to Let's Encrypt when they expire?
  12. Mont


    Was this from scratch or did you start with Regular and add your own UIKit3 theme? Beautiful site.
  13. I would like to display a random Image in the Hero Background. I have replaced the code on Line #3 in the ./views/home.inc <?php echo $page->hero_unit->image->url?> with <?php if(count($page->hero_unit->images)) { $image = $page->hero_unit->images->getRandom(); echo $image->url; } ?> and it returns a blank hero bg.
  14. Thank you for your extra eyes. This fix will have to do until I get Foundation 6 (no dividers in menu I hear). Much appreciated.
  15. I have been transitioning all my sites to https and noticed the first PW site I did, https://www.chicagoplumbingcode.com that uses the Foundation 4 drop in site profile is rendering the navigation menu vertically instead of horizontally. I have tried a few things including adding a class " inline-list" but no luck. Any thoughts? Just upgraded wire to 3.0.42. Code from _nav.php /** * Render a <ul> navigation list * */ function renderNav(PageArray $items, array $options = array()) { if(!count($items)) return ''; $defaults = array( 'fields' => array(), // array of other fields you want to display (title is assumed) 'class' => 'inline-list', // class for the <ul> 'active' => 'active', // class for active item 'dividers' => false, // add an <li class='divider'> between each item? 'tree' => false, // render tree to reach current $page? ); $options = array_merge($defaults, $options); $page = wire('page'); $out = "<ul class='$options[class]'>"; $divider = $options['dividers'] ? "<li class='divider'></li>" : ""; foreach($items as $item) { // if this item is the current page, give it an 'active' class $class = $item->id == $page->id ? " class='$options[active]'" : ""; // render linked item title $out .= "$divider<li$class><a href='$item->url'>$item->title</a> "; // render optional extra fields wrapped in named spans if(count($options['fields'])) foreach($options['fields'] as $name) { $out .= "<span class='$name'>" . $item->get($name) . "</span> "; } // optionally render a tree recursively to current $page if($options['tree']) { if($page->parents->has($item) || $item->id == $page->id) { $out .= renderNav($item->children("limit=50"), array( 'fields' => $options['fields'], 'tree' => true, )); } } $out .= "</li>"; } $out .= "</ul>"; return $out; }
  16. Can you post exactly how you got fancybox to work with BlueVR?  What you put in ._done.php and what you put in your template  file.

  17. I bought Profields and ProForms during the Black Friday Sale. It was a win win considering the time saved. Another thing I could always do is to remember the person who created a plugin or module and then when i need something similar, contract that developer to create a module/plugin for me. This is something that makes me appreciate the work that went into building the developer directory.
  18. I never would get the email from the adminEmail address so I just added $form->email = ('email@example.com'); $form->template = wire('templates')->get('contact-form'); // required $form->requiredFields = $formRequiredElements; $form->email = ('mont@exampledomain.com'); // $form->email = wire('config')->adminEmail; // optional, sends form as email $form->parent = wire('page'); // optional, saves form as page $content .= $form->render(); // draw form or process submitted form
  19. I wouldn't find anything wrong with a link or button linking to a donation page. In fact I encourage it if it keeps you producing modules to enhance PW. In fact, the latest dev branch that has the imaging cropping tools made me want to donate something to Ryan.
  20. @Fokke Thank you! Great post. I was looking in all the wrong places until I read your post.
  21. I have been finishing up a scoring system for an Observed Motorcycle Trials Series. Our first event is March 28th and will see how it works in real life. I had some beta testers finding bugs and other unintended consequences and I think we are ready. I had lots of help from a PW forum member and am still tweaking some features. I had spent some time switching the templates over to a bootstrapped template but found my CSS tables I was using just didn't render well on mobile devices so I went back to the original template styles. Waiting to start a restaurant site using PW with a online reservation system.
  22. I have been really impressed with the site profile called Blue VR because of the setup of pages and modules in the back end. Gayan-Virajith uses a set of pages labeled Tools, that control the wide images and other blocks used throughout the site profile. The client can easily navigate through the Tools pages to change or add images and blocks. Neat way of doing things. Really opened my mind on how to do things with processwire.
  • Create New...