Start a FREE 7 day trial! Get training videos and books, plus expert support:  

Joomla Tutorials and Blog Posts

OSContent - Quickly add categories, menu items and articles

OSContent is an extension for creating and deleting articles and categories in bulk. You can even create menu items for the newly created content.

Why waste time repeating steps over and over again, when you can do the same thing with just a few clicks?

This extension will allow you to:

  • Create articles in bulk 
  • Create categories in bulk
  • Create menu links in bulk

Note: Please make sure that you're using PHP 5.3+, as PHP 5.2 is insecure and no longer supported by the PHP Group; thus, we no longer support it either.

Step 1. Download and Install

tutuploadsStep_1_8888924beb5d3087a1a66acc19d9767d.png

You can download it directly from our site https://www.ostraining.com/downloads/joomla-extensions/oscontent/ - just click the download button then enter your email address.

tutuploadsUse_the_Extension_Manager_in_Joomla_to_upload_the_compone.png

Go to Extensions > Extension Manager and Upload the Package File by clicking Browse, then Upload & Install

Step 2. Access OSContent

tutuploadsStep_2._Access_the_component_from_the_component_menu..png

Go to Components > oscontent > Create Mass Categories.

It's best to create your categories first. Then you will have a place to put all your articles.

Step 3. Configure your global options

tutuploadsStep_3._Configure_your_global_options_for_the_component..png

The Options button is in the upper right. Click it to explore your options.

tutuploadsmedia_1317584989185.png

There is not a lot to do here, but if you have a lot of categories to enter, you might want to increase the number of categories from the default number of 10. Doing that will allow you to list all the categories on one screen so you won't need to repeat the step. You can do the same for the number of mass content (which is the number of articles) that you will be creating at one time.

Save this and you are ready to start.

Step 4. Create the top level of categories

tutuploadsStep_4_547dbbac6ecc35fa988e2e50e51c0e0a.png

You can create many categories as you want, but you can only create one level at a time. You should prepare an outline of your categories and how they are nested in advance so you can move through this quickly.

Type the name of your categories into the list. If you want to create unique aliases type them as well. But if you don't want to type the aliases, you can take care of that in the next step by clicking a check box.

Step 5. Choose options for this group of categories

tutuploadsStep_5._Choose_options_for_this_group_of_categories.png

To the right of the list you just created is a list of options you can apply to this group of categories.

Copy Title to Alias - if you left the alias blank when you created the list, when you check this box, the aliases will be automatically created for you.

Parent - Since this is the top level of categories, they will have no parent. When you go to create your list of subcategories, you will want to choose the correct parent from the list.

Published - Yes or no. That's pretty simple.

Link to menu: Clicking this box will allow you to instantly create menu items for all of these categories and place them on your main menu or whichever menu you choose.

Step 6. Create the menu items and choose the type of layout

tutuploadsStep_6_505f1c6b15de04c1c72ca81ad05190cd.png
  1. Check the Link to menu box
  2. Choose the menu - If you have created additional menus they will show here.
  3. Choose the parent menu item.
  4. Choose the menu type - you can have a category list or blog layout.

Since these are top level menu items, you should choose Top in the right-hand window. Choosing Home would create sub menu items with Home as the parent. Anytime you create a list of categories and choose to link them to a menu, you can put them in the proper level in your link outline. You can make changes in the Menu Manager after you're done if you need to.

tutuploadsmedia_1317587013932.png

Click Save & Close and you have now created all the top level categories and added menu links to them.

Step 7. Create sub-categories

tutuploadsStep_7._Create_sub-categories.png

Go through the same process to create sub-categories. Except this time you will see all the previous categories you created in the Parent drop down box. Do this for each sub-category list you have created. Of course, if you don't have sub categories, you can skip this step.

You can't assign sub-categories to more than one parent, so you will need to repeat this step for each top level category that has sub-categories.

Click Save&Close to save your new additions.

Step 8. Add Articles to the categories

tutuploadsStep_8.png

Click the Content Tab to get to the area for adding content. You will see the list of boxes for adding the actual articles. Hopefully you have prepared the articles in an editor and you can just cut and paste the content in the windows. You will see this set of boxes for each article you can enter.

  1. Title - the title of the article
  2. Alias - you can fill this in for a custom alias, or you can check the Copy Title To Alias check box to automate the task.
  3. Intro text - If you fill this in with the intro paragraph, a Read More Link will be generated. Leave it blank if you are not going to use short intros.
  4. Full text - the full text of your article, with all coding if desired.

These are text windows and will accept full HTML so you can use html markup or paste an entire page of content with markup from an external editor.

Step 9. Enter text and code

tutuploadsStep_9.png

You can enter text directly by typing, or you can cut and paste. The windows are resize-able so you can expand them to fit your text. Place the cursor over the bottom right corner and you can drag it diagonally to expand the size of the text area. Here's a sample entry:

tutuploadsSample_Entry.png

You can type in plain text and edit it after you've saved it using the Article Manager, or you can write or paste code directly into the text areas.

If you enter anything into the intro text box, a read more link will be created automatically on saving the entry. When you're done you can edit the articles in the normal fashion in the Article Manager.

Step 10. Adjust the parameters, assign them to a category and create menu links

tutuploadsStep_10.png

Select your options with check boxes.

Assign your articles to a category. You can assign this group of articles to only one category. If you created your categories first, they will be visible in the drop down menu.

To create menu links, click the Link to menu check box, then highlight the menu you want to assign the articles to. A single article menu link will be created, and added to the menu you choose.

Repeat these steps for each group of articles, assigning them to the appropriate categories and menus each time.

Option: Copy dummy text to all articles

tutuploadsOption_Copy_Greek_text_to_all_articles.png

If you are going to use dummy text you can paste it into the first article's intro box and full text box, and just put titles in the rest of the articles. Select check the box for "Copy 1st...to all empty pages" and the same sample text will autofill all the articles. You will see all of the boxes filled immediately after you check the box.  When all the boxes are filled, save this group.

 

Start a FREE 7 day trial! Get training videos and books, plus expert support: