Jump to content


  • Posts

  • Joined

Profile Information

  • Gender
  • Location
    BaWü, Germany

Recent Profile Visitors

1,727 profile views

HannaP's Achievements

Jr. Member

Jr. Member (3/6)



  1. Thanks, that helped. Batcher then complained about the same in line 163 which I changed like that, too if (wireCount($this->input->post->pages) && $this->input->post->a == $this->_('Execute')) { The module seems to work now but still gives warnings: Warning: Trying to access array offset on value of type null in /home/hannelore/webs/AGVPW/site/assets/cache/FileCompiler/site/modules/ProcessBatcher/ProcessBatcher.module on line 361 Warning: Trying to access array offset on value of type null in /home/hannelore/webs/AGVPW/site/assets/cache/FileCompiler/site/modules/ProcessBatcher/ProcessBatcher.module on line 362 Warning: Trying to access array offset on value of type null in /home/hannelore/webs/AGVPW/site/assets/cache/FileCompiler/site/modules/ProcessBatcher/ProcessBatcher.module on line 363 This using PHP 8.0.9 ProcessWire 3.0.165 Batcher 1.0.4
  2. Can anybody show me how to change that line?
  3. ok, solved by myself. Finally found that my XAMPP is configured without short open tags. Changed <? to <?php in the script .. and voilà things work now.
  4. I'm about to update an old site from PW 2.7.2/ PHP 7.4 to 3.0.165/ PHP 8.0 I have a problem with a HannaCode/PHP thing. This require_once($config->paths->assets . "moon_phase/moonphase.php"); worked in 2.7.2 but throws an error in 3.0.165 as if it can't find moon_phase/moonphase.php anymore. What can I do so it works again? Any help appreciated. PS.: just tested - seems to be related to PHP 8 because it works on PHP 7.4
  5. I'ld like to share the changes I made to make this module work with PHP8 MarkupiCalendar/iCalcreator/iCalcreator.class.php lines 3037-3038: from ( in_array( $fbMember{0}, array( 'P', '+', '-' )))) { if( 'P' != $fbMember{0} ) to ( in_array( $fbMember[0], array( 'P', '+', '-' )))) { if( 'P' != $fbMember[0] ) line 4196: from $unique .= $base{mt_rand( $start, $end )}; to $unique .= $base[mt_rand( $start, $end )]; MarkupiCalendar/iCalcreator/iCalUtilityFunctions.class.php line 66: from $tzid = ( isset( $theDate['tz'] )) ? $theDate['tz'] : ( 7 == count( $theDate )) ? end( $theDate ) : null; to $tzid = (( isset( $theDate['tz'] )) ? $theDate['tz'] : ( 7 == count( $theDate ))) ? end( $theDate ) : null;
  6. good to know... How did you solve it then?
  7. Hi Jannis, Is that you want this <li class="has_children"><a href="#">Über uns</a> appear like a headline ? with no link? I think it would be a good idea to give those 'headlines' their own template like 'ueberschrift' or so. Then you could proceed similar to what I posted here using a hook.
  8. just want to add results from above tests for 'tree.jpg'. file_exists = 1 exif_read_data = TRUE exif = TRUE exif["Orientation"] = TRUE Orientation = 8 frontend, halfsized is in right orientation: yes [x ] - no [ ] backend Original is in right orientation: yes [ ] - no [x] backend Thumbnail is in right orientation: yes [x] - no [ ] Is this what I normally would have to expect? ----------- No additional image-related modules in use, PW is 2.7.2
  9. @horst I refererred to the original image when talking about 'large' image. it's the one I see when clicking on a thumbnail in the backend. I have two of those candidates that behave differently. Thanks for clarifying about the orientation stuff of exif-tags. I didn't know that. I used exiftool to output the CW 270 and gThumb for the other one. I would like to send you a link via PM, so you can inspect those images further, if that helps.
  10. Even with AutoRotate set to true I have some photos that won't be rotated . They are ok in large version, but not in admin thumb. I noticed that they have something like this in their exif-tag: Camera Model Name : Canon EOS 450D Orientation : Rotate 270 CW whereas those that work fine have something like Orientation: bottom-left. Maybe that helps ..
  11. Have noticed this too, with a friend's site. He uses a Canon Camera. Large versions are fine, but thumbnails are not.
  12. Solved it myself ... Finally managed to set up hooks: function myItemString(HookEvent $event) { $child = $event->arguments('page'); // current rendered child page // any logic with $child possible here /** * Überschriften */ if ($child->template->name == 'menue-ueberschrift') { $event->return = "<span> $child->title</span>"; }; /** * active */ if ($child->template->name == 'standard') { if ($child->id == wire('page')->id) { $event->return = "<span> $child->title</span>"; } }; } // setup the hook after on ___getItemString($class, $page) method $nav->addHookAfter('getItemString', null, 'myItemString'); /* Render Navigation Markup adding options, too---------------- */ echo $nav->render() Seems to work so I guess it's ok. And I've learned something new Cheers Hanna
  13. Hello all, I have two questions: First: using MSN Module ... is it possible to have "unlinked" items in the menu?. I have several pages that serve as headlines to structure the content better. They have a seprate template (menu-ueberschrift) and they should not be clickable ... just be there as plain text. These Items have children. I want an uncollapsed menu.. Second question: Goes into the same direction: I would like to have active pages without links, too. I think there is no need for links for a page I'm currently viewing. Hopefully someone can help, as I'm stuck here.
  14. Thanks a lot for your answer. That helped me.
  15. Hello, I have a newbie question here: I have installed the module. What would the next steps be to see how it works? Do I have to activate it somewhere? (I'm on PW 2.7)
  • Create New...