FREELessons: 35Length: 7.7 hours

Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

5.1 Managing Content

The most important part of any website is the content placed within it. Articles are a way of creating individual pages or creating posts within a blog. No matter which you choose, you’ll need to understand the article manager for your content to be published.

5.1 Managing Content

Hi guys, welcome back to a beginner's guide to using Joomla. Now in this lesson, we want to look at one of the most important points of the Joomla content management system. And of course, that is the first thing that we hear is content. Content is everything for any website. So when it comes to content with Joomla we use articles. Even if it's a page on its own, we still use articles to deliver the content to the user. Now it's important to note that you do have all kinds of content that you can deliver to the user, not just articles. But, however, the main focal point with the Joomla system is with the articles. So when we login to the back end, you can see here we have a dropdown for the content. This allows us to gain access to the article manager. And create a new article, the category manger and create a new category, featured articles and also the media manger as well. So let's, first of all, start out with the article manager and find out how we can manage our articles in Joomla. So firstly, we can add a new article. You can also target an article and edit it. We can also target multiple articles and change the state, such as published, unpublished, archived, and also we can chuck them in the trash, ready to be deleted. On top of that we can set featured articles. So again, I can select multiple articles and set them to be featured. Also, I can target the individual articles right here and change the state. So just publish them, Published. Set it to featured or not. And also we can from this drop-down change the state to archived and trashed. So I can select all of those and set them to be Feature Articles. There are articles with more importance than the other articles. Now on top of that we also have the ability to check in. So again if the user was to view an article and then use the back button, you will notice that we have now checked out this particular article item. So, this is an item in Joomla, so I can click there or I can target it and then tell it to check in. That article, that item so we can edit it later. On top of that, we can select multiple articles and do some batch processing. So we can target all of the selected articles and add a tag. Set the access level, set the language, and also we can select a category. So for example, I can say on categorize and I can move all of the targeted article and reassign their category. Or if I say copy it would duplicate the targeted articles, and then it will re-assign the category for those duplicated articles. That's some nice batch processing right there. Also, again, with our tubular data in Joomla!, we have the ability to search and find an article. We have search tools for filtering the items. Such as only showing article items that are trashed or have the status of archived, or show all of the items no matter what their status. So again, don't forget, each one of these is classed as an item in Joomla. I can also say only show articles created by a certain author. Only show articles in a certain category, only show articles with a certain assigned language. On top of that, we can also say Show Max Levels. Now we'll talk more about this when we talk about the category and assigning an article to a category. Then we have the Select Tag, so only show Articles with a certain Tag, and only show Articles with a certain Viewing Access Level that's being assigned. On top of that we can also select the type of filtering that we'd like for our fields in the table so we can have ascending and descending on the access, author, language so on and so forth. Then also we can choose how many of these items we'd like to show on a single page so hopefully now you're starting to see a pattern right here of all of the different options in the back end. Once you start seeing the pattern, everything goes along smoothly, and you sort of really get to grips with the Joomla content management system. And so we also have categories and featured articles in here, so we can just very quickly flick over to the categories manager and the featured articles as well. But let's take a look at the category manager. So form here what I can do is again create a new category edit. Change the status. I can also batch process again. I can also rebuild so let's say there's some corrupted data for some reason I can just tick on that category and say write rebuild it so that it refreshes the data and so we don't get corruption in there. But you only need to do that if there is corruption. And then you also have your checking in as well. And of course we can search. We have the filters again. And with the levels right here, it clearly indicates that we can have categories inside of categories. So if you remember with the user's manager component. We talked about the user note categories. And go ahead and take a look at the lesson for a quick refresher. And again it talks about how we can nest categories into other categories and the search tools there. And it's very similar here with these categories. Although these categories don't contain user notes. They contain articles. So just a different type of item. And then of course you have, all of the other stuff. So, I'm not going to bore you anymore by telling you all of this stuff, because you obviously know what these options are from this point herein. But what I'd like to do is start to play around, and obviously create content, and show you how this is reflected in the front end. Now on top of that, underneath the content, you have your featured articles you can clearly see that these are featured and so these are like special articles. The main ones you want to promote and advertise on your content management system. Then on top of that we have the media manager. So if we have a quick look we can see here that with the media manager we can upload a file, so you can choose a file from your local hard-drive, and even if you've got this guy set up locally, it doesn't matter, you can still upload into the media manager, and you can also create a new folder in the directory that you're in, and also you can select certain items, for example images and directories and delete them. You can also delete them right here as well. But again, please do note that this is a delete, not putting something in the trash, so it will permanently delete it if you do decide to do that. On top of that, if you go into a directory. You're able to see that this right here allows us to go up a directory. Currently, we're on the root level, so we can't go up anymore. We can get a nice thumbnail preview but we can also get a detailed list-view. Which is kind of nice because with images we get to see the dimensions in pixels, the far size and also whether we want to delete them or not. So, on top of that, you have on the left hand side, the ability to take a look at the directory train, all the structure that we have so that we can quickly go into a subdirectory and take a look at the images that we have here. Now also, we can take a look at how the media manager component is configured. I just like to clarify that underneath the Content menu, we have two separate components. You can easily tell that because we have a line right here. With the Article Manager. The Category Manager, and the Featured Articles. This is all to do with the Articles component. So we're not talking about the configuration for the Articles component in this lesson, because it's very extensive. We're just going to be talking about the Media Manager component, and the options, or the configuration for this specific component, the Media Manager. And so you can tell quite easily because of that line we have two components being grouped together under this menu. And again you have components here again these are all separate components, they're not all one giant component. So that's something important to bear in mind. So we're in the media manager. And instead of going to global configuration and then finding it in the list, I can easily just click options when I'm inside of that component, and then it'll take me straight to the configurations of that component underneath the System. So the first configuration allows us to determine what file types are allowed to be uploaded. So for example, jpg files Doc files, txt files, and so on and so forth. So, we're not just talking about images here, we are talking about other types of files as well. And you'll notice, possibly, with your operating system, and with some operating systems, the extension for these files are hidden. But in my case, they're visible, so I can see the extensions of the files, and I can see jpg and whatnot. So if I try to upload a file to the Joomla system, and it says sorry this file type is not allowed, then you need to add that extension onto the list right here. So you have a list. Each one is separated out with commas. So I can say, let's say I tried to upload a md file, so .md. So, we have a comma in there, md, and then you put in a comma. You don't put the dot in. You just say MD. So now I can upload MD files. And then also we get to choose the maximum size per file. So, again, we could set this to zero and get rid of the limit entirely. So we can upload 100 or 1000 MB file or I can limit it to like say 10 MB. Now, also what's important to note that even if you set this to be unlimited, your server may actually cap you, which in most cases it does. So most servers will be like 150 MB file. They try to cap it to stop people from using it as some sort of storage facility. So again even though you may set this to unlimited, your server may actually stop you at that point if you try to upload something that's huge. Then on top of that, we have the path to the files folder. So again, we have to two different types of files. They're very distinctive. We have the files, and then we have the images. So files are like Word documents, CSV files, so like Excel spreadsheets other stuff like that, they're classed as files. And then obviously you have JPG, GIF, PNG, they're classed as images. Now the files, such as the Word documents and Excel spreadsheets, they're being uploaded into the images directory as well. This is not ideal, but I recommend you leave this alone. Because if you change the Path to files folder, you may end up breaking your existing links to your content. On top of that, if you do change the Path to files folder, you also must change the Path to images folder and it must be on the same level, so in the same directory, or it must be in a sub-directory, a sub-folder. So again, be very, very careful with this. Then on top of that we can restrict uploads. So any users that are lower than the manager status, managers, administrators, so on and so forth. They're only going to be restricted by what we've defined here. But, however, you can say yes to people that are like guests and registered users, those people are lesser than a manager. They don't have that status and they will be even more restricted than the restrictions we've set here. Then on top of that we have check the MIME types. MIME types are used by operating systems and of course the server such as Apache and so on and so forth. To check the type of file so it knows what that file type is and it knows what to do with the data. So I definitely recommend you check the mime types and you leave that on. Also, you can set the legal image extensions. So you're saying what images are allowed to be uploaded. For example, BMP, Gif, jpeg and png. All of those file type can be rendered in a browser. That's why we're only setting those to be the legal types. Then on top of that we can also set the ignore extension. So for example I can say write all of the files with the .MDX extension ignore them and don't check the MIME type for that file extension. On top of that we also have the legal MIME types so you have let's say an image or you can have text. And again you can say JPEG Gif Png and so on and so forth. Again you can research about MIME types but basically it's saying what type of file is it. Is it image is it text based. And then what is the extension gif, jpeg png and so on and so forth. And also we could say illegal MIME type, so ideally I don't want people uploading HTML files. That could end up being very, very problematic for security so I've made that illegal. Now we can take a look at the permissions for this component. So again we can target a certain user group such as the test manager. And, what we can do is we can allow them to configure, now please do remember that if you allow a user group to configure a component, they are like a super user, because even though you've set all of these to denied, as you saw in the previous lesson, I could easily go in and reconfigure the permissions for my own self. So ideally if we leave it as inherited it's not allowed, or we would set it to denied. You would really want them to the super-user over the entire component. Also are they allowed access to this component in the administration interface, are they allowed to create content within this component, so in that it case it means uploading content such as images, text file and others. And are they allowed to delete content out of this component such as deleting an image or text file, and so on and so forth. Again you can allow or deny anyone of those action. So thank you for watching me in this lesson. And please join me in the next lesson where we'll take a look at creating some content inside of the articles component.

Back to the top