Jump to content

backes

Members
  • Posts

    40
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Aachen, Germany

Recent Profile Visitors

2,411 profile views

backes's Achievements

Jr. Member

Jr. Member (3/6)

34

Reputation

  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
×
×
  • Create New...