Forum Activity for @nate

nate
@nate
02/17/15 09:00:34PM
917 posts

Admin Tools Image Upload


Jamroom Developers

I see this is the form session, form fields column.
Quote: {"name":"advert_image","label":28,"help":29,"text":28,"type":"image","required":0,"module":"jrImage"}
No mention of validate. And I see this for other fields.
Quote: {"name":"advert_title_id","label":30,"help":31,"sublabel":171,"type":"live_search","target":"https:\/\/n8flex.com\/px_msone\/live_titles","validate":false,"form_designer":false,"required":0,"module":"jrCore"},

I've deleted in many times and it just comes back the same way.
updated by @nate: 02/17/15 09:05:45PM
nate
@nate
02/17/15 06:11:08AM
917 posts

PhpStorm


Off Topic

Just create a project from exiting files with jamroom as the root directory.
nate
@nate
02/16/15 06:37:47PM
917 posts

Admin Tools Image Upload


Jamroom Developers

In the admin tools section of my module there is an option to create an image. This image is optional. When I try to skip it, I get a validation error. I have it set to required false.

// Avert Image
$_tmp = array(
   'name'     => 'advert_image',
   'label'    => 28,
   'help'     => 29,
   'text'     => 28,
   'type'     => 'image',
   'required' => false
);
jrCore_form_field_create($_tmp);

Quote: {"notices":[{"type":"error","text":"You must upload an image file."}] }


updated by @nate: 04/03/15 02:35:09PM
nate
@nate
02/16/15 02:45:38PM
917 posts

Module Change Log


Suggestions

I'm only a year behind you now. lol
nate
@nate
02/16/15 02:01:09PM
917 posts

Module Change Log


Suggestions

I think a module change log file with version number tags might be helpful. It could include a text description and changed files.

You're probably doing this and I just haven't seen it yet. lol
updated by @nate: 03/18/15 08:28:50PM
nate
@nate
02/16/15 01:19:23PM
917 posts

Module Uploading Error


Jamroom Developers

I live, I learn. I'll rename the directory.
nate
@nate
02/16/15 12:56:03PM
917 posts

Module Uploading Error


Jamroom Developers

I never edited any of those files aside from removing the comments today. Also, I just switched to PhpStorm last Friday.
nate
@nate
02/16/15 12:06:05PM
917 posts

Module Uploading Error


Jamroom Developers

Removing the comments from every file in the Stripe class got it to pass inspection. That can't be the way it's suppose to work.




updated by @nate: 02/16/15 12:06:24PM
nate
@nate
02/16/15 11:02:22AM
917 posts

Module Uploading Error


Jamroom Developers

Also if these errors were also caught when creating the zip like they arwhen uploading it, could speed things up a bit.
  64