Create a module using Aparna

alt=
@dim
9 years ago
167 posts
Hi guys,
Can I create a module using Aparna, so other users can be able to create items in any user profile?
How can i do this?
updated by @dim: 02/24/16 07:10:02PM
alt=
@dim
9 years ago
167 posts
I just want to make new module of gifts to users.
For example, each user will be able to make a gift to a friend as a gift-image.
alt=
@dim
9 years ago
167 posts
I tried to create a new module by the Aparna, but the Profile may be able to add items yourself in it.
michael
@michael
9 years ago
7,714 posts
This is about the most detailed HowTo on creating a module with aparna that we have:

"HowTo: Form Designer + Aparna = Custom Page Module with RSS feed"
https://www.jamroom.net/the-jamroom-network/documentation/howto/2463/howto-form-designer-aparna-custom-page-module-with-rss-feed
paul
@paul
9 years ago
4,326 posts
dim:
I tried to create a new module by the Aparna, but the Profile may be able to add items yourself in it.

This is one of the basic principles of Jamroom. When a profile creates something, they 'own' it, so its not really possible for a user to create something that belongs to another user.
What you would need to do is create a 'gift' module with Aparna then add a custom field (use the Form Designer maybe) so that the recipient of the gift can be named. You would then need to add a tool so that recipients could be notified and view their gifts.

Some coding would be required!!


--
Paul Asher - JR Developer and System Import Specialist
alt=
@dim
9 years ago
167 posts
@paul,
Is there a similar module in the Marketplace? I could alter it for my purposes. Or maybe are you planning to create a similar module?
michael
@michael
9 years ago
7,714 posts
if its a free module (MPL license) you are free to alter it and redistribute your altered module.
If it is a paid module (JCL license) you can alter it for your own purposes but not release or distribute that module.
paul
@paul
9 years ago
4,326 posts
dim:
@paul,
Is there a similar module in the Marketplace? I could alter it for my purposes. Or maybe are you planning to create a similar module?

Suggestion - Use Aparna to create your xxGift module, then the Form Designer to add the 'gift image' field to the create and update forms.
Then install the new Invite module (currently free in the beta channel) to 'send' the gift to its recipient(s).


--
Paul Asher - JR Developer and System Import Specialist
alt=
@dim
9 years ago
167 posts
@paul,

I can not find the "Invite module" in the Marketplace...
I'm using the jrCore 5.2.41. Jamroom beta channel I activated.
paul
@paul
9 years ago
4,326 posts
If your beta channel is activated it should be there (I see on my sites).
Do a search for 'Invitations'.


--
Paul Asher - JR Developer and System Import Specialist
alt=
@dim
9 years ago
167 posts
@paul,
I found the module. I think it's not a very good solution, unfortunately.
paul
@paul
9 years ago
4,326 posts
dim:
@paul,
I found the module. I think it's not a very good solution, unfortunately.

OK - Try this then - Create the Gift module with Aparna and add a field with the recipient's name, then then create a page that shows gifts received by the logged in user with somthing like this in the template -

{jrCore_list module="xxGift" search="gift_recipient = `$_user.profile_name`}

(set parameters to suit your module names)


--
Paul Asher - JR Developer and System Import Specialist

Tags