Steps for customize profile page - drupal

I'm working on a school project and I never use drupal.
So I want to display some users informations into their profile page like:
Username
Profile picture
City
...
I want them to update their infos (profile picture too).
Futhermore I want to be able to custom HTML structure of this page.
I red post saying that I should use Panels or Views but I'm so confused with these choices
Thanks for your help

If I catch up new technology, I used to read some source codes other programmers wrote. Fortunatly, Drupal gives up some sample source codes like user profile page and so on. I recommend you to read source code below and brash up your skills.
https://www.drupal.org/project/commons

Related

How do I create multi form template with the control assigned to the form and display when user select

I am a newbie to asp.net and I would like to ask if anyone could advise me on my query below.
I wanted to create a site that allows user to build their own templates and define their own controls (such as textbook, listbox bind to a dataset, combo box and radio button)
Once these templates are created they will set to publish and make it into a normalised form. Other users will go to this publish site to click on the template and fill the data for processing. And going forward, the author of the templates could amend the template and make changes.
Could anyone advise how to go about? It would be nice if there is any example that I could read and try
Thank you and appreciate your great help

Restrict custom post type by user Wordpress

Can any help me?
I make the marketplace with a user role for example i call "seller" can sell his own music from dashboard. Then i have some problems and hope you can help me…
How do i make limit/restrict data access to the select dropdown "Connect Album Playlist" in the Product menu? where the user seller can only see his own data and unable to access / view others people music album data on the dropdown select?
https://drive.google.com/file/d/1mL6InZpEJhDBXfHGmjHcK_ypXKeyc8EA/view
In the Release Album, same as the problem above. i want to make "Select Artist" dropdown, only display the name of artist created by that user?
https://drive.google.com/open?id=1fRyZSx2sYEnxgY-1QNVHEkwl761b-nsg
Then, i try to make custom code for limit user view data on select dropdown "Connect Album Playlist" on this picture:
https://drive.google.com/open?id=1KAB4xAz2XPxbYLEYayKX5WBIK3CNCw0D
but not work. can any help me with this code?
Many Thanks,
Kind regards,
I'd recommend looking at this plugin: https://wordpress.org/plugins/adminimize/
You can also follow the documentation found here: https://torquemag.io/2016/08/customize-wordpress-backend-clients/ if you want to write custom code. But with the number of edits you want to make, I think the plugin will be an easier and smoother solution.

How to show webform submitted data in drupal7

i want to display the webform submitted data in drupal 7 and that survey only admin can see.After the submission i want to show the submitted data to admin in table format and also wants to download that data in excel Sheet format. What approach i should follow.
you can call this function which is called after the data is inserted in the webform.
This hook will provide you the node id and and the submission id. Using this submission id you can access all the data which you have inserted and can perform your task inside it.
function hook_webform_submission_insert($node, $submission) {
//do your task
}
Install this module http://drupal.org/project/webform_report it will be displayed in table format and also you can customize the report & also It will create separate content type.
Below is the screen shot for webform report, you can also view, edit & delete from report itself.
hope your requirement will match this!!!
Hmmm.. I thought the native table generator pretty functional. It includes a download button.
login as admin, then go to: Content --> Webforms Tab --> Your webform --> Submissions (or better = TABLES ! ) to see what the users have submitted. At the far right side of the TABLE display is a download button. With this selection you get EVERYTHING downloaded in a convenient XL sheet.
I know I'm a late comer to this party, and perhaps this enhancement is a late addition to the software. Solution offered here to aid others in the future.

User template with recent posts

I'm developing a custom theme for Drupal 7. My problem is I don't know how to make a page that shows information about the author, and below the info, a list of the author's articles. (For ex. if I go to user/ i want to see the profile of the user with the given id, and his/her latest posts).
So what would be the best solution for this?
I've tried with creating user-profile.tpl, it's ok, but I dont' know how the get the nodes, and I don't really want to make sql query-s, because I think there is a prettier method for this.
I've tried with Views, too, but I'm new to Drupal and the most of the tutorials/explanations were for drupal 6 (if it's simple with view, please write me a small guide for it).
Thanks!
It'd be better to create a view that takes the uid as an argument.

How to create a 'blog settings' tab in drupal to move all blog related edit forms to one place

I dont know if im asking the impossible, but i want to have a tab in my user edit area that houses all blog related items (ie blog theme, blog info, user blogroll) as opposed to them being inside the user/%/edit and user/%/edit profile.
Im putting together a multi-user site and this is crucial for user-friendliness.
Thanks for any ideas!
Nothing is impossible with Drupal, but doing this would be a challenge.
With hook_form_alter you can alter any form you want. The code for this would have to go to a custom module. Then you would have to recreate the form, with a page callback, and handle the validation and submission. You can probably recreate the code from the modules that create the forms in the first place.
Alternative, you can just leave the settings at user/%/edit and other places, and just create a special form with all blog relevant info. That way the users choose where to edit their info. It will probably be a better choice, since the "blog settings" that's location at user/%/edit, will be more tied to the user, than to the blog. So when a user wants to edit some of his personal details, that's when he would want to edit those blog settings as well.
Your specific might be different, but the default setup is usually a very good default.

Resources