|
Step By Step Installation
of Joomla component Hello World
-
Install joomla 1.5
.x
-my
personal tip is to use xampplite http://www.apachefriends.org/en/xampp.html
this
package contains all we need to try joomla.
Pros :
- it doesn't install
any rubbish
- we don't need to be
afraid of getting interfere with our registry or services
- easy to install
- easy to portability
(pack, copy, unpack, use; easy to change a directory path)
-
-
Log in joomla as
Administrator user
- Extensions->”Install/Uninstall”

-
Press “Browse”
button and find you downloaded file com_helloworld01.zip on your
computer.
-
Install component by
pressing “Upload File & Install“button.

-
Test Administration
module
-
Make menu for our new
component
Menus -> Main Menu ->
New -HelloWorld(double click) ->Name: Show me HelloWORLD!
Menu New

-
Let's show me new
component
Go to your joomla website
and click on Show me HelloWORLD!link

-
What about component
localization?
You will need to have
installed czech language package. It's not finished yet so let's
cheat a little.
Copy “cs-CZ” folder
from your joomla installation folder
(e.g.
c:\web\xampplite\htdocs\j15\installation\language\cs-CZ) to your
language folder and your administrator language folder.
(e.g.
c:\web\xampplite\htdocs\j15\language\cs-CZ and
c:\web\xampplite\htdocs\j15\administrator\language\cs-CZ )
If you didn't prepare it
before the component instalation you have to uninstall/install the
component.
Let's make some testing.
Go to Administrator
section and select Czech language for both site/administrator as
DEFAULT!

Go to componentadministration/joomla site and see the component text in czech.
-
Check out the joomla
system log file
[joomla folder ] +
\logs\error.log
(e.g.
c:\web\xampplite\htdocs\j15\logs\error.log )
#Version: 1.0
#Date: 2007-02-06 16:51:17
#Fields:
date time level c-ip status comment
#Software: Joomla! 1.5.0
Beta [ Khepri ] 12-Oct-2006 00:00 GMT
2007-02-06 16:51:17 0 127.0.0.1 1 hellodefault
:Hello World. I just finished my first Joomla 1.5 component.
2007-02-06 16:51:26 0 127.0.0.1 1 helloworld
:Hello World
2007-02-06 16:51:29 0 127.0.0.1 1 helloagain
:Hello Again
2007-02-07 17:03:18 0 127.0.0.1 1 helloagain
:Hello Again
2007-02-07 17:03:20 0 127.0.0.1 1 helloworld
:Hello World
2007-02-07 17:05:00 0 127.0.0.1 1 helloworld
:Ahoj Světe
2007-02-07 17:05:03 0 127.0.0.1 1 helloagain
:Ahoj Znova
2007-02-07 17:05:11 0 127.0.0.1 1 helloworld
:Ahoj Světe
2007-02-08 16:55:54 0 127.0.0.1 1 helloworld
:Hello World
2007-02-08 16:55:58 0 127.0.0.1 1 helloagain
:Hello Again
2007-02-08 16:56:14 0 127.0.0.1 1 hellotestfoo
:Ahoj Světe, moje první testovací funkce byla právě
spuštěna.
|