ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

File field pairs won’t parse

January 19, 2013 7:03pm

Subscribe [1]
  • #1 / Jan 19, 2013 7:03pm

    timj

    80 posts

    v2.5.5, Build Date: 20121220

    In a blank template, using the Channels Entries Module:

    A single field declaration {img} works.

    If I try this…

    {exp:channel:entries channel="images"}
     {img}
      This file is a {extension} and was uploaded on {upload_date format="%Y %m %d"}
             <a href="http://{url}">View it now</a>
     {/img}
    {/exp:channel:entries}

    ...nothing appears inside the tag pairs. Nothing.

    If I call {img} in isolation, I get the URL of the file.

    If I pair them, as per http://ellislab.com/expressionengine/user-guide/modules/channel/custom_fields.html#file-field , nothing parses. Wrap parameter doesn’t work. Image manipulation parameter doesn’t work. Nothing will appear inside the tag pairs.

    Different channels, same thing.

    In debugging mode, I am told: “Unable to find parse type for custom field”

    Running Playa and Matrix, latest versions.

    I am stumped.

  • #2 / Jan 21, 2013 10:32pm

    timj

    80 posts

    ***SOLVED***

    For some reason, don’t know why, File field was disabled. Enabled, problem gone. Soldier on….

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases