User Profile Search
Is the Dynamic Dropdown is the best suited extension for the User Profile Search ?
How can I do that ? What criteria should I used in this portion ? Thanks ...
Is the Dynamic Dropdown is the best suited extension for the User Profile Search ?
How can I do that ? What criteria should I used in this portion ? Thanks ...
Data Assist would be best suited to creating the profile search page.
the simplest way to configure this is to run the data assist wizard and set it to create only the results and search pages.
Hi Jason,
I already created the result page and search page. and it's working properly it filters what is type in the textbox. Thanks :)
Now I want to view the profile of the user that I have search. To post some comments with their walls. How can I do that ?
Thank You =)
you would need to create a link to the detail page that passes the users ID through a querystring variable, you will get the user ID from the recordset on the apge:
<a href="usersDetails.php?id=<?php echo $recordsetName['UserID']; ?>">user detail</a>
on the detail page, create a recordset that filters the users table on the id quesrystring variable being passed.
this is referred to a master detail page set, see the following for more details:
WScbb6b82af5544594822510a94ae8d65-78b7a.html
Hi Jason,
So do you mean that the detail.php you are saying is the profile.php ? (I'm still confused. Can you elaborate well ?)
I already put the code you are saying.
but when I click the link, the information regarding with the profile.php doesn't change my account information is the result.
(but when I looked with the address bar the one i've search is correct: p_profile.php?id=8)
Thanks you for your support :)
yes, the detail page would be the page that shows a the profile.
how is the recorset on the profile page configured?
It sounds like it is set to filter using the logged in users session variable instead of the id querystring variable that is being passed through the link.
You got it Jason,
my profile.php is set to filter using the logged in users session variable. Hmm ? What should I do to fixed this issue ?
I'm so sorry for being a newbie :)
Thanks for your kindness,.
change it to use the "id" querystyring variable instead of the session variable.
Hi Jason,
I don't have any idea how to change it to querystring. This is the first time that I will use the
querystring. Can you teach me how ?
Thanks,
when you double click the recordset, make sure to change it to Advanced view.
in the variables section, click the edit button for the variable that is using the session and change the run time value to:
$_GET['id']
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.