Page 1 of 1

JToolbar Questions in Comp. Development

Posted: Tue Mar 18, 2008 9:29 am
by phreak_02
Hi everyone,

1.)
Id like to change the "generic.png" icon in an component i'm working on. Where is the directory where its placed ?
If i look into ~/administrator/images/generic.png its a different one (looks like "create article" than the packet).

2.)
I modified the mycomponent.xml in my ~/administrator/components/mycomponent (<menu>My Component</menu>) but the changes do not appear in the Backend Component Menu. I started with the Hello World! (4) to develop, but the menu still shows "Hello World!".

Thanx for help
phreak

Re: JToolbar Questions in Comp. Development

Posted: Tue Mar 18, 2008 11:44 am
by phreak_02
Found out that the names of components appearing are stored in the database, changed it there.

But my first questions is still not solved.

Thanx for help

Re: JToolbar Questions in Comp. Development

Posted: Wed Mar 19, 2008 12:12 pm
by radiant_tech
Id like to change the "generic.png" icon in an component i'm working on. Where is the directory where its placed ?
joomla_root/administrator/templates/khepri/images/header/generic.png

The key is to look at the icon.css file in the khepri template.

Re: JToolbar Questions in Comp. Development

Posted: Mon Mar 24, 2008 5:24 pm
by carsten888
also in table 'components' there is a column where you can specify the image-icon used in the Joomla toolbar for your component. You can use the install() function in the installer-file to update this column.