Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

How to add a Detail Link to view User's Details
Last Post 05-01-2008 02:16 PM by vr1001 vr1001. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
vr1001 vr1001User is Offline
river guide
river guide
Posts:115
Avatar

--
05-01-2008 04:54 AM

    Hi Chad,

     I tried to use the Dynamic User Directory. I am able to view info for each user. But I can't figure out how to correctly add the "detail" link. When I placed the "Detail link" token, there was a huge string of characters in URL format appeared that made the page width increase to almost a mile wide. Then I dropped that idea.

    Can you point me to any help file / forum where I can place a link on Dynamic User Directory, (on clicking that) pass the data from the selected user in the directory to Dynamic Forms module, and how Dynamic Forms module can retrieve the record of the selected user (not the logged in user who is a non-admin user).

    I think you should add a feature to Dynamic Registration and Dynamic Forms that will allow designated users to view the DNN user data in a grid and make changes dynamically. While doing so, we can set view and edit permissions at a granular level (profile attribute level)

    Please think and suggest any solution! I simply need a facility to view and update the Users' custom profile fields that were created using Dynamic Registration module

    I am impressed with your wonderful helpful fast responses! Thanks a lot for all your help!!!

    Thanks again,
    Vijay

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    05-01-2008 08:07 AM

    Vijay,

    Hi. Sure, let me see if I can answer these questions...

    Q1: Well Dynamic User Directory does include the [UserDetailLink] parameter within the item template. This parameter simply generates the full URL for the detailed profile view. Its important to note though that this is just a static full http URL and not already an actual hyperlink etc... We designed the module this way so that you could implement it in any way you might want. For example you might want to create an image and link it to this detailed link. You might want to make a hyperlink with the text 'View Details' while on another implementation make the text 'Details' for the link etc... This method allows you to do this. Just consider the [UserDetailLink] an actual web address. IF you wanted to include a hyperlink in a text / html module you would simply create a hyperlink with text that says 'Go to this Site', then you would click on the chain icon and you would enter the website url. You need to do these same steps but just enter the token instead of the website.

    Please review this screenshot on setting up a user detail hyperlink within Dynamic User Directory.


    Q2: Similar to creating hyperlinks or URLS on Q1 you would need to first make a hyperlink going to your form page. So create a hyperlink with the text 'Pass this to the form page' that navigates to your form page. Next, determine what field data you want to pass and where it should go on Dynamic Forms. Lets assume for this example that you want to pass the users first name and last name. On the Dynamic Forms page you need to setup a form with fields for First Name and Last Name and also make note of the short field name. Lets assume that the short field name you specify is 'FName' and 'LName'. Next, go into advanced field settings and choose to 'Retrieve value for this field from querystring variable'. What this means is that if you navigate to the page and pass the variable FName or LName within the querystring it will pick these properties up when rendering the form.

    So an example of this would be: www.yoursite.com/default.aspx?FNAme=Chad&LName=Nash

    So you should first test this on your form, make sure that passing these variables on the form then renders properly within the form. You should note that there should always be one ? to start passing parameters in the URL, and after that each parameter should be &.

    For example ?FName=Chad&LName=Nash&Phone=5551234 etc....

    Next, you need to go to Dynamic User Directory where you were setting up the hyperlink to the form. Add parameters onto the URL but instead of adding static test such as 'Chad' or 'Nash' you need to add the tokens available to you within the item template. For example (lets assume that your form is on TabID 555):

    www.yoursite.com/default.aspx?TabID=555&FName=[FirstName]&LName=[LastName]

    So... Worst case scenario is that you will have to study how to create hyperlinks in HTML if you need to do some advanced settings. You should just be able to use the Rich Text Editor and setup the URL there though. Once you have the concept down you can pass as many field values as you want from the Dynamic User Directory module to Dynamic Forms.

    Q3 (making headway aren't we ): Are you referring to the visibility of if a profile property should be visible or actually just allow them to make changes to their profile quickly in a grid? We have reviewed 'quick grid edit' in the past but there are major concerns with data integrity while doing this.  If you are referring to letting them specify if their profile field should be visible or not you should review this forum thread on specifying the visibility for user profile properties using Dynamic Registration.



    -Chad

    vr1001 vr1001User is Offline
    river guide
    river guide
    Posts:115
    Avatar

    --
    05-01-2008 02:16 PM
    Hi Chad,

    Great!

    I implemented the first step. It is working! I am now able to click a link on the Dynamic User Directory and go to a detail page. I am sure, I should be able to pass parameters to Dynamic Forms also.

    I need help with the following please:
    I want to pass on the "UserID" or "Username" to the Dynamic Form as the URL parameter and retrieve the whole or part of the User Profile information of the user with that UserID (NOT the user profile of the user who logged in and opened the Form now].

    So, I want to create the following fields on the form:

    [UserID]: hidden. This is set to receive URL parameter "UserID" from the Dynamic User Directory.

    The following are Text fields (READ ONLY; SQL driven: I want to retrieve the following values from the Users table that match DNN UserID = "UserID" - the one received via URL)

    First name [Fname]
    Last name [Lname]
    Email [Email]
    City [City]
    Region [Region]
    Validated [validated] (a custom profile attribute)

    There will be a check box or a drop down list where the user can check or select a value to trigger a SQL event (Form Submission event) that updates the "Validated" field (custom profile attribute) of the DNN user whose userID was passed via URL.

    Q1:Would you please let me know the SQL to retrieve the user record using the UserID and fill the READ-ONLY text boxes?

    Q2: Would you please let me know the SQL to update the "Validated" field (profile attribute) of the user whose userID is retrieved from the URL?
    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi