How to make the system duplicate a page when a new user registers - joomla

My idea is to have a sample page, when a user registers he will fill that sample, but I will create that sample just one time, and I want Joomla to create a copy of that empty sample with different URL each time a new user registers.
I'm thinking if there is any macro extension for joomla that can do that, do you know any?
Without that, I needed to create a sample or duplicate it myself each time a user registers and that's crazy!
Do you know any extension to duplicate the page each time the user registers?
There is any way that I can manipulate the system to do that?

I'm not sure, but I think you might be looking for something like Jomsocial. At registration, the user fills in information about themselves, which is then made available on their profile page.
Here is an example of the information that can be showed on their profile page http://www.jomsocial.com/community/101675-thanh/profile.html
Another extension similar to that would be Community builder. EDIT: Here is some more information on the registration and profile https://www.joomlapolis.com/community-builder#vtabs27
If I have misunderstood, can you write more about what your sample page is trying to do? Thanks.

Related

How to link an upload button to a download button on another page in Wix website builder?

I need to link a document uploaded by a member.
Which is by using an upload button to a download button on another page in Wix website builder.
I don't have any issue with programming it, but I would prefer not to if possible.
Depending on exactly what you want, this could be doable without any code, or a minimal amount of code, and also using a database collection.
How you setup your collections will depend on exactly what you want to do, but it sounds like you will at least need one field that references one of the Members collections and another field to hold you file.
On the upload page, add a dataset (either write-only or read-write depending on you setup) for the collection and connect the upload button to that collection. Depending on your setup, you might need to write a line or two of code or use filters on the dataset to upload the file with the correct member info associated with it.
On the download page, you do pretty much the same thing. Add a collection (read-only) and connect the button to it. Again, you might have to filter the collection or write a bit of code to make sure you're getting the file that is associated with the current member.

Moving captcha between a user registration and a user profile in joomla

I almost have finished setting up a website based on joomla 3.x but I'm not a programmer and I'm stuck on one point and don't know what to do.
I use a registration form in which I use a user registration and a user profile forms. I also have a captcha on but it's not at the very bottom of the page but between the forms.
Could anyone one of help me with it and tell how to change it?
I'm sure there's more than one way to do this, here's one option.
What you are wanting to do is create an override and customise the Joomla core output.
(1) Use the template manager to copy components > com_users > registration files from your base Joomla components directory to /templates/YOUR-TEMPLATE/html/com_users/registration
See https://docs.joomla.org/J3.x:How_to_use_the_Template_Manager for detailed instructions on this
(2) You'll be editing /templates/YOUR-TEMPLATE/html/com_users/registration/default.php, so maybe make a backup because you'll be doing well if you get this first time ;)
(3) Open default.php with your favourite text editor. It looks to me like the output you want to customise is all happening between lines 39-49
How you attack it from here is up to you. You can use web inspector to examine details about all the fields, their IDs and classes.
Instead of the built in loop in default.php you could manually rebuild the form, or you could keep the loop but add some logic to add the captcha control group where you want it.
Good luck!

How to add user-data in JOOMLA?

i wannt to build a website with user management. User should be able to loggin with different accounts, f.e. GMail, Facebook, .....
When the user is logged in he/she can upload pictures with geolocation data and some text.
All uploaded geolocations should be visualized on something like google-maps.
Unregisterd users can view the map, but can not change the data or upload anything.
To solve this requirement i decided to use JOOMLA 2.5. with the "plugin_googlemap_J25_J3x.v3.2" plugin.
Everything i know about JOOMLA is what i learned the last two days.So i am very new to it.
Currently i am stuck, because i do not know how to save the user-data (pictures with geolocation data and some text) in JOOMLA.
I asked google! For more than an hour now! Could not find anything, related to that topic!
So my concrete questions are:
I suppose it is not possible to extend the JOOMLA user data database with the user-data, or?
If this is not possible, than i need a second database which holds the user-data, or?
Does anyone knows a tutorial which solves this problem?
I found someting for wordpress "http://codecanyon.net/item/privatecontent-user-data-addon/2399731"
but i have to check if this solves my requirements.
Thanks
Try this,
First make a list of your requirement then go to JED(Joomla extension Directory). search for related extensions.
Here from your requirement ,
You need a Customized Joomla Registration form
Social Media logins
And so on, so check the details of requirement and extension available, In any way you may need some customization on the Application then you can create some plugins for Users events.
Hope it helps..

How to set field values in a 'create form' by using dialog?

Is there any way to update an activity entity's create form's fields by using a dialog without saving the entity first?
Let me explain.
The customer calls us and our represent opens a phone call activity. At this point it's on a 'create new' state.
Now, since we have freaking many contact informations and other things related to it in the system I have created a dialog to help user to find out the caller's informations. The dialog first asks the name who is calling. Then it asks about which building / apartment he is calling (it's part of our business model). Then it keeps asking things for a while.
Finally, the dialog has gathered all necessary information and is about the put the values into the form.
But here's the thing. I'm using an Update process within the dialog, but of course I can't update something that doesn't exists. So at the moment it works like we always have to save and give a title for the entity first. Then run the dialog.
It's a minor fault but it may be a problem if, for some reason, in the middle of a dialog, the process is cancelled. Then we would have an empty phone call there with some title. Besides one extra click is always one extra click.
I hope you understood my question.
Please feel free to asks.
Bye!
Like Greg, it seems to me that you are trying to capture information about the contact and the phone call at the same time, so starting by opening a new record may not be the most structured way to go about this. A couple of possibilities:
use a dialog but don't run it against a Contact necessarily. Maybe run it against a user. Use the first few pages to establish if this is an existing Contact and if not, create one from data captured, then create the phone call record against the selected or created Contact. You can run a dialog like this from a link on a dashboard for example, you don't need to navigate to users screen to do it.
Gareth Tucker has written several articles on his blog at http://gtcrm.wordpress.com about contact centre automation, including some interesting ideas (with free downloadable examples) about using JScript on the phone call form to capture contact details and create a linked Contact record on the fly
It sounds to me like the business process could be improved. Ideally your solution would be to change your dialog process so that it runs against the customer (contact?) entity, i.e. when your customer calls up, users find that record and run your dialog instead of creating a phone call activity then running the dialog.
That said, if I understand your question correctly, you are using the dialog perhaps to assist the user in finding the customer's details. Is this true? I don't understand how this would work so you may need to provide us with some extra information here.
If the underlying issue is that the user can't find the customer, it sounds like you need to provide more search fields for the user in the customer view...

How to get data out of entity in script in CRM 2011

I have 2 entities (for this example) in CRM 2011 - Account and Case. The Account holds all of our clients, the case holds individual work actions for an account. When a case is created one of the input fields is the Account.
What I would like to do is upon the user selecting the Account, execute some javascript to look up the account entity to display some additional information.
So far I have got the javascript working that triggers the onchange event of the Account field, and it correctly gets the selected Account, but I don't know what the next step is.
I'm new to CRM so don't really know if what I'm asking is actually sensible, if there is a better way then please let me know.
Thanks!
For the record, the way you were thinking about doing things would be completely supported, and TechHike's method is supported in CRM 4, not CRM 2011. Steps you would take:
Use CRM 2011's web resources to upload a script file that does what you want.
Use the form editor to make your javascript method from step one fire when the Account field changes on the form
Make a request to CRM's REST endpoint (http://msdn.microsoft.com/en-us/library/gg334767.aspx) to retrieve the details of the account selected
Use the results to populate fields on the form, show a popup with details, etc.
There are plenty of examples of caling the REST endpoint from JavaScript in the SDK (http://msdn.microsoft.com/en-us/library/gg309408.aspx). Good luck!
Matt's post above contains everything you need to know, but you might also find the blog post below useful. It basically describes the same scenario where you have a 1:n relationship (such as Case and Account) and details how you can pull information from a specified lookup (e.g. account), using the REST endpoint (as Matt has already mentioned) and display it on the form.
http://community.dynamics.com/product/crm/crmtechnical/b/crminthefield/archive/2011/02/07/showing-related-information-in-a-crm-2011-form.aspx
The blog post includes a link to download a CRM2011 solution already built to give you something to look at how they've achieved this (useful if you're new to CRM2011).
There are two ways to do this, and you may be best to do them both in parallel:
on the Account > Case relationship edit the Mappings. When a user goes to an Account and uses the left navigation to look at Cases (or a grid of Cases on the form) then hits "Add New Case" they are creating a Case from inside the "context" of the Account. You can copy any fields you want to from the Account to the Case record at this point - the Mappings define what field from the Account are copied to which target field on the Case. This will always be the most robust, easiest way to do it but relies on the user starting in the right place.
on the Case for you could also add an onChange script to the Parent Customer lookup to fetch the data from the parent record. I think Stephen's link is probably the best way to do this as it does not copy the fields but allows the user to see them anyway, which is better database design (from a purist standpoint) and means the user always sees current info about the Account rather than possibly out of date stuff. Alternatively if you actually need to copy some fields (maybe the customer's normal SLA say) so that you can use these in other such as scripts or workflows on the Case then have a look at this article: Disabling the selection of contacts for opportunities all the way
Although this is about a slightly different topic, the script there fetches the Account details of the parent Contact - you want to fetch values from a parent (llokup) field so the approach is the same, just different in the detail
There are various ways to do this but I would recommend doing it the supported way, without javascript. This may not be as pretty but it is likely much easier. The scenario would be to add a left navigation link to the case entity that when clicked will update the content area to show the details of the account.
To add a link to the left navigation you will need to configure the isv.config file to have an extra link for the case entity.
Here's an example:
http://support.sfusion.com/kb/hosted-microsoft-crm-4/how-do-i-modify-the-isv-config-file-in-microsoft-crm-4/
You can also lookup isv.config customizations in the SDK, found here:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=82e632a7-faf9-41e0-8ec1-a2662aae9dfb&displaylang=en
Next you will need to create a custom aspx page in the ISV folder of the web server. This page will display all the information about the account that you want to show the user when the left navigation link is clicked. The ISV.config as an xml property that allows you to pass all the context params to your page on the querystring. Make sure when you create the link to turn on this attribute.
Now the only tricky part is that in the page you will need to use the CRM web service to display all the account details that you interested in showing the user. I won't do into details on this. You can find great tutorials on the web or in the SDK if you haven't done this before.

Resources