101 - Write a document describing how to create a toolbar in a component

Google's Highly Open Participation Program tries to get young students into Open Source and Joomla! specifically. Everyone is welcome, there are not limits. You can be a coder, documenter, tester, translator to help out. Jump in and start helping!
kleinheero
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Feb 12, 2007 2:29 am

101 - Write a document describing how to create a toolbar in a component

Postby kleinheero » Thu Jan 17, 2008 2:14 am

Hey there Joomla community,

My name is Klein and I am fairly new to Joomla. However, I have just successfully installed Joomla on my Linux server.

I have C++ and PHP experience, and I hope that will come in handy.

As for the task, does anyone have any tips or suggestions?
Last edited by AmyStephen on Mon Feb 04, 2008 8:21 am, edited 1 time in total.

User avatar
jlleblanc
Joomla! Guru
Joomla! Guru
Posts: 963
Joined: Fri Aug 19, 2005 12:37 am
Location: Washington, DC / NoVA
Contact:

Re: 101 - Write a document describing how to create a toolbar in a component

Postby jlleblanc » Thu Jan 17, 2008 1:47 pm

Welcome to the contest!

As for components, Joomla! keeps backend code and frontend code in totally separate folders. Toolbars are used very frequently in the administrator backend, so I would start there to see some examples. All of the backend component code is kept in administrator/components/, with each component having its own folder. Traditionally, this folder has contained a toolbar.nameofcomponent.php file and a toolbar.nameofcomponent.html.php file; both [drive] the toolbar code depending on what task the user is performing. In Joomla! 1.5, a lot of the toolbar code for components are being migrated directly to the template files of the views instead of the 'toolbar' files. Look for files containing the string JToolBarHelper.
Joseph L. LeBlanc: http://www.jlleblanc.com
Frontend components start here: /components/com_[name]/[name].php
Backend components start here: /administrator/components/com_[name]/admin.[name].php

AmyStephen
Joomla! Champion
Joomla! Champion
Posts: 7056
Joined: Wed Nov 22, 2006 3:35 pm
Location: Nebraska
Contact:

Re: 101 - Write a document describing how to create a toolbar in a component

Postby AmyStephen » Wed Jan 23, 2008 6:52 pm

kleinheero -

Did Joe's response help you? The contest is starting to come to an end, please let us know if you need any more information or if you plan to continue on this task.

Thanks,
Amy :)

AmyStephen
Joomla! Champion
Joomla! Champion
Posts: 7056
Joined: Wed Nov 22, 2006 3:35 pm
Location: Nebraska
Contact:

Re: 101 - Write a document describing how to create a toolbar in a component

Postby AmyStephen » Tue Jan 29, 2008 1:59 am

Last week of the contest warning!

Hope to hear from you soon,
Amy :)


Return to “Google's Highly Open Participation Contest”

Who is online

Users browsing this forum: No registered users and 0 guests