Jump to content

Search the Community

Showing results for tags 'subfield'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hello, everybody! I've been experimenting with manipulating files through the API recently and I cannot get my selectors to work with Files. I read about subfield selectors but I cannot get the following code to work: $myFile = $page->get("basic_page_file.name=6121970044ELEPHPANT.jpg"); // field basic_page_file is of type "Files". if (!$myFile) echo "Nothing was found"; // does not get displayed echo "File name is " . $myFile->name . "<br />"; // nothing is displayed for '$myFile->name' Actually, neither error nor the name of the file get displayed. So, I am curious as to what the correct way to use subfield selectors with Files is?
×
×
  • Create New...