Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by backes

  1. Good point. I'll try to use the MenuBuilder in my current project. It looks promising, so I don't have to tell clients, what to hide and what not! Thanks for this tip!
  2. Currently I'm using the hidden/not hidden for navigation purposes. For example, the not hidden pages will be rendered in the primary navigation and the hidden stuff goes with specific page calls in several meta navigations. Or do you have any better workflow for the page structuring, that's also understandable by clients?
  3. Hello again, is there a way to add hidden pages to the Sitemap? I'm used to make some hidden pages for several not so important pages. Thanks, Martin
  4. Hey @Mike Rockett, had some days off, so now back at the laptop and checking it out. Seems to work fine now in the 0.3.2 version! Thank you! Martin
  5. Hey there, tried to install the module this evening, but got the following error at the installation: Error: Uncaught Error: Class 'Field' not found in /site/modules/MarkupSitemap/src/Utilities/Fields.php:49 Stack trace: #0 site/modules/MarkupSitemap/MarkupSitemap.module.php(90): MarkupSitemap->createField('FieldsetOpen', 'sitemap_fieldse...', Array, true) #1 wire/core/Wire.php(380): MarkupSitemap->___install() #2 wire/core/WireHooks.php(698): ProcessWire\Wire->_callMethod('___install', Array) #3 wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(MarkupSitemap), 'install', Array) #4 wire/core/Modules.php(1688): ProcessWire\Wire->__call('install', Array) #5 wire/core/Wire.php(386): ProcessWire\Modules->___install('MarkupSitemap', Array) #6 /www/htdocs (line 49 of site/modules/MarkupSitemap/src/Utilities/Fields.php) This error message was shown because: you are logged in as a Superuser. Error has been logged. I'm running the 3.0.77 dev branch! Thanks for the great module, by the way!
  6. Hello folks, I experienced the same issue. Once on a fresh installation with 3.0.45 and on an updated page from 3.0.44 to 3.0.45. Both lacked the seo output support! Thanks, Martin
  7. Thanks @AndZyk, yeah I know, currently the two lines were only there for testing, should have commented one out before posting!
  8. Hey @Zeka, thanks for your answer. Sadly it makes no difference...
  9. Hey folks, I'm working on a multi language site (german=default & english). I have the strange problem, that the 404 for inactive english pages won't work the way I expected it. For example: I enter the following kind of URL in the browser: myurl.com/en/mypageslug/ which is inactive in the backend. The systems shows me parts of the german page and the language switch is also active on german. If I switch to english it opens the 404 page, which is the right one. If I log the accessed pages, it shows me the 404 page as url - but the content in the frontend isn't the 404 page! I hope that someone understands the problem and can help me with this strange behavior. As one check I already wrote a little module to interfere in the pageloading - but it won't do what I want neither... <?php namespace ProcessWire; class ProcessLanguageError extends WireData implements Module { public static function getModuleInfo() { return array( 'title' => __('LanguageError'), 'version' => '0.1.0', 'summary' => __('Throws 404 error if the current page is not accessible in the chosen language.'), 'autoload' => true, 'requires' => array('ProcessWire>=3.0.41', 'PHP>=5.6.10') ); } /** * */ public function init() { // frontend hooks $this->addHookAfter("Page::render", $this, 'hookReturnError'); } /** * @throws Wire404Exception */ public function hookReturnError() { if (!$this->page->viewable($this->user->language)) { $this->log('failure'); // the redirect show only a blank white page without any information... $this->session->redirect('http://www.google.de'); throw new Wire404Exception(); } else { $this->log('yeah baby'); return; } } public function validatePage($page) { if(!$page->viewable($this->user->language)) { $this->log('error404'); $this->session->redirect('http://google.de'); throw new Wire404Exception(); } return false; } } I appreciate any help!!! Thanks and greetings, Martin
  10. I missed it, yes. But I can't reach the thread you linked I'm currently trying to port my module to PW 3.0, but my spare time is limited, due to several client projects.
  11. Hey Kongondo! Just bought the module! Awesome work! Only a little Problem: When using the Admin Theme Reno the Link to Media Manager won't work, because the main Links are not "linked" in the same way as in the regular templates. Two questions for my workflow: 1. Whats the best way to view the image in the frontend? Are there any MediaManager related methods? 2. Is there currently a way to categorize the images? Sometimes a bit more structure than tags only is even better! Thanks! Martin
  12. Glad you worked out a solution with Antti! Then good luck with MariaDB
  13. Hey Claus, is it possible to see a bit more of your current template, where the error takes place? Which function do you call, when the Notice occurs?
  14. Hey J0sh, I "hacked" a little workaround into the module file, because I was too lazy to hook into the method! Maybe it helps you until Antti has a finalized fix! foreach ($form as $f) { // Let's be extra careful here, since we can have all kinds of textfields in use if (is_string($f->value)) { $value = $this->sanitizer->purify($f->value); $this->order->{$f->name} = $this->sanitizer->entities1($value); } else { $this->order->{$f->name} = $this->sanitizer->entities1($f->value); } } Greetings!
  15. Hello Claus, you need the following stuff in your template for padloper: <?php /* Cart Module */ $cart = $modules->get("PadCart"); /* Render Module */ $cartRender = $modules->get('PadRender'); ?> <?= $cart->renderPriceAndCurrency($cart->getProductPrice($p)); // Product Price formatting?> <?= $cartRender->addToCart($p, true);​ // Add To cart form, the second parameter tells the module if you want to have a input for the quantity ?> I hope this helps at your problem! Best regards, Martin
  16. Thanks, the mail is on it's way. I sent you another mail with a hint on a "Checkout steps output" module. If you are interested, let me know! Thanks, Martin
  17. Hello, I try to implement a checkbox into the order process that is required by default. The first step to add it is no problem. But when it comes to saving the order, the purify method blows it away. The call for purify is in PadCheckout.module: foreach ($form as $f) { // Let's be extra careful here, since we can have all kinds of textfields in use $value = $this->sanitizer->purify($f->value); $this->order->{$f->name} = $this->sanitizer->entities1($value); } The problem is, that the purify sanitizer does not allow the input, that comes from Fields like Checkbox oder Options... Is there already a workaround in a newer version of padloper or do I make a mistake? Thanks. Martin
  18. Yesterday I thought exactly about this procedure. I use several modules over and over again. And it's a hassle to download always the same modules, even when it's comfortable with ModulesManager. Now I don't have to think further, because you already did it! Great work, and obvious a real time time saver. So it fits perfectly in the ProcessWire galaxy! Thanks!
  19. I narrowed the problem a bit, currently I cant add Products variations with modifiers to the cart, when I'm not logged in. The URL gets like ?error[]=productId I used several installations, locally and online. Always the same problem. Maybe there is a newer development version at some repository? Thanks! Martin
  20. Hey guys, first of all, thanks for this awesome extension! I tried already some stuff with padloper, and it's really nice to work with. Now I have a small problem with filling the card by ajax. When I'm logged in as admin it works fine, but when I enter the page as guest the Ajax call reports a Error500 on /padloper/ajaxAdd. I recognized, that the "add to cart" works neither without Ajax. So the shopping process only works when the user is logged in. Is there already a fix for this? Thanks, Martin
  21. I think the regular PageTable Field is already doing what you want. Just choose some Templates and you can select in the entry tab which fields to show up.
  22. Hello Peterpp, maybe it's a problem with the Apache Version you use. Because I have set up a blank PW2.5.3 with DG on my Apache 2.2 with PHP 5.6, and everything is running fine. I'll try to find a spot, where I can test with a 2.4 Apache. Or maybe, someone's here to help. I'm trying to fix this behaviour as soon as I get my hands on a new Apache! Kind regards, Martin
  23. Hey Peterpp, can you tell me you current system environment? And the folder rights you set up? Currently I can't reproduce the error you mentioned before. Thanks, Martin
  24. Hey Peterpp, is your assets folder writable? Do other uploads works without any concerns? I'll look into this to find a solution! Regards, Martin
  25. Hey Pete, thanks for your hint! I added the module to the repository! Best regards, Martin
  • Create New...