Jump to content

Andi

Members
  • Posts

    53
  • Joined

  • Last visited

Posts posted by Andi

  1. Sorry to bring up this issue once more, but I can't seem to find a proper way of implementing natural sorting for child pages in admin.

    I have a template for artists, and a template for paintings as child pages. The titles of paintings often contain serial numbers as in "Forest 1", "Forest 2" ... "Forest 104". So the default way of sorting paintings by title in the page tree doesn't work, as it renders as "Forest 1", "Forest 104", "Forest 2" etc.

    Is there a way of achieving this by hook or config option, that is paginateable and works for both front- and backend? Possibly without adding extra fields to the templates? It does seem to be fairly common use case but so far I've not managed to find a viable solution.. Also it's the first time that I didn't come across a "Oh well we do it this way in PW" within 3 minutes of research :)

    Any help would be greatly appreciated! Thanks in advance & good evening ya'll.

     

  2. Hey, first post here :)

    Getting a 500 Internal Server Error when installing (via URL from Github master) .. PW error log gives me a

    Quote

    Fatal Error: Class 'ProcessWire\MarkupPwpswpGallery' not found (line 19 of [...]processwire/site/modules/MarkupPwpswpGallery/MarkupPwpswpGalleryPetersburger.module)

    When I remove the template .module files from site/modules/MarkupPwpswpGallery the main module loads up just fine, and also renders the gallery. Have to set the template to basic though as Petersburger is the default ..

    Any ideas what could cause this?

    Great module, great CMS, great community btw :) Thanks in advance!!

×
×
  • Create New...