Search the Community
Showing results for tags 'profields table'.
-
I'm having and always have a hard time building PaginatedArrays, I never know where to put the "limit=24" selector so please enlighten me. Here's what I'm doing… $categories = $page->protable('start=0, limit=999999'); // this I need in order to retrieve the pages's "categories" and I don't...
- 1 reply
-
- profields table
- pagination
-
(and 1 more)
Tagged with:
-
so I have a Profields Table on a sibling's page, trying to access it from its sibling's page (DUH!) which is $page now, cause that's where I am right now. I do $toc = $page->siblings("template=tableofcontents")->tableofcontents_table; $toc->render(); or $toc = $page->sibl...
-
textformatters=TextformatterEntities in my field settings cause problems when moving data around (exporting, importing). I can't get rid of the entities in my code and so I have troubles filtering and selecting the content (I tried $sanitizer->unentities, actually need to apply that twice for it to...
-
I have a profield table and one of its fields is called category. I want to use the values of this field and created a unique array which I use for the options-filter. $rows = $pages->get('path/to/parent/page')->protable; $categories = new WireArray; foreach ($rows as $r) : if ($r->cate...
-
Inside the ProFields Table I have one column of type "select" for which I entered several options to choose from. How can I return these options? I mean loop through them to build my markup.
-
Searching a ProFields Table from within ready.php hook code
JayGee posted a topic in API & Templates
I've created a simple sports league fixture generator in a template called 'League'. Teams are added as page references then a fixture list is created as a ProFields table by hooking page save to add new rows to the table. The bit I need help with is that I'm trying to check a fixture doesn't a... -
OK, after three days of banging my head against this, I turn to the forums. I am attempting to apply what would seem to be a rather straightforward filter to a set of results, but am tripping over... something (suspect it's because I continue to have difficulty wrapping my brain around the operati...