Jump to content

Marty Walker

  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by Marty Walker

  1. Here's a Sketch version if anyone needs it. https://smddropzone.s3-ap-southeast-2.amazonaws.com/logo_processwire.sketch
  2. I know everything is pretty locked down for this version (2.6) but I wonder if this could be a consideration for a future release. And that is: when adding a new template and using 'duplicate fields used by another template' there could be an option to also copy the field widths too.
  3. Not sure if you're aware of this module: https://processwire.com/talk/topic/3219-images-manager-beta/?hl=%20images%20%20manager
  4. Hey Antti, Is there a trick to getting PageTable to work with Fredi? A PageTable field will display but if I hit 'Add New' I don't get another window. I would really like to use PageTable instead of repeater fields. Edit: I've tried changing the z-index values in Fredi's modal.css but no go.
  5. Hi Adrian, I'm wondering if it's possible to use this with Form Builder - which I've set to automatically create pages from submissions. When I set up a rule to only look at the page template (of the page being created) and two image fields my FB form starts to give me server 500 errors. If I remove the rule my FB form starts working again. Cheers Marty
  6. There's a first time for everything.
  7. This is one way - I got this from someone in the forum (can't remember who, sorry). Create an integer field called 'views' and add it to your template along with this code in your template file. You can then add that field to visible in your page list: under the Advanced tab in your template. <?php if($user->isGuest()) { // Count page views only if guest $page->views += 1; $page->of(false); $page->save('views'); $page->of(true); } ?>
  8. Well it's been a while since I've been stuck on something and when I am it consistently appears to be with dates. I'm working on site for a cinema. Each movie has it's own page with a start and end-of-run date and a repeater field for session times. -- So that's all fine and well for the individual movie pages. BUT I'm struggling with request of theirs to group all the movie sessions under days. eg: Friday 27th: Birdman: 2pm 5pm 7pm Theory of Everything: 3pm 4pm 8pm etc If I try to output all the start dates I get multiple days (of course, because there are multiple movies on each day). So I'm trying to work out how to limit the output of the days to one instance and then list all the movies and session start times underneath that. No point showing any code because mine is ass-about. Thanks for any help
  9. I didn't want to drop you in it. It's only defeatist because I can conjure code to do what I want unless it's HTML or CSS
  10. I hear ya. I had a similar discussion recently about this: being able to populate/copy an image from other field (even from another page) but I don't think it's possible.
  11. Thanks. The MediaEmbed plugin does the trick.
  12. Hi Adrian, No, pasting straight into the editor. Hanna probably wouldn't be. I'm trying to avoid using it because it adds 50MB to my install. @Macrura: Thanks but that thread doesn't make sense to me but I'l have a crack at installing that plugin.
  13. Hello, I have a client that needs to be able to embed tweets into a ckeditor body field. I've turned ACF and HTML purifying to off. All I get is the embed code block wrapped in a <p>: <blockquote class="twitter-tweet" lang="en"><p>You can pursue photography for the pure enjoyment of it. No fine art photography ambitions necessary. You'll be ok.</p>— Bryan Formhals (@bryanformhals) <a href=" ">January 4, 2014</a></blockquote> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script> I've tried throwing jQuery to unwrap the blockquote from the <p> but no go either? How do I do it?
  14. Is there a reason for the inline styling that gets inserted for image captions (figure etc)? And how can I get rid of it?
  15. I'm working with a 2.5.22 install and I've exported a profile from it. When I try to use that profile on a new 2.5.22 installation I can't see my "site-profile" directory in the Site Installation Profile dropdown. Not sure if this a bug or I'm just being thick.
  16. Can you tell me how please? I've tried a few combinations of Github urls with no luck.
  17. If you're at all interested in photography (or the adverse affects of war) the Legacy of War by Giles Duley: https://www.kickstarter.com/projects/242077426/legacy-of-war
  18. @justb3a I think what @JoZ3 might mean is can this field be used to select an image from a multiple image field and use it on another page? For example (I think) he wants to use an image from a field on a product page on the home page but the image he wants is (fro example) the fifth one down in a field.
  19. In most cases I can convince a client that pooling images into a gallery is best done at the end of a page. But increasingly I'm getting requests to thread galleries into article copy. The times I've gone the hannacode route clients just roll their eyes with that "really?" look. And further looks of dread when I try to explain that 'image 1' is actually 'image 0'.
  20. Same problem here running PW locally under MAMP Pro.
  • Create New...