• Content count

  • Joined

  • Last visited

Community Reputation

121 Excellent

About ottogal

  • Rank
    Sr. Member
  • Birthday 06/18/1949

Profile Information

  • Gender
  • Location

Recent Profile Visitors

2,531 profile views
  1. After having freshly installed HannaCode and Hanna Code Textformatter I encounter the following issue: When, in the Module Settings for Hanna Code, I click on "check for updates", I get the following error message (at the top, in red): What's going wrong? (BTW: already on PW 3.096, but I think that doesn't matter.)
  2. From the API Reference page for WireArray class:
  3. I'd try this: $out .= "<img src='$image->width(500)->url' />";
  4. Shouldn't that be if ($m->template->name == "pressespiegel"){ ?
  5. No idea - just the observation that the result is the same when you use $pages->find() with the $options parameter like this: $options = array('findIDs'=>1); $homes=$pages->find("has_parent=1", $options); echo $pages->get($homes[0])->name; //returns 'home'
  6. Maybe you can find some useful hint in this thread: Page reference field selection based on another field
  7. It's a principle of the page tree organisation in PW that all pages have to be children of one single root page - it's title is Home by default, but you may change it as you like. If you like to send your site visitors to a certain page in the tree, you can redirect to it. It just cannot have the title Home, so use Start or whatwver seems adequate. Another question is if this redirecting leads to a good user experience. The visitor normally would not expect to land on a subpage. I'd rethink the tree structure.
  8. I really would hesitate to use or propagate the use of disqus. Some links: The Hidden Price of Using Disqus Why I killed Disqus Commenting on my site You can easily find more worth considering...
  9. @AndZyk I completely second what you're saying. What's most appealing with ProcessWire is (was?) its independency of third party assets...
  10. I fully agree.
  11. Good hint. I didn't know it - that is, I don't know nothing about URL segments. (So shouldn't give any advices... sorry!)
  12. You're right. Bad idea.
  13. A workaround - though not really pretty - could be: Assign a new template to the page "Actual home" using this template file (say) redirfirstchild.php: <?php namespace Processwire; if($page->numChildren) $session->redirect($page->child()->url); That would redirect a request of the "Actual home" to the "New home" page. Downside of this: The URL would become something like "" (whatever pagenames you use). To suppress the "actualhome/" part, you perhaps could use URL segments (I don't have any experience with them). Edit: And you'd keep the "Actual home" page in the tree (content removed, of course).