Jump to content

alexmercenary

Members
  • Content Count

    358
  • Joined

  • Last visited

  • Days Won

    1

alexmercenary last won the day on October 21

alexmercenary had the most liked content!

Community Reputation

109 Excellent

About alexmercenary

  • Rank
    Sr. Member
  • Birthday 04/12/1988

Contact Methods

  • Website URL
    https://www.digitalriot.co.uk

Profile Information

  • Gender
    Male
  • Location
    Warwickshire, UK

Recent Profile Visitors

2,680 profile views
  1. @teppo and that's done it!! Thank you. Weirdly when I tested the output of $page->getUnformatted('title') earlier with an echo I got no output, but now I am. Thank you again for your help, time, expertise and all. Being the weekend too! 🍻
  2. Hey @teppo! Thanks for your input. Yeah, I've tried that also. No joy.
  3. I'm having a bit of a problem with a selector: pages()->get("template=blog-post,blog_categories.title=$page->title,sort=-publish_from,images>0"); The selector works for all pages however this page's title is Women's Team and the category page title is also Women's Team. If I change the selector to: pages()->get("template=blog-post,blog_categories.title=Women's Team,sort=-publish_from,images>0"); It works as expected. Is this expected with apostrophes? I thought apostrophes were acceptable in selector string queries? Thanks in advance.
  4. @ryan Well thank you again for all your efforts. It really is a massively useful feature! I still feel like it's worth a bit extra.
  5. @ryan Are you going to put a donate button up for that so people can tip you for your time?!! I'd be happy to pay something extra towards this on top of FormBuilder. I'm certain many others would too.
  6. getImages is pulling in videos as well as images. To check this, I've output the item type in loop and the videos items are showing as images. I'm running latest version of PW and InstagramBasicDisplayAPI v 1.4.2
  7. @MoritzLost IGNORE ME... Jeeeez. I'm having a meltdown today. Heavy weekend 🤣 Thank you, thank you, thank you!
  8. @MoritzLost sorry, no, this hasn't quite achieved what I want actually. I don't want to list the page that has the most checked pages in a given page field, but a page that has the most matched checked pages based on a search parameter. e.g. if I search select (in a multi-select field) Option 1, Option 2 & Option 3 then the page with 4 selected options would show first then the next page that has the most matched checked pages. Does that make sense?
  9. @MoritzLost cheers!! I did this and forgot to reverse like a sausage!! Thanks again 🙂
  10. Brains working at snails pace today... Is there a simple way of sorting results from a search by the pages with the most options in a page field multi select. e.g. you have a page field with Option 1, Option 2, Option 3 and Option 4. One page has all 4 selected, another 2 and another 1. I'd like to sort the search by the page with the most matching selected options first.
  11. Ignore that. It's because I was pasting in the full URL including domain and scheme in my haste.
  12. Is anyone else noticing that when they add a redirect URL under Settings on a page an error is thrown: Call to a member function get() on null in /ProcessPageEdit/ProcessPageEdit.module:1616 PW v 3.0.161
  13. Did anyone figure out the issue with error: Raw data option with CURL not supported for PATCH I'm having the same issue, and digging around can't see where the issue is... Any help would be greatly appreciated. UPDATE: Thought I'd sorted it but it turns out I haven't. I've added a log to output the parameter to make sure that data is set and not empty and it appears to be correct: {"email_address":"someemail@here.com"} yet I'm getting the PATCH error. Hoping someone has figured this out 🙏
  14. Hi all, I have the following in my htaccess file: RewriteCond %{HTTP_HOST} !^www\.buydomain\.uk RewriteRule ^(.*)$ http://www.buydomain.uk$1 [R=301,L] which forwards all domains pointing to this location to buydomain.uk which is working fine. .htaccess is by no means my strong point so was wondering whether anyone knew how I could pass the redirecting domain to buydomain.uk as a parameter. e.g. going to example.com would then redirect to https://www.buydomain.uk/?url=example.com Any help with this would be greatly appreciated.
  15. Just a thought that would be useful in certain scenarios. Is there a hook or anything that could be used to stop the cookie management banner displaying on a given template?
×
×
  • Create New...