Jump to content

Mike-it

Members
  • Posts

    58
  • Joined

  • Last visited

Everything posted by Mike-it

  1. Thank @adrian, just upgraded to ProcessWire 3.0.141 now back working, and everything seems to go faster...
  2. Hi after upgrading to ProcessWire 3.0.140 and trying to edit the field "mapmarker" from admin i got: Fatal Error: Uncaught Error: Call to a member function prepend() on null in /var/www/www.designupgrade-test.com/wire/core/Fields.php:1066 Stack trace: #0 /var/www/www.designupgrade-test.com/wire/modules/Process/ProcessField/ProcessField.module(1412): ProcessWire\Fields->getCompatibleFieldtypes(Object(ProcessWire\Field)) #1 /var/www/www.designupgrade-test.com/wire/core/Wire.php(380): ProcessWire\ProcessField->___buildEditFormBasics() #2 /var/www/www.designupgrade-test.com/wire/core/WireHooks.php(813): ProcessWire\Wire->_callMethod('___buildEditFor...', Array) #3 /var/www/www.designupgrade-test.com/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\ProcessField), 'buildEditFormBa...', Array) #4 /var/www/www.designupgrade-test.com/wire/modules/Process/ProcessField/ProcessField.module(1020): ProcessWire\Wire->__call('buildEditFormBa...', Array) #5 /var/www/www.designupgrade-test.com/wire/core/Wire.php(380): ProcessWire\ProcessField->___buildEditForm() #6 /var/www/www.designupgrade-test.com/wire/core/WireHooks.php(813): ProcessWire\Wire->_ca (line 1066 of /var/www/www.designupgrade.com/wire/core/Fields.php) I also noticed that Compatibility is till 2.7 any chanche to upgrade to 3.0 ? Does anybody solved in some way that issue?
  3. Same for me, after Update to: 3.0.140 Does anybody encounter also analogue problem with mapmarker? I've just tryed to open the field and: Fatal Error: Uncaught Error: Call to a member function prepend() on null in /var/www/www____/wire/core/Fields.php:1066 Stack trace: #0 /var/www/mywww/wire/modules/Process/ProcessField/ProcessField.module(1412): ProcessWire\Fields->getCompatibleFieldtypes(Object(ProcessWire\Field)) #1 /var/www/mywww/wire/core/Wire.php(380): ProcessWire\ProcessField->___buildEditFormBasics() #2 /var/www/mywww/wire/core/WireHooks.php(813): ProcessWire\Wire->_callMethod('___buildEditFor...', Array) #3 /var/www/mywwwit/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\ProcessField), 'buildEditFormBa...', Array) #4 /var/www/mywww/wire/modules/Process/ProcessField/ProcessField.module(1020): ProcessWire\Wire->__call('buildEditFormBa...', Array) #5 /var/www/mywww/wire/core/Wire.php(380): ProcessWire\ProcessField->___buildEditForm() #6 /var/www/mywww/wire/core/WireHooks.php(813): ProcessWire\Wire->_callMethod('___buildEditFor...', Array) #7 /var/www/mywww/ (line 1066 of /var/www/www.440-hz.it/wire/core/Fields.php)
  4. As simple as helpful, very appreciated! Thanks! For full compatibility of the module I would add in the settings "you admin path" because the default "processwire" may not always be used. And (as in my case) this leads to a page not found. Or alternatively in the readme file make it known.
  5. Assumption: Code for Dummies ... Hi, i'm trying to cutomize my menu to add a personal "title" to the link somthing like <a title='$child->mytitle' I've already added a field ("mytitle", type text) in my templates. This is not the right way to do that? Am i so away from the solution? // top navigation consists of homepage and its visible children $homepage = $pages->get('/'); $children = $homepage->children(); // make 'home' the first item in the navigation $children->prepend($homepage); // render an <li> for each top navigation item foreach($children as $child) { if($child->id == $page->rootParent->id) { // this $child page is currently being viewed (or one of it's children/descendents) // so we highlight it as the current page in the navigation echo "<li class='nav-item active' aria-current='true'><a title='$child->mytitle' class='nav-link' href='$child->url'>$child->title</a></li>"; } else { echo "<li class='nav-item'><a title='$child->mytitle' class='nav-link' href='$child->url'>$child->title</a></li>"; } } Any help appreciated, thanks in advance...
×
×
  • Create New...