Forum Activity for @dobmat

alt=
@dobmat
07/23/14 07:32:57AM
93 posts

Customize Register Page


Installation and Configuration

That worked. I want to display some of those custom registration fields in module items that the user creates. But I can't see those fields in any arrays that I can use in item_detail template. For admin those fields are present in the $item array. But for non-admin users its not there. Please suggest how I can retrieve those fields.

Thanks.
alt=
@dobmat
07/18/14 08:32:20AM
93 posts

jrFile module not working


Installation and Configuration

Hi

I had purchased jrFile module and installed it. When I tried to create a file upload I got page not found. Then the file module tab is gone and doesn't appear even after disabling/deleting and reinstalling from Jamroom ACP. I tried it on two separate Jamroom installations and in both cases same thing is happening. Please let me know if I'm missing something here.

Thanks.
updated by @dobmat: 08/21/14 11:13:13PM
alt=
@dobmat
07/16/14 07:45:56AM
93 posts

Validate form fields in custom form


Jamroom Developers

brian:
There is no core checktype support for phone numbers, but for email you can do:

if (!jrCore_checktype($email, 'email')) {
    echo "not a valid email address!";
}

Hope this helps!

Thanks. But this is inside the create_save function, I want within in the form itself to validate the field. For example when defining the phone number field is it possible to write a 'validate' => 'numbers only' something like this?

Thanks.
alt=
@dobmat
07/13/14 04:50:08PM
93 posts

can't delete the items of my custom module


Jamroom Developers

I will check that. Also I can update the item, but just can't delete it.

Thanks.
updated by @dobmat: 07/13/14 04:50:45PM
alt=
@dobmat
07/11/14 07:18:15AM
93 posts

Text description beside image in a item of a module


Jamroom Developers

Hi

I want to put a test description beside the image in an module item. In the item detail template I can see the " jrCore_module_function function="jrImage_display" ". Is there something similar that I can for get text on the left side and the image of the right.

Thanks.
updated by @dobmat: 08/12/14 09:42:03PM
alt=
@dobmat
07/10/14 08:22:48AM
93 posts

Customize Register Page


Installation and Configuration

Hi

It is active. It shows up when there is a user logged in and if I type the URL .../jamroom/user/signup. If no user has logged in and if I click on create account link custom fields soesn't show up.

Thanks.
alt=
@dobmat
07/10/14 08:16:37AM
93 posts

can't upload several file formats


Installation and Configuration

Hi

How do I define the allowed file types. I tried this and it still gives same error.

$_tmp = array(
'name' => 'artists_docs',
'label' => 'artist docs',
'help' => 'upload documents for artist',
'text' => 'upload documents',
'type' => 'file',
'options' => 'txt,pdf,doc,xls',
'multiple' => true,
'required' => false
);
jrCore_form_field_create($_tmp);

Thanks.
alt=
@dobmat
07/10/14 04:28:58AM
93 posts

Validate form fields in custom form


Jamroom Developers

Hi

How can I validate that data entered in the form fields is a email address or phone number?

Thanks.
updated by @dobmat: 08/16/14 12:41:27PM
alt=
@dobmat
07/10/14 03:37:44AM
93 posts

can't upload several file formats


Installation and Configuration

I didn't understand it clearly. Do you mean that I need to have jrFile module to have other file types to be allowed for upload. The form is from a custom module that I created. can I use the file types defined in jrFile module in my custom module.

Or do you mean that I can define file types to be uploaded in my custom module form without needing the jrFile module. In this case can you please provide an example. like is there any other fields that can be used to define file types like I can define the type of field as 'type' => 'file',. is there any option like this?

Thanks.
  2