Forum Activity for @elric

elric
@elric
07/23/14 05:31:34PM
81 posts

custom module shows double 'blank' images?


Design and Skin Customization

Follow question:
jrImage_display: invalid size parameter

What is the max size, and how do I change the max size? Nothing in the documentation that I can find.

:-P
elric
@elric
07/23/14 05:28:37PM
81 posts

custom module shows double 'blank' images?


Design and Skin Customization

Thank you Michael. I didn't realize how closely Aparna cloned modules mimic other modules.

One change to the code you posted:

{jrCore_module_function function="jrImage_display" module="dnNews" type="news_image" item_id=$item._item_id size="40"}

just made the image_id pull the field dynamically.

TOO cool, man. Thanks again.
updated by @elric: 07/23/14 05:29:00PM
elric
@elric
07/23/14 04:53:34PM
81 posts

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

NewsBug.JPG.jpg NewsBug.JPG.jpg - 71KB

updated by @elric: 08/26/14 10:00:06PM
elric
@elric
07/22/14 09:30:42AM
81 posts

form designer/aparna


Design and Skin Customization

Brilliant! Thank you Michael. I was using the "jr" prefix. All good now.

Cheers,
~E
elric
@elric
07/21/14 06:06:39PM
81 posts

form designer/aparna


Design and Skin Customization

Hi, I created a new module using aparna, and can't seem to figure out how to use the form designer. I even went so far as to go to the form designer in another module just to copy the url and substitute the new module id:
/form_designer/m=jrNews/v=update

but get an error:

This form has not been setup properly to work with the custom form designer.

Sure I'm skipping something, but what?

/form_designer/m=jrNews/v=update
updated by @elric: 08/26/14 07:47:44PM
elric
@elric
03/20/14 02:13:55PM
81 posts

Error 500 on installation


Installation and Configuration

Man..the simplest answers. Seems something was happening to the files when I extracted them from the Zip. Thanks House!
elric
@elric
03/20/14 02:04:41PM
81 posts

Error 500 on installation


Installation and Configuration

Yeah, gonna try to FTP the extracted files. I'm an existing reseller customer on JBServers, so no install.php. Will try this upload first, if that doesn't work, a ticket with JB. DJ is always pretty awesome for tech support.
  8