This question may be related to a resolved thread.
I’m having almost this exact same issue, yet I’m inserting a {fieldir_X} tag directly inside a channel entries tag and it’s not parsing at all.
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
September 06, 2012 2:07pm
Subscribe [1]#1 / Sep 06, 2012 2:07pm
This question may be related to a resolved thread.
I’m having almost this exact same issue, yet I’m inserting a {fieldir_X} tag directly inside a channel entries tag and it’s not parsing at all.
#2 / Sep 07, 2012 5:07pm
Hi Adam,
I think that’s actually a different bug they were experiencing in that thread, and it’s since been fixed. (Speaking of, which version EE are you running here?)
Could you give us a quick code sample of what you’re trying which a screenshot of how it looks on the front-end?
#3 / Sep 07, 2012 8:24pm
This could be user error. I’m running EE 2.5.2 and I’m just trying to just output the https://ellislab.com/asset/images/team-photo/ tag directly in a channel entry loop to debug the output. i.e.
{exp:channel:entries site="tmo" status="open" limit="10" }
https://ellislab.com/asset/images/team-photo/
{/exp:channel:entries}Or will that tag only parse if it’s part of a custom tag with the file field type?
The real bug I was tracking down was actually an issue with the tag not being parsed inside Solspace’s Primary Category which has a {primary_category_image} tag which outputs the file for the category image. It was in trying to test that that I attempted to just dump out the {fieldir} tag in the CE loop.
http://www.solspace.com/forums/viewthread/13508/#55174
#4 / Sep 11, 2012 10:30am
Hey Adam,
Right. The fieldir_x variables aren’t parsed outside the context of a file field or perhaps a text/textarea that holds that value.
You might be interested in using the FIle Module to get that output?
#5 / Sep 11, 2012 11:07am
I figured it was probably my mistake. Actually, I was just trying to use it outside the file field context for debugging the issue I was noticing with Primary Category, so now that I know that’s a Primary Category bug I just need to wait for the fix. Thanks as always for the response.
#6 / Sep 12, 2012 9:45am
Hey Adam,
It’s my pleasure to be here for you.
If you need anything else, please let us know!
Cheers,