-
Posts
710 -
Joined
-
Last visited
-
Days Won
2
Everything posted by alexm
-
?? ignore me!!! I was using a relative path.
-
Hmm, when I'm using an absolute URL for the open graph image, when you share the link in WhatsApp it doesn't seem to render the preview for me. I'm not sure if this is because it doesn't add the width and height properties or what the issue is. Has anyone experienced a similar issue?
-
I've got a case where I need to set the opengraph URL to that of another on a particular page via api, but I don't believe this can be done? Any input would be greatly appreciated.
-
Looking at the module code for InputfieldDatetimeSelect yearFrom and yearTo are set like so: 'yearFrom' => $year - 100, 'yearTo' => $year + 20, I wonder if there is an easy undocumented way to change this so it's dynamic from the datetime field settings page itself. Like you can with the jQuery UI datetime picker type?
-
@virtualgadjo you too sir!
-
@virtualgadjo Yeah, route 1 is definitely the lines I was thinking down too! Only matching values from the posted result to values stored on the relevant results page that has the same or most matching values. Thank you for your time and for sharing your thoughts ?
-
@virtualgadjo Thanks for replying! ? Sorry, I might not have been very clear. This is exactly how I mean. So the user selects yes or no to each question, hits submit, then show the most relevant result/success page based on their selection. I'm wondering what is the best way people think is to go about this?
-
I'm looking to set up a Form (using FormBuilder) with questions that are simple yes or no choices using radio select. Based on the combination of answers given, different results pages would need to be shown. I'm wondering what the best way to go about this might be. I was thinking perhaps on each results page you could have checkboxes of the questions that need to match yes or no, then use a selector to match the page(s) with the most matches. Any other ideas are welcomed and most appreciated ?
-
@teppo yes, that's the exact issue. Thank you for pointing me to that - I'm not alone, haha.
-
Is anyone experiencing an issue creating a field using FieldtypeFile? I'm getting the following error: Fatal Error: Uncaught Error: Call to a member function get() on null in wire/modules/Fieldtype/FieldtypeFile/config.php:60 PW Version 3.0.170
-
@kongondo This is looking phenomenal. Amazing work. I would gladly get involved in the Alpha release if possible, with great pleasure!! This is most exciting. Made my morning! Haha.
-
[SOLVED] Selector - single quote/apostrophe breaking returning no results
alexm replied to alexm's topic in General Support
@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! ? -
[SOLVED] Selector - single quote/apostrophe breaking returning no results
alexm replied to alexm's topic in General Support
Hey @teppo! Thanks for your input. Yeah, I've tried that also. No joy. -
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.
-
@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.
-
@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.
-
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
-
[SOLVED] Sort search results by most matching page field options
alexm replied to alexm's topic in General Support
@MoritzLost IGNORE ME... Jeeeez. I'm having a meltdown today. Heavy weekend ? Thank you, thank you, thank you! -
[SOLVED] Sort search results by most matching page field options
alexm replied to alexm's topic in General Support
@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? -
[SOLVED] Sort search results by most matching page field options
alexm replied to alexm's topic in General Support
@MoritzLost cheers!! I did this and forgot to reverse like a sausage!! Thanks again ? -
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.
-
Ignore that. It's because I was pasting in the full URL including domain and scheme in my haste.
-
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
-
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 ?