Search the Community
Showing results for tags 'selecor'.
-
I noticed something strange, with a selector I cannot explain why this happens. $item_number = ' '; $p = wire('pages')->get('template=product, item_number=' . $item_number); echo $p->title; The code above finds a page with an item_number set to the value of "50032". There is no space (had a lo...
-
Hi Everyone, I wish to display a gallery of images from multiple pages on the site. These images have custom fields created through page reference called 'furniture_list_type'. Each image now has a radio button which has been selected. In the example code below all images appear from th...
- 2 replies
-
- images
- custom fields
-
(and 2 more)
Tagged with:
-
Hi there, I have a bit of trouble on filtering correctly some event pages by some selectors... I do have the following 2 date fields: - start date (fieldname = date) - end date (fieldname = enddate) Some events are a single day event (only start date) - some are a multi day event (e...
-
ProcessWire added the numReferences property in 3.0.107, which returns the count of all pages having a reference to the page object. However, apparently it's not possible to use this property inside a selector. I'm trying to find all pages that are referenced at least once: $pages->find('templat...
-
Hi Guys, i've got a page reference field "mh_lstg" with a specific selector in it: template=lstg_mainTmpl|mh_mainTmpl,mh_bautraeger.id=mh_bautraeger.id This will give me no results. If i set the "=mh_bautraeger.id"-part to "=1070", i'll get the result as expected. The "mh_bautraeger" is al...