Jump to content

cjrobe

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by cjrobe

  1. Wow, that works incredibly well for this usage! You are very creative, I never would have thought to use a similar plugin for such usage. It even works flawlessly with a multi chosen page reference field. You can have multiple pages of exterior photos and the each page will successfully pop into the field. It even solves the problem of what happens when photos are removed - they are automatically removed from this select field, so if all photos of a skyscraper are removed, it successfully has a photo count of zero. Bravo.
  2. Hi all. I was wondering if there was a way to automatically set a variable inside a referenced page when you create a page that references it. For example, there might be one template for skyscrapers and another for photos. The database of all the skyscrapers in a city would already be created, and users could add photos with a field that references which skyscraper they photographed. Of course when you are viewing the skyscraper page, it is easy to have it pull the pages that reference it and display said photographs. But I would like for skyscrapers to have two boolean variables - interior photos and exterior photos. When a photo page is created that references a skyscraper and the select field is chosen as "interior", the boolean on the skyscraper page for "interior photos" is automatically updated to true. And of course the same for when a page is created where the select field is chosen as "exterior", the boolean for exterior photos" is updated to true. That way, on the front end, I can create an interface where a user can choose to either view all skyscrapers, only those with photos, only those with interior photos, or only those with exterior photos. Or if there an efficient way to avoid the booleans entirely and run page finds to show the skyscrapers as mentioned above, that might be even better. Thanks for your time.
  3. @Peter Knight @benbyf You need to install Robin S's version. Simply FTP Robin S's files into a subfolder in /site/modules, go to your modules dash and click install. Actions are still working properly in the latest PW with this version.
  4. Glad I read through this thread, Robin S's version works great! Thanks so much.
  5. Silly me - I hadn't yet realized that ProcessWire stores all attachments from a page in a folder with the page ID! I can then just export to CSV the IDs/Titles of all the pages and I'm sure there's some sort of batch rename tool that can handle that data easily. Sorry for misunderstanding and thanks again for your plugin.
  6. Thank you for the plugin, it works great! Is there any way to have it so that it allows you to put it in a custom folder? This would be great because then it will make a backup of my image directory a lot more organized. I tried /$page->title/{$page->title}-randstring[nn] But it removed my slashes in the final output so it was just $page->title-{$page->title}-randstring[nn] Thank you.
×
×
  • Create New...