Step By Step Installation of Joomla 1.5 component
Hello World
Introduction:
A "hello world" program is a classic software program that prints "Hello world!" on a display device. It's very popular introductory tutorial for teaching a programming language or an application framework. Such a program is typically one of the simplest programs possible.
This Joomla 1.5 "hello world" component is not an exception. I will keep it as simple as possible. The main purpose of this component is to encourage joomla developers to implement joomla 1.5 components and my personal goal is to sort out my thoughts of "clean" component. Believe or not I' m also just a joomla developer learner.
If you have any comments please go to developers joomla1.5 forum My next tutorial will be "hello world" using the new MVC framework included in Joomla! 1.5, so keep in touch.
- Install joomla 1.5 beta 1
-my personal tip is to use xampplite http://www.apachefriends.org/en/xampp.html this package contains all we need to try joomla.
Pros :
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
- simple and portable (pack, copy, unpack, use; easy to change a directory path)
- Download component from website http://www.vojtechovsky.net/joomla/com_helloworld.zip
- Log in joomla as Administrator user
Extensions->”Install/Uninstall”
- Press “Browse” button and find you downloaded file com_helloworld.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!
- 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 in joomla 1.5 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 component administration/joomla site and see the component text in czech.

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 component administration/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.
(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.
courtesy: http://www.vojtechovsky.net/joomla/
No comments:
Post a Comment