4. It’s all about users, permissions, modules and articles

Back to 3. Design, Layout, Colors

I know, we still have no content on our site but before we create it, let’s have a look on the user accounts of our new Joomla website.
When you installed Joomla, you created the Super Administrator account. This user is allowed to do anything. It is nice to be that user but it is dangerous too. You will probably have more than one user account on your website, e.g. authors who write articles.

To get more used to these topics, let’s build a platform for authors where they can post articles and upload images without the need to enter Joomla’s control panel. Follow the example and you’ll learn a lot about Joomla 🙂

About users, roles and permissions

Users are in general able to login on the frontend and/or the control panel just depending on their role permissions. A user account has to be a member of a user group. Instead of assigning access permissions to each user, they are assigned to a group. The individual user is then assigned to one or more groups. Imagine you have 10,000 users in four different groups. It’s very easy for the administrator to change the permissions for each of the groups. Without groups, you would have to change every user account manually. However, when using groups, you only have to change permissions once!

Joomla comes with predefined groups like author and publisher which are easy to understand. An author is able to create/write something, a publisher has the additional permission to publish content.

  • The predefined frontend user groups are: visitors, registered users, authors, editors, publishers.
  • The predefined control panel user groups are: manager, administrator, super administrator

Example: A website where authors can post articles

This is a very simple workflow but it covers some possibilities that exist in Joomla. I assume that you have a “naked” Joomla without sample data and you have a super administrator user account.

The desirable scenario

  • Admin user in control panel:

    – activates the admin notification when someone creates a new user account

    – creates a user menu for registered users with a link to create an article
  • Visitor on website:

    – registers as a new user
  • Admin user in control panel:
    – 
receives a notification and assigns the user to the authors group
  • Author user on website:

    – is able to create an article but is not allowed to publish it
  • Admin user in control panel:
    
- receives a notification that there is new content available

    – publishes the article on the frontpage

Parameter and user menu

We have to set a few switches in the user options. Go to Users → Manage → Options and activate Allow User Registration and Notification Mail to Administrators (Figure 1).

Figure 1: Notification Mail to Administrators
Figure 1: Notification Mail to Administrators

 

Then we need a menu for logged in Users. Go to Menus → Manage → Create new menu and create one:

  • Title: User
  • Menu Type: user
  • Description: A menu for a user with useful links

Save and close it. You have now created a kind of menu container. What’s missing is the links inside the menu container and a linked module that displays the new menu at a certain position in the template.
 To create and link the module, click on the link Add a module for this menu type (Figure 2).

Figure 2: Add a module
Figure 2: Add a module

In the module form you have to add a title (User Menu), the position (Right – Position-7 in the Protostar template), the access permission (registered users). Don’t forget to save & close it (Figure 3).

Figure 3: Creating the user menu module
Figure 3: Creating the user menu module

 

Now we need the “Create article” link in our menu that should be shown to authors. Go to Menus → User → Add New Menu Item (Figure 4).

Figure 4: Creating a link in the user menu
Figure 4: Creating a link in the user menu

 

In the following form you have to enter the name/description of the link (Menu Item Title), select a Menu Item Type (Figure 5) and restrict the access to registered. Each Joomla component can provide Menu Item Types. Our type (create article) is provided by the content component which is a part of Joomla core.


Figure 5: Select Menu Item Type
Figure 5: Select Menu Item Type

 

After you saved and closed the dialog a new menu item should be displayed in the list (Figure 6).

Figure 6: User Menu with the new menu item
Figure 6: User Menu with the new menu item

Test your work! Login on the frontend with your super administrator account. After the login, our new user menu with the create link appears (Figure 7).

Figure 7: User Menu after Login
Figure 7: User Menu after Login

 

Please log out after the test.

Registration as a new user

Now we create a new user account. Please access the website as any other visitor and click the Create an account link. Fill out the form and click the Register button (Figure 8).

Figure 8: Registration form
Figure 8: Registration form

 

If your server stack allows sending emails, a notification email will be send to the email address of the super administrator account.

Joomla offers a CAPTCHA to prevent spammers. To use it, activate the CAPTCHA plugin under Extensions → Plugins and select it in the options of the User Manager where you can configure the general behaviour of the login process too.

Assignment of the new user to the authors group

Log in with your Administrator account on the control panel, access Users → Users and click on the name of the new user (Hagen Graf). Check the Author group in the Assigned User Groups tab (Figure 9).

Figure 9: Assignment of a group to a user
Figure 9: Assignment of a group to a user

Depending on your environment it might be necessary to enable and activate the new user account. Just click on the red icons to do so (Figure 10).

 

Figure 10: Activate and enable user
Figure 10: Activate and enable user

Now we have a new author on our website.

The new author creates an article

Now switch your identity to the one of the new author, log in with your new user account on the website and click the create article link. Just add a title and a few words and click save (Figure 11).

Figure 11: Create an article
Figure 11: Create an article

 

The article is saved and submitted but the user (you) cannot see it, because it is not published. I configured this workflow intentionally as in some cases it is desired to have another person to edit the created content and then publish it.

Of course, it is also possible to skip that, add the user to the group Publisher and then the article would be published immediately.

The admin publishes the article on the frontpage

Joomla comes with a messaging system and this system creates a message when new content was created by a user. Depending on your settings (Components → Messaging → Options) the admin receives that message by email or via the screen. 
The admin has to go to Content → Article Manager and publish the new article. If the article should appear on the frontpage, click on the featured icon (Figure 12, Figure 13).

Figure 12: Publish an Article
Figure 12: Publish an Article

 

Figure 12: Featured Article
Figure 12: Featured Article

Tweaking the process

As we already noticed while following this example, many topics are covered and the configuration is easily done depending on your needs. There is a huge amount of permissions, options and settings to discover.
I’ll provide a few examples in the following chapters.

Warum Olivenöl so wichtig für uns ist

Wir leben heute in einer Zeit, in der sich auch meine Generation mehr und mehr Gedanken über die eigene Gesundheit macht. Sie beginnt, sich bewusster und gesünder zu ernähren.

Durch meine sportlichen Aktivitäten und den nicht ganz positiven, gesundheitlichen Erfahrungen der vergangenen Jahre  beschäftige ich mich viel damit, welchen Einfluss die Lebensmittel, die ich zu mir nehme, auf meine Gesundheit haben. Über das Ergebnis der wichtigsten Punkte meiner Recherche zu Olivenöl möchte ich euch heute in meinem blog berichten.

Der Genuss von Olivenöl hat viele einzigartige Vorteile für uns Menschen:

  • Es unterstützt die Leber- und Gallenfunktion und wird daher auch bei bestimmten Erkrankungen des Verdauungssystems empfohlen. Olivenöl regt die Bildung von Gallenflüssigkeit an, was die Speisen leichter verdaulich macht.
  • Durch die im Olivenöl enthaltene Oleinsäure wird die Knochendichte auch bei älteren Menschen bei regelmäßigem Verzehr im normalen Bereich gehalten und kann daher vor Osteoporose schützen (vgl. Olivae Juni 1996).
  • Aufgrund seines Reichtums an ungesättigten Fettsäuren und erheblichen Mengen an natürlichen Antioxidantien wird Olivenöl von Ernährungswissenschaftlern zur Prophylaxe und Bekämpfung von Erkrankungen der Herzkranzgefäße  empfohlen.
  • Als einziges Lebensmittelfett schützt es vor Arterienverkalkung (Arteriosklerose).
  • Seit einigen Jahren bestätigen medizinische Erfolge nachweislich den positiven Einfluss auf den Cholesterinstoffwechsel durch Olivenöl. Durch Anreicherung des guten Cholesterins HDL wird der Cholesterinspiegel gesenkt, da das Verhältnis zwischen dem guten Blutfett HDL und dem schlechten Blutfett LDL verbessert wird.

Bitte achtet  beim Kauf von Olivenöl auf natives Olivenöl das ohne jeglichen chemischen Zusatz hergestellt wird. Deine Gesundheit wird es dir danken!

Manfred Gosch

 

Flussnoten ein live gebloggtes Buch vom Rheinwandern | #ibcoco #flussnoten

Die erste Reisewoche am Rhein von der Quelle bis zur Mündung. Eine Zusammenfassung. Die offizielle Rheinquelle entspringt im Tomasee, ein paar Fußballfelder großer Gebirgssee in den Alpen. Unweit des Gotthards. Unweit von Andermatt. Man erreicht den ca 2300 Meter hoch gelegenen See nur zu Fuß über holprige Gebirgspfade. Die nächste Bahnstation ist der Oberalppass, etwas … Flussnoten ein live gebloggtes Buch vom Rheinwandern | #ibcoco #flussnoten weiterlesen

How to build relevant networks and improve your business.

Any idea whether charity or business needs at a collage of these 5 elements, to grow. In fact, so many of underrate one of the elements, but if once neglected, however much the idea will develop, it may completely fail when it finds a stumbling block. The Idea, The Labour, The Skill, The Market and The Capital are such elements which foster a developing cause/product/service. They are largely equivalent, and are none is bigger, none is smaller which means a good entrepreneur must balance them in his/her eco-system to experience success and sustainability.

How does network get’s it way in. A relevant network is the only way we have those elements in abundance. In this network some are buyers (market) also talk good of us and what we do, some are business partners or charity partners – they invest/fund, some are your employees providing skill and labour, while others could are innovators creating and building ideas. Your Network is your Net Worth so how can you build and sustain it?

Focus on your interests.

Because you need good people around you, it doesn’t mean any famous or popular individual is worth having in your circles. Some have achieved through by hurting others and you don’t want to involve that character in your own personal life or brand life. Because at anytime it can hurt. So know yourself first, know what you are interested in and build your brands are that too. As you do that the people you will attract will most likely have similar interests who posses the qualities of the interests you know you need.

Be responsive

I also suck at this but am doing my best to improve. When you get a new friend or have an old friend, he/she deserves to know you care. Press that phone call or send that text, email once  in a while you never know the nourishment it may bring. This is also necessary, when these people reach out for you. Be that someone that is not focusing to impress everyone but just being there when it’s necessary. And the emotional attachment will improve.

Be supportive

Some day, I was having a Facebook chat with my friend from France. We were discussing about the class I was going through and I hinted on the award winning. Then he hinted that I should be careful about awards. This meant a lot of me, it showed my friend from a far is supportive to me and wishes me the best. Many people who have money desires think such support like a word or two is not that important. For me it’s important.

Be honest

To me honesty is key and a person who is honest has a unique character. It means to be true to yourself as well as others everywhere. This eliminates unnecessary doubts, and it’s fuel to great networks. Just keep calm and always be who you are.

Go to events

If there is anything to be done, can only be done out there – Ortega Ian, a friend of mine said this to me. Choose the events about the causes you love, attend them because chances are; you will meet inspiration there and make new networks.

They are more things you can actually do to build networks and sustain them, feel free to share with the world. By sharing them through comments.

Wish you success! #OneLove

 

 


Yes, It’s the death of our nation.

africa

When I invited a friend to come to a Tech event I was organizing in Uganda, he went straight to Wikipedia, one, because he loves it, he has used this tool to learn about the things he does, gardening, renovating houses, fixing kitchen etc. He later pinged me on Skype and told me his finding, he just learned that life expectancy in Uganda is 58 years. That did not surprise me, in Kenya we are at 64 years, a difference of 6 years only. This is an African reality, the rich continent, where leaders cling on power for decades while their people die of diseases that can be cured easily. As my friend always says, “he just perished, like a good African”…. that’s his father.

 

The wealth of Africa is something we just read in books, the wealth and poverty of nations – David S. Landis, Fortunes of Africa-Martin Meredith, The looting Machine-Tom Burgis and the list goes on. It’s the looting of Africa that would concern many, especially those living in Africa. The century right now is ripe for an African story, story of how a village boy becomes President of a nation, how a young woman conquers traditions and community obstacle that have been against girl child to head a cooperation. How young people men and women are turned into entrepreneurs overnight through the use of IT and other modern tools. How a young man, with access to the internet becomes a gold medalist in javelin, this and many more are Africa’s rich stories.

 

But the sad stories don’t make it well to the world, it’s a fact that nobody really cares if the west are looting the continent. It’s also a fact that nobody cares if Africans are looting themselves. I would imagine that since the west have been doing this for a while, they have mastered that game, First we were colonized, and we had to fight for our freedom, then when we finally got it, the same people became our friends, in forming governments, in economics, in foreign relations, and in trade. I think it’s a big lie. It’s doubtful that after years of being on our heads, they would wish well for us, but I stand to be corrected. Maybe they are different. For me I doubt the man who gives the children milk, while torturing their fathers is a friend, But that aside, it’s important to agree that “WE” have been defeated, and we should get used to that, for the democracies that we helped build while we were slaves are 300 years ahead of us, the sad reality.

africa3

But when some of the white people pretended to leave, they left some black people with a white pocket with a great desire of want. Some of them commanded a great amount of wealth of the people which they eventually took from them. The people owed them for the fight they put to send the white man to their way. I would say that this, was the beginning of a lost nation, we immediately created a culture that embraced a thief, not the one that steals chicken but that who steals Ksh 2 billion, that in our faces was a thief with grace. Today, African leaders want to loot from their countries left, right and centre, that’s not the problem, the problem is that they have stored all their loot outside Africa, in Swizz banks, Cayman Island, Coney Island, Great Britain etc.

 

While their people die from diseases that could be cured, they have enjoyed their lavish lives, build walls that protect them from the people they steal from, taken their kids to expansive schools abroad and when they cut their piece of cake in the evening, they boost how they work hard to make it happen. I agree the west have been stealing the minerals of this great continent, generated wars and supplied expensive ammunitions to the warlords and militia groups to destabilize the continent, but with the same breath I wonder, why are the African leaders doing the same. Why do they put the young mothers in trouble, the sick, the poor and the true citizen of the nation who try very hard to build it? We refuse to let Africans to die like “good Africans” mothers dying while delivering, children dying because of drinking dirty water, doctors who care more about the money than how to best save a life.

 

We talk no more about the wars, in West Africa, central Africa, south Sudan, and Somalia. The economic crisis in Zimbabwe and South Africa, the oil spill in Nigeria, Civil wars and leaders who don’t want to let go of power, in Burundi, Uganda, Rwanda, etc. Africa is a great continent, but it’s the Dark Continent that everybody is trying to run away from, we have created an immigration crisis in Europe, mostly economical. Can Africa stand on it’s on? Off course yes, with the wealth and not forgetting the loot that take refuge in Swizz banks, why not. We always say that someday things will be better, they should. It took us over 100 years to defeat the colonizers and get our independence, the only trouble is that we do not have 100 years. Things have to work well and they have to work well now.

africa2

I go to bed every night and wonder, is my nation dead? The people who have been involved in big scandals, billions of shillings walk free on the streets and mock us, how poor we are that we do not work hard, that is if they are not still in the office. But most of them still hold public office and every salaries and the loot in their equal measure. Even the churches have stolen from the congregation and made them poor, and still with courage every Sunday they still stand at the pulpit and ask for more. They (con preachers) are everywhere, on the streets, in church, on TV, in hospital, they ask you to plant a seed, but it’s always to their benefit.

 

Our society is dead. The citizens of Africa have been let down by their leaders. We are surrounded by war resulting from bad leadership, poverty and poor governance. We will not die like honorable African…..like good Africans but die while pursuing our goals of making our continent better. We keep the fight, the fight that will liberate the continent in focus.


Summary of the week from 04.07.2016

True Iron Bloggers:

Adedayo Adeniyi (@daydah) :
David Opati Aswani (@susumunyu) :
Manfred Gosch (@1aolivenoel) :
Christine Graf (@christinegraf) :
Hagen Graf (@hagengraf) :
David M.Wampamba (@idesignwebs) :
Juergen Rinck (@irgendlink) :

The lazy ones:

Cash register:

this week: 0 €
total: 5 €
payed: 0 €
spend: 0 €

Debts:

susumunyu 5 €

Blue

After Red, I made Blue.

Here again, I used different shades of one colour: grated Lapislazuli, which gives the ultramarine, indigo and Bleu Ercolano, a synthetic pigment.
Applied in layers with different binders, it creates wonderful colour effects.

As described in one of my previous posts, the color blue as said to have a calming effect, but it stands also for people who are cool analyst, for people, who are living their life after strong principles and facts. “Blue people” tend to think and analyze before they decide and could be that they never do anything as the need to understand all facts is more important than doing something. Such people are introvert, but good planners, strategists and often academics.
They get along well with “red people”.
I learned about color psychology and of course, had to test myself. Without knowing anything about the theory at the beginning, I chose instinctive my place between red and blue, but worked later on in the red group as the blue group was discussing too much 🙂
Probably, I am red-violet 🙂

Tolle Begegnungen

Liebe Blogfreunde von 1aOlivenoel,
dieses Woche hatte ich einige tolle Begegnungen. Die Beste davon war allerdings gestern Abend unter dem Motto :“25 Jahre Abitur“.  Ich hatte mich im Vorfeld bereits richtig darauf gefreut, die Jungs wieder zu sehen mit denen man doch einige Jahre gemeinsam erlebt und gelernt hat. Man ist mit ihnen erwachsen geworden und hat tolle Feste und Partys gefeiert :-).
Jetzt nach so langer Zeit zu sehen, wie jeder diese Zeit für sich  genützt hat, privat oder beruflich, wie sich die Schulkameraden verändert haben. Kenne ich noch die Gesichter, die Namen geht es nicht euch auch so ? Kurz zuvor hatte ich mir nochmals die Exceltabelle mit den Namen derer angeschaut die sich angemeldet haben.
Wir haben uns über die Zeit damals, bis zum Abitur unterhalten die Geschichten und Erinnerungen wiederbelebt und viel gelacht auch über das eine oder andere Missgeschick was einem passiert ist, wenn man vom Lehrer gefragt wurde und keinen Plan hatte.
Es gab aber auch ernste Gespräche denn der eine oder andere Weg ist nicht so glücklich gelaufen, wie man sich das vielleicht alles junger Wilder erhofft hat.
Was aber seit gestern Abend feststeht: Die Zeitabstände müssen kürzer werden … weil Zeit endlich ist….

Da in meinem wöchentlichen Blog das Thema Olivenöl nicht zu kurz kommen soll, greife ich heute noch das Thema „weisse Flocken“ in Olivernöl auf.
Wenn Du Olivenöl in den Kühlschrank stellst oder im Winter in deiner Vorratskammer die Temperatur unter 7°C sinkt, dann wird das Olivenöl dickflüssig und flockig. Das ist normal und auch gut so. Die sich bildenden Kristalle sind Wachse aus der Olivenölschale die bei dieser Temperatur schon fest werden. Wird das Olivenöl wieder wärmer lösen sich diese auf. Das hat keinen Einfluß auf Qualität oder Geschmack. Ich erinnere mich da meine Bauernmarktzeit im Winter da hatte ich nur festes weisses Olivenöl verkauft 🙂

Ich wünsche Euch eine schöne Woche mit tollen Begegnungen.

Accessing and Copying files via Windows CMD

Recently my laptop dropped, and I got the deadly "Check Hard Drive" message.

Too bad I couldn't strangle the cause - my 2 month old baby, who just smiled sweetly at my scream of horror and shocked facial expression. And you guessed right, I forgot to back up for about 8 months - let's just say, since I knew I was pregnant.

I walked around under a cloud of disbelief and shock for 3 days while Vicky went about trying to fix the situation.

All die Menschen, ach all die herrlichen Menschen. #flussnoten #ibcoco

Durchs Fliegengitter des Innenzelts kann ich in die Luft schauen. Das Außenzelt dient mir als Kopfkissen. Die Nacht ist mild. Ich habe das Lager unter zwei riesigen Eichen aufgeschlagen. Neben mir murmelt der Altrhein. Ich bin alleine. Niemand benutzt den Radweg, der durch die Auen führt. Das nächste Dorf ist etliche Kilometer entfernt. Gegen Dunkelheit … All die Menschen, ach all die herrlichen Menschen. #flussnoten #ibcoco weiterlesen