Jump to content

toni

Members
  • Posts

    39
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

toni's Achievements

Jr. Member

Jr. Member (3/6)

12

Reputation

  1. mhhhh I've now just required_once class MarkupPwpswpGalleryFlex which solved it. But strange where this suddenly came from.
  2. Hi all, I'm fighting with a strange problem. On a processwire installation I've tried to install https://processwire.com/modules/process-redirects/ which ended in a json error. A refresh quitted with an error 500. Even after deleting the redirects module via FTP the error 500 persisted. After enabling debug in settings following output is shown: Strange as the Gallery module worked for years without problems. What I do not understand is why the class cannot be found. it is there 😕 This is how it's called in `MarkupPwpswpGalleryLegacy.module` `class MarkupPwpswpGalleryFlex extends MarkupPwpswpGallery implements Module {` and on the same level in `MarkupPwpswpGallery.module` `class MarkupPwpswpGallery extends WireData implements Module {` My guess is it has something todo with the php 7.0 version the server runs with and namespaces (did not change between module installations). To get rid of this nasty situation I've just tried to reinstall the gallery but this one fails as requirement 7.0 >= 5.6PHP is not met (why? 7 is bigger as 5.6?) Anyways any tipp to get it running again is much appreciated!
  3. @kongondo peng! indeed! just whitelisted your mail ;)) I will try what you suggest and come back. Thanks!
  4. @kongondo I’ve just bought media manager and installed it on a fresh pw instance. Unfortunately an upload does not appear (small logo image) and no error is thrown. https://www.dropbox.com/s/xhwie4vert5li5b/mm.mov?dl=0 The User is a super user. Any idea what could go wrong? Thanks, Toni
  5. @Pierre-Luc Even if this issue is from 2015. Did you give Postgres/Postgis a try? What did you end up with?
  6. great anser @MoritzLost . Thanks! I will give it a try!
  7. Hi! I've a nested page tree looking like: I know like to pull articles of "aktuell = $page" by there sort order: $articles = $pages->find("has_parent=$page, template=event, limit=50, sort=sort, hide_in_programm=0") The strange thing is the page over13 – which – reflections on … which is sorted over this house is not a… home appears sorted under the later in $articles. In other words parent articles are not sorted over their children (while sorting of their childs is correct) and parent articles are in different order as in backend. My guess is I do experience a result what the docs warn for: But note that if the results have multiple parents, the resulting order isn't likely to be that useful. https://processwire.com/docs/selectors/#sort I think one way to work around this is to check each child of the ultimate parent "aktuell" for children and if they exist continue the loop. As this would require heavy changes to my templates my question is: Is there another way to pull out all parent and children of "aktuell" in correct order and one shot? Thanks for your help, Toni
  8. Dear @adrian sorry for noise. With some rubber duck debugging ... it was a typo. Shame on me ;(
  9. hi @adrian. mhhh yep this is what I did so there must be something else wrong 😕
  10. Hi, I have persons using template person. I have events linking to persons using a template event. By now on a person detail page I'm looking for events like: $page->references() and in my loop I'm checking if the item has template "event" {if $item->template == "event"} smarty 😉 Is it possible to do this in one step? ~ ->references('template=event') I must admit I do not really got the idea of $field. Thanks!
  11. super great! thanks a lot for your help @adrian!
  12. Hi all, I'm trying to get children of a page not matter if hidden or not. This is how I do: $media_tags = $pages->get("template=fundus-index,include=all")->children("sort=title"); The children I'm looking for name 'Video,Bilder,Audio, Text' (as screenshot attached shows). The moment I uncheck the 'hidden' attribute of let's say video it's showing in my search. Can one kindly shade light into what I am doing wrong with ->get() thanks!
  13. this can be closed (cannot find a close button 😕 time to shut down the computer.)
×
×
  • Create New...