Skip to content

1. Setup

ANDI Amine edited this page Feb 21, 2026 · 3 revisions

Quick start

We will guide you through 4 basic steps to work with JoomCCK. At first JoomCCK may looks complicated because you will see a lot of parameters everywhere. But do not be scared, after you learn JoomCCK concept, understand it is philosophy and learn those parameters you will love them. Believe me you will love every single parameter because every one of them will give you great flexibility. You will even ask for more adjustments options.

Step 1 - Create Joomla Menu Element

I think this have to be first step to create any new section in JoomCCK . I will not describe how to do that. This is standard Joomla operation. You can create menu type separator. Then you do not have to enter any parameters.

Step 2 - Create Content Type

I will not explain all type parameters here, you can quickly look through them. You will find that 99% of them you do not need an explanation. It is very clear what it does.

  1. Go to JoomCCK > Types > New
  2. Enter type name Blog Post. In parameters, find Menu item ID and set there menu element we create in first step.
  3. Now open Submission slider. If you want other users submit from frontend, in Who can submit select public or registered. If you want only administrators to submit you can select special.

Note!

Records may be submitted only from frontend. There is no new record button in backend. This is why you have to set those parameters.

  1. Now you have to decide if you will have categories in the section or not. If your section does not have categories then in Who can select category chose No one.

  2. Click Save & Close button in toolbar.

Type is ready. Now we have to add there some fields.

  1. Click on Fields (0) on the right of the type name to get to the list of the type fields.

  2. Click New in toolbar.

  3. Enter field name Post

  4. Select field type HTML. You will see parameters of the field loaded. You may leave them as they are. If it would be other field type we could save if. But with HTML usually we need little bit more adjustments. Because we want it on the form and in the article to be full width.

  5. In the General Parameters of the field on the right find Show label and set it to Hide Label. Then find Break after label and set it to Break on submit form and record full view.

Note!

This settings are usually make sense for fields like Textarea, HTML or Gallery only in record full view but not in the form. Otherwise you may skip those parameters and keep them default.

Step 3 - Create Section

  1. Go to JoomCCK > Sections > New
  2. Enter section name and title Blog. If you want little introduction, enter section description.
  3. In the Itemid target parameter select menu element we created on first step.
  4. Scroll down and find Submit Type parameter and select type we have just created.
  5. Click Save & Close button in toolbar.
  6. If you want to add categories, click Categories (0) on the left of the section name and add categories as you usually add any core Joomla categories.

Finalize

Now you only need to edit menu element you created and change its type to JoomCCK > Section records list. Access this link in frontend, click Post Blog Post Here and submit new article. The list of articles may not looks like a real blog, but that is because we did not set templates. This is matter for another article.

Conclusion

Of course there is much more to learn, but look how simple is basic concept! Just in 5-10 minutes you have created your first section. You can now study one parameter after another to discover full power and opportunities JoomCCK provides for you.


Filtering — JoomCCK has a powerful filtering system for narrowing down records by fields, categories, tags, authors, and more. See the dedicated Filtering page for the full guide including admin setup, filter module configuration, field aliases, URL filter links, and PHP helper methods.


Create category menu item

One of the common question is how to create links in menu that reference not to section root but to category. First I'll explain you how and then I explain why.

  • Create Joomla menu element to JoomCCK section.
  • Navigate to that section.
  • Click on category you want to add to menu.
  • Copy this category URL.
  • Add new Joomla menu element and chose External URL.
  • Enter name, paste copied link and save menu.

Q: Why cannot we just create JoomCCK category Joomla menu element and select category in menu element parameters?

It is simple. It is all about Itemid. If you do not know what it is, then just trust us on this matter and be sure what we are suggesting is the best option. And if you know what is Itemid, you also know all problems connected to it.


Automatic articles checking

It is often happens that users do not close their articles properly after edit. And others (moderators and admins) cannot edit those articles. There is a special cron task which you can use. It will check in all articles that are checked out for more than 30 minuts.

It makes sense to configure to run command at least once a 30 minuts.

You can use curl or wget command. For example.

wget http://[site name]/index.php?option=comjoomcck&task=cron.checkIn&secret=123456

Where [site name] is the root of your Joomla instance and secret is the secret word you set in JoomCCK global configuration.


Send email alerts

Sending email alerts immediately by default is not a good practice for 2 reasons.

First Practice

People don't like it. Especially if you have an active site, a user can receive dozens of emails daily your IP address can easily get into spammers lists and be blocked.

That's why every user in JoomCCK has a choice to turn off email notification regardless of your section settings. Every user can choose to receive email alerts daily, weekly or monthly or to not receive any email alert at all.

It is important to provide subscribers an opt-out to stop receiving emails. Your notifications won't be flagged as spam if they have an unsubscribe instruction at the bottom of the email. To prevent you for being blacklisted, this instruction is included automatically.

Second Practice

There may be thousands of emails generated at each click, which will negatively affect your site's performance. Example: You post a comment to an article. Let us assume that 1000 users are subscribed/following this article. Then before getting to the next page, you will have to wait until 1000 notification emails are sent. This can severely slow down you site.

You have to configure a cron job in order to send email alerts.

The command that you can use is this.

wget http://[site name]/index.php?option=com_joomcck&task=cron.sendAlert&secret=123456

Sometimes wget command is not accessible or not installed. In this case you might want to use curl or lynx instead. Here are some examples.

lynx -source http://[site name]/index.php?option=com_joomcck&task=cron.sendAlert&secret=123456

curl -c --url "http://[site name]/index.php?option=com_joomcck&task=cron.sendAlert&secret=123456"

curl -A "joomcckcron" "http://[site name]/index.php?option=com_joomcck&task=cron.sendAlert&secret=123456"

Where [site name] is the root of your Joomla instance and secret is the secret word you set in JoomCCK global configuration.

Please don't configure this cron task to be executed less then once per 5 minutes for immediate alerts. JoomCCK will automatically determine what to sent, immediate alerts or weekly once.

Clone this wiki locally