Page 1 of 1

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

Posted: Thu Jan 17, 2008 2:14 am
by kleinheero
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?

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

Posted: Thu Jan 17, 2008 1:47 pm
by jlleblanc
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.

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

Posted: Wed Jan 23, 2008 6:52 pm
by AmyStephen
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 :)

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

Posted: Tue Jan 29, 2008 1:59 am
by AmyStephen
Last week of the contest warning!

Hope to hear from you soon,
Amy :)