Escolar Documentos
Profissional Documentos
Cultura Documentos
CMS with
Joomla!
Course outline
First day
Introduction to CMS
Installation
Second day (backend)
Control panel, User manager
Media manager
Article manager, Menu manager
Extensions
Third day (frontend)
Article manager
Extras, Q&A session
1. Introduction to CMS
Overview of content management systems
(CMS)
Using Joomla!
Overview of CMS
Open Source Competency Centre, MAMPU
Best practices
Open Source Competency Centre, MAMPU
Open Source CMS
Typo3 Tikiwiki
Xaraya eZ Publish
Plone WordPress
PhpNuke Drupal
XOOPS Mambo
phpCMS Typo
Liferay
Open Source Competency Centre, MAMPU
Using Joomla!
Open Source Competency Centre, MAMPU
Why Joomla?
Open Source Competency Centre, MAMPU
Exercise 1
a) Compare and discuss about:
● Technology (based on what language, compatible
with what platform)
● Features (common main features)
● Support (how many support channels, how big is
the community, how active)
● Extension (how many extensions, can the CMS be
extended to more functionalities)
between Joomla! and other CMS
Open Source Competency Centre, MAMPU
2. Installation of Joomla!
●
Check installations & services
●
Download Joomla
●
Create database and user
●
Point browser to installation page
Check installations & services
Minimum requirements to install Joomla! 1.5
(http://help.joomla.org/content/view/1938/310/)
PHP 4.3.10 (5.0.x)
MySQL 3.23.x or above (5.0.x)
Apache 1.3.9.x or above (2.2.x)
[oscc ~]$ su -
Enter password:
[root ~]# php -v
[root ~]# mysql -V
[root ~]# httpd -V
[root ~]# service httpd status
Your Total Business Solution Partner
Open Source Competency Centre, MAMPU
Download
Move it there
●
mysql>
Open Source Competency Centre, MAMPU
Database
Open Source Competency Centre, MAMPU
Installation
Open Source Competency Centre, MAMPU
Installation
Open Source Competency Centre, MAMPU
Installation
Open Source Competency Centre, MAMPU
Installation
Open Source Competency Centre, MAMPU
Installation Not required if on Windows
Open Source Competency Centre, MAMPU
Installation
Choose your
own admin
password
Open Source Competency Centre, MAMPU
You will get this page only if you haven't
Installation changed permission like in Slide 12
Open Source Competency Centre, MAMPU
Installation
● Copy & paste code from Joomla finish page and save as
configuration.php under /var/www/html/joomla (using any
text editor) – you only have to do this if you haven't
changed permission like in Slide 12
Open Source Competency Centre, MAMPU
Installation No need to do this if on Windows
Open Source Competency Centre, MAMPU
Installation No need to do this if on Windows
● contd....
[root joomla]# cd administrator
[root administrator]# chmod 777 tmp -R
[root administrator]# chmod 777 components -R
[root administrator]# chmod 777 templates -R
[root administrator]# chmod 777 modules -R
(back-end)
Open Source Competency Centre, MAMPU
Default install website layout
Open Source Competency Centre, MAMPU
3. Joomla! backend
Control panel, Global configuration
Roles & privileges
User manager
Media manager
Article manager
Menu manager
Extensions manager (template, components
& plugins
Control panel (logged in as admin)
Version number
Menu bar
Quick icons
Open Source Competency Centre, MAMPU
Control panel
menu
Open Source Competency Centre, MAMPU
Global configuration
Open Source Competency Centre, MAMPU
Roles & privileges
Open Source Competency Centre, MAMPU
User manager
Open Source Competency Centre, MAMPU
Media manager
Open Source Competency Centre, MAMPU
Exercise 2
As admin:
a) Change the site name
b) Change the time zone
c) Create a user with a role 'Manager'
As manager:
a) Create a folder “mynews” under stories/
b) Upload an image to that folder
Open Source Competency Centre, MAMPU
Article manager
Sections are big containers
eg Products, Profile
they hold Categories
Categories are little containers
eg. Maps, Publications (under Products)
eg. Organisation Charts, Vision, Mission (under Profile)
they hold Content Items/Articles
Articles are all the text and images you want to appear on
a page
To create an article, MUST create its Section & Category
Your Total Business Solution Partner
first
Open Source Competency Centre, MAMPU
Article manager
Open Source Competency Centre, MAMPU
Article manager
Image
To insert images uploaded in Media Manager
Can only insert images uploaded under stories/
Pagebreak
To break an article into multiple pages – provides navigation
(prev, next, toc)
Place cursor where you want the article to break
Black dashed line will appear
Read More...
To break an article and provide Read More button/link to view
Your Total Business Solution Partner
the whole article
Place cursor where you want button/link to appear
Red dashed line will appear
Open Source Competency Centre, MAMPU
Front page manager
Open Source Competency Centre, MAMPU
Exercise 3
a) Create a Section “pets”
b) Create 2 Categories under that Section
● “Cat”, “Fish”
c) Create 3 Articles under each Category
● “Domestic”, “Tiger”, “Others”
● “Shark”, “Arapaima”, “Others”
d) Try rearranging the order
e) Create articles in each section and try searching for your
articles
f) Publish 1 article on front page
Open Source Competency Centre, MAMPU
Menu manager
Open Source Competency Centre, MAMPU
Menu manager
Also possible to
To add a menu box Extensions > Module
Create menu section first
Manager > New >
Menu but have to set
Menus > Menu Manager > New the class suffix for
CSS styling (under
Every menu must be unique Advanced
Copy existing menu module (eg. Main Menu) Parameters)
Extensions > Module Manager
Select 'Main Menu' > Copy
Click on 'Copy of Main Menu' to edit
Fill up title to display
Select menu name Module Parameteres > Menu Name >
Your Total Business Solution Partner
select the menu section you want to appear inside the box
Enable the menu box
Open Source Competency Centre, MAMPU
Menu manager
To add a menu item inside
menu box
Determine which menu
If a component
section has a menu item,
Menus > Menu Manager > it will show up
[menu section] here. What kind
of links available
Add new menu item for component
Click on New depends on the
component itself.
Select menu item type (article
layout, category list, etc)
Fill up title to show & make
Your Total Business Solution Partner
sure to fill up parameters on
right hand side
Open Source Competency Centre, MAMPU
Exercise 4
a) Create a new menu box
b) Add 3 menu items inside the box linking to your
articles, using
● Article layout
● Category blog layout
● Section layout
What are the differences between the layouts?
c) Add 2 more items inside, using
● External link
● Wrapper
Open Source Competency Centre, MAMPU
Extensions
Open Source Competency Centre, MAMPU
Extensions
Modules
lightweight and flexible extension that is used for page
rendering
generally less complex and are able to be seen across
different components
eg. Breadcrumbs, Menu, Syndication, Who's online
Plugins
handle events triggered by the core application and
extensions
extend third-party extensions
Templates
Your Total Business Solution Partner
Open Source Competency Centre, MAMPU
Extensions
To install an extension
Extension -> Install/Uninstall -> Browse the file (*.zip) ->
Click Upload File & Install
Joomla! will recognize whether it's a component, module,
plugin, language or template, and create appropriate links
Extension compatibility:
1.5 Native
Joomla! 1.5.x compatible
1.5 Legacy
Joomla! 1.5.x with Legacy plugin enabled
Your Total Business Solution Partner
Extensions > Plugin Manager > enable System Legacy
1.0 Native
Joomla! 1.0.x compatible
Open Source Competency Centre, MAMPU
Template
Change banner
Go to active template folder and replace the banner
with the same name
/var/www/html/joomla/templates/<activetemplate>/images/
Look for the banner's name
Rename new banner with the name (also with the same ext
eg. gif, jpeg, png, etc)
Copy and paste new banner to replace the old one
Or change banner name and path in CSS file
/var/www/html/joomla/templates/<activetemplate>/css/
Your Total Business Solution Partner
Look for template.css
Find div#logo and edit the banner name and path
Open Source Competency Centre, MAMPU
Exercise 5
a) Rearrange menu boxes, disable and enable it
back
b) Install a template and make it default
c) Change website header image
d) Install module/component and enable it to
display on website
Open Source Competency Centre, MAMPU
a) Joomlaxplorer
b) http://extensions.joomla.org
Open Source Competency Centre, MAMPU
4. Joomla! frontend
Roles & privileges
Article manager
Roles & privileges
Open Source Competency Centre, MAMPU
Article manager
Open Source Competency Centre, MAMPU
Submit article Author
Author
cannot edit
his articles
after
submission
Your Total Business Solution Partner
Open Source Competency Centre, MAMPU
Submit article Author
Fill in if want to
schedule the
article
Will be
displayed after
submission
Open Source Competency Centre, MAMPU
Edit article Editor
Open Source Competency Centre, MAMPU
Edit article Editor
Open Source Competency Centre, MAMPU
Publish article Publisher
Open Source Competency Centre, MAMPU
Publish article Publisher
Option to publish/make
public this article
Open Source Competency Centre, MAMPU
Exercise 6
a) Create a Publisher as “publisher”
b) Create an Editor as “editor”
c) Create one or more Authors as “author1”,
“author2”
d) Understand the flow of publishing by having the
author(s) create an article, editor edit the
articles then the publisher will publish it to the
site.
# /sbin/ifconfig
# service iptables stop
Open Source Competency Centre, MAMPU
5. Extras
Security
Extra Components
Q&A
Security
Open Source Competency Centre, MAMPU
Joomla! Installation precautions
Open Source Competency Centre, MAMPU
Joomla! Post install precautions
Open Source Competency Centre, MAMPU
Joomla! Post install precautions
Open Source Competency Centre, MAMPU
Example of a Joomla! exploit
Open Source Competency Centre, MAMPU
Joomla! Routine precautions
Open Source Competency Centre, MAMPU
Extra Components
Open Source Competency Centre, MAMPU
Extra Components
Plugin Googlemaps
Plugin for displaying one or more googlemaps within
content-items, modules or components
Joom!Fish
To maintain and organize your manual translated
content in your Joomla! database
Xmap
Sitemap component for Joomla!
Remember, Google is
your best friend!
Your Total Business Solution Partner
Open Source Competency Centre, MAMPU