Forum Activity for @michael

michael
@michael
05/02/14 03:20:15AM
7,832 posts

Upload files on item detail page for module


Jamroom Developers

dobmat:... Is it possible that I create a form from an upload button in item detail page and upload multiple files. Then when it redirects back to the item detail page, will I have all the files uploaded to display on that page.

Sorry I don't understand what you are asking.
michael
@michael
05/02/14 02:08:26AM
7,832 posts

Pending Item Notification


Using Jamroom

Here is a video on how to create a module to do what you want:
step-by-step: Watch me create a module to notify admins about new items

--edit--
attached is the source code.
xxNotify.zip - 4KB

updated by @michael: 05/02/14 02:09:09AM
michael
@michael
05/02/14 02:05:06AM
7,832 posts

jrFile not accepting jpg


Using Jamroom

First thought is agressive caching by Chrome. Try firefox.

Try:
* run the integrity check
* clear the caches.

Clear the browser cache ctrl+F5
michael
@michael
05/02/14 12:32:43AM
7,832 posts

custom.css


Suggestions

If you want to skip the re-upload all together, put it in its own custom module.
ilCustom

Then do all your customizations to that and it will always be there.

Do you use GIT? This is a one way to merge changes:
"Tip: a method for comparing file changes when updates come in from the marketplace"
http://www.jamroom.net/the-jamroom-network/documentation/development/1586/tip-a-method-for-comparing-file-changes-when-updates-come-from-the-marketplace

Glad you've got a system that works.
michael
@michael
05/02/14 12:27:35AM
7,832 posts

form fields not holding values


Using Jamroom

I haven't seen it before, but will keep an eye out for it from now on.

One thing to check is that the form fields are set to "active = YES" in both the Form Designer CREATE screen and the Form Designer UPDATE screen.

eg:
site.com/file/form_designer/m=jrFile/v=create
site.com/file/form_designer/m=jrFile/v=update

When I created a checkbox to see if it stayed set, it was active on the screen i created it on, but not active on the update screen for items that already existed. Needed to go turn it on.

So if the meaning is "The form field was there when i created the listing, but not there when i went to update the listing" that could be the reason.
michael
@michael
05/02/14 12:19:44AM
7,832 posts

jrFile not accepting jpg


Using Jamroom

Just tried here, and did not run into any issues.

Steps:
* add jpg to the "Allowed file types" (site.com/file/admin/quota/id=1) for all quotas.
* go to a profile who's allowed to upload file types: (site.com/admin/file) click create.
- title: "A jpg image file"
- File: house.jpg
* click CREATE

The file is created as expected.

EXPECTED BEHAVIOUR:
When i click on the download button next to the file item, it downloads

ACTUAL BEHAVIOUR:
Same as expected.
michael
@michael
05/02/14 12:11:00AM
7,832 posts

custom.css


Suggestions

Yes the bottom. Put the full path to the CSS file

<link rel="stylesheet" type="text/css" href="{$jamroom_url}/skins/MY-SKIN/css/custom.css" />

Think that should work. Wondering now if its still going to be there after an update.... not sure. If thats the case, might need to put it somewhere that never changes.
michael
@michael
05/01/14 11:20:12PM
7,832 posts

custom.css


Suggestions

You could do that by over-riding meta.tpl and adding in your custom skin CSS to directly as the last .css file in the header.

That way you would always know that your custom.css file has the last say.

Its a good idea.
michael
@michael
05/01/14 11:16:54PM
7,832 posts

jrMailer Module Error


Jamroom Developers

Nice one. Do you know you can keep the system up to date without downloading any modules.

There is a one-click updater built into Jamroom5.

Take a look at this video:

"Keeping Jamroom up-to-date"
Keeping Jamroom Up-to-date
michael
@michael
05/01/14 11:15:06PM
7,832 posts

form fields not holding values


Using Jamroom

Without a way to setup some tests to see it working, its real hard to try to test anything to see if that change might fix it.

Right now all I have to go on is "someone told me that sometimes some fields disappear in the forms."

Its not a lot. Not sure how to begin to help other than keeping an eye out for it in case I see it happening.

Ill see if i can recreate the checkbox un-checking itself.
  701