custom module shows double 'blank' images?
Design and Skin Customization
Hola!
So, thanks to Michael, I've got my first Aparna cloned module working. The premise is a news article. Set up with some fields:
Title
Category
Content
Image
It's working as expected, I'm able to customize the item_detail.tpl easily enough, but I'm getting these two stock images showing up on the article. See the screen shot.
I figured that they are coming from here:
*************************************************
{foreach from=$item item="v" key="k"}
{if (substr($v,0,6)) == 'image/'}
{assign var="type" value=$k|substr:0:-5}
{jrCore_module_function function="jrImage_display" module="dnNews" type=$type item_id=$item._item_id size="large" alt=$item.news_title width=false height=false class="iloutline img_scale"}
{/if}
*************************************************
If I wanted to kill that code, and place the image myself, wouldn't something like this work:
{$item.news_articleImage01}
Obviously, it isn't...
Stumped,
~E
updated by @elric: 08/26/14 10:00:06PM