On the above tutorial we have been described the basic configuration and installation guide of the Drupal 7. In our next post we will be described advanced label configuration in Drupal 7. Are you want to get implementation help, or modify or enhance the functionality of this script? Submit Paid Service Request. If you have any questions about this script, submit it to our QA community - Ask Question.
Your Website. Toggle navigation. Home » Drupal » Drupal 7 installation and setup tutorial for beginners. Drupal not only allows you to change the front end of your site with themes, but it also offers the same possibility for the back end. One thing you can try out is the experimental new back-end default theme called Claro that Drupal 9 ships with. You can find it under Uninstalled themes in the Appearance menu. After that, you can choose the new back end theme from the drop-down menu under Administration theme.
There are other admin themes, you can find additional examples here. Some of them also come with their own modules to add extra functionality.
Now your site looks better but it is still pretty empty. Changing that is the next step in our Drupal tutorial. For starters, we want to create a front page so that visitors get to see something when they swing by. It will take you to this screen:. Here, you are able to create content with a basic editor.
At the top, you have the option to define a page title that will also appear on your site. Below that, you find a link that says Edit summary. When you click it, it gives you the option to provide a summary for your post or page. This is kind of like an excerpt that will appear in certain parts of your site. Below that, there is the option to input and format the body text. For example, you can make the text bold and italic, add and remove links, create lists, define block quotes, insert images, and use the drop-down menu to define headings.
Additional options such as inputting tables or horizontal dividers are available when you switch to Full HTML at the bottom. If you have ever worked with a word processor or any other content management system, you should find your way around quickly and be able to put together the content you want.
After that, at the bottom, save the post and make sure that the box before Published is ticked. Here, under the Default front page , input the same slug that you just defined for your new page.
Once you have done that and saved the configuration, your content should show up on the front page of your Drupal site. As a next step, we now want to create an About page and add it as a menu item. The first few steps are the same as before. Create a basic page, populate it with content if you want to know how to create a killer about page, read this post and set a slug e. However, this time, before publishing, make sure to click on Menu Settings and tick the box that says Provide a menu link.
Once you are satisfied with your settings, save the page with Published active. Drupal should automatically take you back to your front end where you will see both your new page and the new menu item. But wait, what if the menu is in the wrong order? No problem, simply hover over it and then click the pen icon that appears.
This should give you the option to choose the Edit menu. Here, you can simply drag and drop the menu items into the order that you want via the icon on the left. Save when you are done to translate the changes to your site. Of course, many people who want to create a website also want to start a blog. Naturally, as a proper CMS, Drupal also has functionality for that, which is what this tutorial will deal with next.
In order to set up a blog, we will first create some content. Because what is a blog without content? An empty page. Creating blog content in Drupal is not all that hard. When we were putting together pages earlier, you might have already seen that besides the Basic page , there is a second type of content called Article.
This is to create less static content like press releases, updates, and — you guessed it — blog posts. It works pretty much the same way as pages: simply create a new article, enter a title, summary, and content, add the URL ending, and publish it. However, there are some differences. In contrast to basic pages, articles also come with comment settings on the right by default, comments are enabled and the ability to add tags and a featured image at the bottom browse, upload, and add an alternative text.
Under Authoring information can also change the publishing date and time, in case that becomes relevant. For that, we have to create a so-called View. This is what Drupal calls lists of content and creating them is not that hard. Under View settings, you want to pick to show Content of the type Article sorted by Newest first.
This way, your latest blog post will always be at the top. Hit Save and edit and then you should find your newly created blog on the front end of your page. Simply go to the Content menu to see a list of all content on your site. If you have a lot of it, use the filter options at the top to find what you are looking for by title, content type, publishing status, or language.
On the right side, click the Edit button to get back to the editing screen for an individual content piece. Alternatively, click the drop-down button to access the Delete option. You can also make changes to multiple items at once by checking the little boxes on the left side and choosing an action from the drop-down menu above.
Besides publishing, unpublishing, and deleting content, you can also make it sticky, unsticky, promote it to the front page or remove it from there as well as save content to update its timestamp. Alright, by this point in the tutorial, you should have a basic understanding of how to get around Drupal. If you have ever worked with a content management system or website builder before, it should be pretty familiar.
However, the system can do a lot more and be extended for any type of purpose. For that, you will most likely use modules. As mentioned, these are little programs that can add all sorts of features and functionality to your Drupal site. The core software comes with a bunch of them that you can find under Extend. Not all of the modules will be installed and active by default. To change that, simply tick the box in front and then scroll down and hit Install.
The CMS will then take care of the rest. It basically works the same way as installing them, only in reverse. Uncheck any undesired extensions, then scroll down to hit Uninstall. Besides the default modules, there are also a lot of options available from third-party developers. Adding them to your site very much works like installing Drupal themes, which we covered earlier in the tutorial.
First, you need to find modules you like in the official directory. Once you have settled on one, either download it or copy its location. If you are not sure which of them make sense to install, here are a few great options:. For more useful Drupal modules, check this article. Once you have the key contributed modules in place, you may want to add a sidebar with different features. Content like that comes in the form of blocks in Drupal, which we will talk about a bit more at the end of the tutorial.
You can place these in different areas as well as adjust their appearance, shape, size, position, and which website pages they appear on.
Depending on your theme, modules, and other components on your site, you will have access to different kinds of blocks. Blocks are saved by theme, so at the top, you find a list of the themes that are installed on your site. Below is a list of all the places you can add blocks to, called regions. If you are not sure where all of them are, click the Demonstrate block regions at the top.
You will then see a view of your site with highlights and labels for where each block region is. To add one somewhere, simply scroll to the desired region and click Place block. This will give you a list of available options. When you click Place block next to the one you want on your site, you then get to the configuration options.
These will be slightly different depending on what you are placing. In the case of breadcrumbs, for example, you are able to add a title and determine whether to show it and configure the visibility of the block.
At the bottom, you are also able to change the region where you want it to appear in case you picked the wrong one.
Of course, you can also change anything you want about blocks that already show up on your site. Use the drop-down menu under Region to move them to another location or simply drag and drop them from one block region to another. On the right, a click on Configure lets you access the block settings in order to change them.
If you click on the arrow icon instead, you get the option to disable or completely remove blocks. You can also edit particular blocks from the front end of your site. Hover over any of them so that the pen icon appears, click it, and then do a second click on Configure block. By the way, a click on the Edit link in the top right corner lights all editable elements on the page up with symbols so you can more easily find where to make changes. As a final point on Drupal blocks in this tutorial, you should know that you can also create your own custom blocks.
This can make sense if, for example, you have information that you want to display in different areas of your site. This could be the opening hours of your business or a particular piece of news you want visitors to see. Enter a block description so that you and other administrators know what it is about. Then, enter the content you want the block to display in the editor below. Once you are done, save your custom block.
When you do, you can then assign it to different regions on your site in the same way as other blocks. Like WordPress, Drupal recently introduced a sort of block editor for content design. Since this is such a big new feature, no Drupal tutorial would be complete without mentioning it. Once the Layout Builder is active, you still need to configure what content you want to use it for.
Here, you find a list of all content types on your Drupal site currently it should be the Article and Basic page.
0コメント