Link_to_item not showing image on index.php

In a theme I’m working on:


When I put this line in /items/browse.php, it puts a glyph in place of a video.
When I put it in index.php, it just puts the link and no glyph.

Any idea as to why? Or is there any way I can force the item to print the glyph?

You’re using the exact same code in both places? No changes in arguments or anything?

They should work the same anywhere, but both do depend on the “current item” by default, which could cause them to work differently (for example, the home page generally doesn’t have a “current item” set unless it’s been done manually).

That was my problem. I was trying to make a custom current item. Was looking in the world place, sorry.

This topic was automatically closed after 250 days. New replies are no longer allowed.