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

Step 1. Download and Install

tutuploadsStep_1_8888924beb5d3087a1a66acc19d9767d.png

You can download it directly from our site http://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.

Comments

 
Peter
#1 Peter 2011-10-22 09:59

great tool.

is it possible to integrate the date per article?
 
 
Peter
#2 Peter 2011-10-24 08:57

Not great: The Tool can“t integrate text formating and other html codes in.

Uninstall
 
 
Nick
#3 Nick 2011-10-24 20:01

Hi Peter,

Could you explain what you mean by date per article?

Kind regards,
Nick
 
 
Nick
#4 Nick 2011-10-24 20:09

Hi Peter,

Would you mind attaching a sample .txt file of an the HTML that you used so that we can reproduce the issue? If we're able to reproduce the issue, we'll get the bug corrected within a day.

Kind regards,
Nick
 
 
Nick
#5 Nick 2011-10-24 20:09

p.s. Feel free to email me at nick@ostraining.com
 
 
Peter
#6 Peter 2011-10-25 14:16

I want to integrate "html-code" like in your example "Step 9" in the full text page.

The import runs, but I get a textblock without the html-code (tables, images, formatting).

Test it without a editor and with editors and get the same result. Make alos a test on your demo site (proterra)

And: It is possible to take the alias from the article as the menu alias? That were great.
 
 
Nick
#7 Nick 2011-10-25 20:30

Thanks for the report, Peter! We're working on the fixes. We should have an updated version available tomorrow.

Kind regards,
Nick
 
 
Daniel Iturbe
#8 Daniel Iturbe 2011-10-26 22:50

Hi; I'm wondering if your OSContent could create a menu item for new created articles, but created outside of OSContent.
I have a ContentBuilder set up, and it would help me a lot, if somehow I can make my sistem able to create a new item menu for each article created.

Ty very much.
 
 
Nick
#9 Nick 2011-10-27 00:38

Hi Daniel,

Unfortunately it doesn't do that. It's for populating new content, not for linking articles. It would be cool to someday develop an extension like that though.

Thanks for asking and thanks for visiting our site!

Kind regards,
Nick
 
 
Dan
#10 Dan 2011-11-18 00:58

I need to add numerous levels of nested categories on a large scale. Is there a CSV or txt upload option? Even with the improvements provided by OSContent, this will still take me weeks to create all my categories. Thanks!
 
 
Nick
#11 Nick 2011-11-20 21:58

Hi Dan,

There isn't however we could add a new feature for your special requirements if you'd like to sponsor us. If so, please email me at nick@ostraining.com and we can talk about it more.

Kind regards,
Nick
 
 
IndyCindy1
#12 IndyCindy1 2012-01-08 02:26

Links created to nested categories are placing a value of -1 for the Link Image under Link Type Options. With several templates I have tried this image is broken and displays a placeholder in my menu items. Manually removing the "-1" from lots of nested category links is not fun. Is there a way to edit the code to remove this value?
 
 
Nick
#13 Nick 2012-01-12 06:46

Hi IndyCindy1,

Would you please fill out our contact forum so we have this documented and so that our developer can have a look?
www.ostraining.com/contactus/

Kind regards,
Nick
 
 
devananda
#14 devananda 2012-01-29 13:53

I just updated to joomla 2.5 ~ and I installed the os content component for 1.7. I was able to make categories ~ although there was a glitch. But now it seems like articles are not working at all. Also, there is no "save and close" button, I have only a "save" button on the category and articles writing sections.
 
 
Nick
#15 Nick 2012-02-01 09:07

Hi Devananda,

Please use our contact form to report the issue:
www.ostraining.com/contactus

Kind regards,
Nick
 
 
freshwebservices
#16 freshwebservices 2012-05-08 16:05

Hi,
Great little tool for mass creating sub/categories. Its great when you have a limited number (say < 100). However, for > 100 its a little limited - would be great if there was a csv mass create tool.
Thanks anyway,
Eddie
 
 
Gordon
#17 Gordon 2012-08-01 14:11

I downloaded to try and get the exact same issue as reported by Peter on 25/10/2011.

Nick says in very next post will be fixed.
 
 
italia26102
#18 italia26102 2013-03-28 03:08

I'm trying to figure out how to keep the page formatting such as paragraphs. I copy/paste into the editors but the articles come out in one big block of text, which drives my readers nuts.
 
 
dave
#19 dave 2013-04-30 05:06

this is great really want to see it work with joomla 3.0+ . now i just get 500 error . still great for anything below . please point out the thngs that changed in 3.0 thanks
 

Add comment


Security code
Refresh

blog-ad

Start Online Training

Members get access to all our video training. That's 1,142 training sessions in Joomla, Drupal, WordPress and Coding.

Manage All Your Joomla Sites

adminicredible

With Admincredible you can update and manage all your Joomla sites. If you have 5 or 500 sites, Admincredible will make your life easier! Visit Admincredible.com.

Latest Comments

The License for Our Tutorials

All of our tutorials are published under the Creative Commons Attribution-NonCommercial license. This means:

  • You can re-use these tutorials.
  • You can modify these tutorials.
  • You must link back to our original tutorial.
  • You can't use these tutorials commercially.

Click here to read the full license.

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.