Search the Community
Showing results for tags '$pages'.
-
Hello, i need to sort $pages by the first letter an show on the page like A - Aname Page - Aname Page - Aname Page - Aname Page B - Bname Page - Bname Page - Bname Page - Bname Page How can i check which is the first letter from the page.title ?? Tn...
-
Hi there, I'm trying to implement a hidden stats page to store various counters and I'm using this article as a basis for my PHP Code I've created a stats page based on a stats template, and the page is set to unpublished with no other attributes. What have I overlooked if the foll...
-
Hi all, I'm building a "news" type site and creating a "related articles" list on article pages. That's easy enough with tags/categories fields I've setup but I'd like to exclude any articles from the list that have already been viewed by the user that session. I can of course store the page ID...
-
$page->children("sort.... from smallest to greatest number
Matte85 posted a topic in General Support
Hi, I have encountered the following problem in the otherwise magnificent CMS ProcessWire: I'm sorting pages according to: "$page->children("sort=...". This is principally working fine, but the problem occurs when values like the following are returned: "10,4m3; 10m3; 8m3...". ProcessWire interp... -
I am looking to display Scorecards on a rider_profile.php page. I am using a event_results.php page that has a pagetable field that generated the scorecards. The settings of the pagetable field has the pages being created under a page called scorecards. There are going to be multiple cards thro...
-
Hello, I am following the Basic Website Tutorial http://wiki.processwire.com/index.php/Basic_Website_Tutorial After creating the site settings page and uploading an image to the header_banner img field, the tutorial says to include the path of the image file like so: I changed it to this:...