Hello World 2 (WIP)

Have a programming question regarding your component, plug-in, extension or core hacks? Have an interesting tidbit, FAQ or programming tip you’d like to share? This is the place for you.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Post Reply
User avatar
Matrikular
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed May 09, 2007 2:11 pm
Contact:

Hello World 2 (WIP)

Post by Matrikular » Sat Sep 22, 2007 7:43 pm

Hi there,...
eh - just would like to know if im mistaken when i say that the Hello World 2 documentation on how to code a component for 1.5 is ... =) ?! not working ? Forum Search did not bring up an info on that so - execute me if this already has been discussed.

If i may point on line 9 of hello.html.php - version 2
http://dev.joomla.org/component/option, ... lo_world2/

Code: Select all

echo '<a href="index.php?option=com_hello&id='. $name[0] .'">'. $name[1] .'</a><br/>';


... shouldnt this be something like:

Code: Select all

echo '<a href="index.php?option=com_hello&task=view&id='. $name[0] .'">'. $name[1] .'</a><br/>';


and there seems to be a problem with the breadcrumb part, too - again pls correct me.
- last thing: installation files which should be found as an example at the buttom are empty aaaand part 3 and 4 are ... =) missing.

im not able to do that tutorials - otherwise i would publish them, but i saw that there is a lot going on these days in documentiation so maybe some of you is in mood to do that - or tell me and i do it, or we ask someone to do that for us =) naaah, what ever - saturday, you know.

well - sure not that big deal in this tutorials but ,...

have a nice day
Sven

btw: im not drunk
the map is not the territory
Teach Yourself Programming in Ten Years

User avatar
ianmac
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 237
Joined: Sat Sep 24, 2005 11:01 pm
Location: Toronto, Canada

Re: Hello World 2 (WIP)

Post by ianmac » Tue Sep 25, 2007 6:40 pm

Hey,

These tutorials are not currently supported because they follow the old non-MVC component design pattern.  If somebody wants to step in and maintain them, they are welcome to, but this is not on the list of objectives for the developer documentation team.  We recommend using the MVC architecture in 1.5 as it produces clean code and facilitates features such as template overrides and more flexible menu options in the menu manager.

Ian
Help test my Component XML Generator Tool!
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1997/Itemid,35/
All feedback appreciated!

User avatar
Matrikular
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed May 09, 2007 2:11 pm
Contact:

Re: Hello World 2 (WIP)

Post by Matrikular » Wed Sep 26, 2007 9:31 am

Hey,...
thought so - but thx for the answer.
I'll have closer look on the new tutorials then.

Sven
the map is not the territory
Teach Yourself Programming in Ten Years


Post Reply