Add your own component catagories to the toolbar
Moderator: Benj
-
- Posts: 1314
- Joined: Sun Jan 15, 2012 3:15 pm
- Has thanked: 474 times
- Been thanked: 458 times
- Contact:
Add your own component catagories to the toolbar
Further to jonnys post, you now know how to keep components in a remote folder, lets add a new component catagory.
Firstly lets open the cmpntcats.xml it can be found in the folder below, dont forget to BACKUP the original, i use XML notepad for opening xml files ,it's from microsoft and free you can get it here http://www.microsoft.com/en-us/download ... px?id=7973
C:\Program Files (x86)\Flowcode 6 Beta\components\cmpntcats.xml
C:\Program Files \Flowcode 6 Beta\components\cmpntcats.xml
Open the xml file ,go to the last entry copy it, then paste it below itself see image below Next open the one you copied and the one you pasted they both say miac, for now just change the name from miac to whatever you want, i called mine extra component folder save it see image below now open flowcode V6 and you will see your catagory on the components tool bar, notice the graphic, yup its still the miac one see pic below so now if your happy with the miac graphic, your finished, but you may want to make your own, use windows paint(i used another program and it would not display), for simplicity and a good combination of colours i chose to use the bristol rovers fc colours , open a new image and make it 20 by 20 pixels then save it as a bmp or png file , it can be saved in the catimg folder the folder location or if you followed jonnys post in your own component folder, is in the image below ALmost there, now we reopen our cmpntcats.xml file and edit the last entry to point at our image, i keep mine in the original folder but you could put yours into the folder you created for your components to sit in save it see pic below If alls gone well open Flowcode V6 and your image should show on the bar see image below All done hope it helps
Regards
Dazz
Firstly lets open the cmpntcats.xml it can be found in the folder below, dont forget to BACKUP the original, i use XML notepad for opening xml files ,it's from microsoft and free you can get it here http://www.microsoft.com/en-us/download ... px?id=7973
C:\Program Files (x86)\Flowcode 6 Beta\components\cmpntcats.xml
C:\Program Files \Flowcode 6 Beta\components\cmpntcats.xml
Open the xml file ,go to the last entry copy it, then paste it below itself see image below Next open the one you copied and the one you pasted they both say miac, for now just change the name from miac to whatever you want, i called mine extra component folder save it see image below now open flowcode V6 and you will see your catagory on the components tool bar, notice the graphic, yup its still the miac one see pic below so now if your happy with the miac graphic, your finished, but you may want to make your own, use windows paint(i used another program and it would not display), for simplicity and a good combination of colours i chose to use the bristol rovers fc colours , open a new image and make it 20 by 20 pixels then save it as a bmp or png file , it can be saved in the catimg folder the folder location or if you followed jonnys post in your own component folder, is in the image below ALmost there, now we reopen our cmpntcats.xml file and edit the last entry to point at our image, i keep mine in the original folder but you could put yours into the folder you created for your components to sit in save it see pic below If alls gone well open Flowcode V6 and your image should show on the bar see image below All done hope it helps
Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php
-
- Posts: 243
- Joined: Tue Nov 27, 2012 12:53 pm
- Location: Cambridge, UK
- Has thanked: 140 times
- Been thanked: 118 times
- Contact:
Re: Add your own component catagories to the toolbar
Hello Dazz.
This information is very useful for my particular purposes, so thank you for your time to post.
Originally I had the same issue with the icon not displaying in the task-bar, though I used Microsoft Picture Manager to resize a larger graphic to 24 x 24 px and worked just fine. Paint appeared to have some difficulties reducing the 300dpi original.
All according to taste of-course, though here's my own working 'Add-In' logo if anyone wanted a convenient prepared icon to use...
All the best,
Brendan
This information is very useful for my particular purposes, so thank you for your time to post.
Originally I had the same issue with the icon not displaying in the task-bar, though I used Microsoft Picture Manager to resize a larger graphic to 24 x 24 px and worked just fine. Paint appeared to have some difficulties reducing the 300dpi original.
All according to taste of-course, though here's my own working 'Add-In' logo if anyone wanted a convenient prepared icon to use...
All the best,
Brendan
LinkedIn Profile...
http://www.linkedin.com/in/brendantownsend
http://www.linkedin.com/in/brendantownsend
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Add your own component catagories to the toolbar
Hi,
Does this still work with the current version of Flowcode6 as my categories and the xml categories do not tally ?
thanks
Acestu
Does this still work with the current version of Flowcode6 as my categories and the xml categories do not tally ?
thanks
Acestu
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.
Computers are like air conditioners. They work fine until you start opening windows.
-
- Posts: 243
- Joined: Tue Nov 27, 2012 12:53 pm
- Location: Cambridge, UK
- Has thanked: 140 times
- Been thanked: 118 times
- Contact:
Re: Add your own component catagories to the toolbar
Hello Acestu.
Yes, it still works, though the current category list is different from the beta version related to Dazz's original post.
To keep things simple for starters, I copied one of the categories that had no sub-categories (was the DSP I think - third one up from the bottom of the list).
Select the category and copy to clipboard in XML Notepad, then paste to the list and edit as advised.
All the best,
Brendan
Yes, it still works, though the current category list is different from the beta version related to Dazz's original post.
To keep things simple for starters, I copied one of the categories that had no sub-categories (was the DSP I think - third one up from the bottom of the list).
Select the category and copy to clipboard in XML Notepad, then paste to the list and edit as advised.
All the best,
Brendan
LinkedIn Profile...
http://www.linkedin.com/in/brendantownsend
http://www.linkedin.com/in/brendantownsend
-
- Posts: 1314
- Joined: Sun Jan 15, 2012 3:15 pm
- Has thanked: 474 times
- Been thanked: 458 times
- Contact:
Re: Add your own component catagories to the toolbar
Hi Stu
yup just added a catagory caled muppet to my v6 works fine
post a copy of your xml file and a screenshot of your components bar
Regards
Dazz
yup just added a catagory caled muppet to my v6 works fine
post a copy of your xml file and a screenshot of your components bar
Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Add your own component catagories to the toolbar
Hi Fellas,
Here is my components bar:
And my xml file:
cheers
Acestu
P.S. Dazz why do you have some components in a muppet category LOL.
Here is my components bar:
And my xml file:
cheers
Acestu
P.S. Dazz why do you have some components in a muppet category LOL.
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.
Computers are like air conditioners. They work fine until you start opening windows.
-
- Posts: 243
- Joined: Tue Nov 27, 2012 12:53 pm
- Location: Cambridge, UK
- Has thanked: 140 times
- Been thanked: 118 times
- Contact:
Re: Add your own component catagories to the toolbar
Hi Acestu.
Do you have XML Notepad for editing purposes? A very simple and useful M$ tool (thanks Dazz).
Perhaps you should use a Kermit logo for 'Muppet'
All the best,
Brendan
Do you have XML Notepad for editing purposes? A very simple and useful M$ tool (thanks Dazz).
Perhaps you should use a Kermit logo for 'Muppet'
All the best,
Brendan
LinkedIn Profile...
http://www.linkedin.com/in/brendantownsend
http://www.linkedin.com/in/brendantownsend
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Add your own component catagories to the toolbar
Hi Brendan,
Yes I do have that xml editor, but when I opened my xml file it didn't correspond with what was on the comp bar...
cheers
Acestu
Yes I do have that xml editor, but when I opened my xml file it didn't correspond with what was on the comp bar...
cheers
Acestu
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.
Computers are like air conditioners. They work fine until you start opening windows.
-
- Posts: 243
- Joined: Tue Nov 27, 2012 12:53 pm
- Location: Cambridge, UK
- Has thanked: 140 times
- Been thanked: 118 times
- Contact:
Re: Add your own component catagories to the toolbar
Hi Acestu.
Regardless of the components bar (same as mine), your XML is also the same as mine with the exception of my recent addition.
All the best,
Brendan
Regardless of the components bar (same as mine), your XML is also the same as mine with the exception of my recent addition.
All the best,
Brendan
- Attachments
-
- cmpntcats.zip
- (475 Bytes) Downloaded 440 times
LinkedIn Profile...
http://www.linkedin.com/in/brendantownsend
http://www.linkedin.com/in/brendantownsend
-
- Posts: 1314
- Joined: Sun Jan 15, 2012 3:15 pm
- Has thanked: 474 times
- Been thanked: 458 times
- Contact:
Re: Add your own component catagories to the toolbar
Hi stu/brendan
your categories are correct, open V6 click on advanced components and the cal folder your xml points to is a sub category of the advanced components,
Sorry it took so long to reply, been monged out this arvo
Regards
Dazz
your categories are correct, open V6 click on advanced components and the cal folder your xml points to is a sub category of the advanced components,
Sorry it took so long to reply, been monged out this arvo
Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php
-
- Posts: 243
- Joined: Tue Nov 27, 2012 12:53 pm
- Location: Cambridge, UK
- Has thanked: 140 times
- Been thanked: 118 times
- Contact:
Re: Add your own component catagories to the toolbar
Hi Dazz.
I placed my icon on the main components bar as its own top-level category. This approach will allow me to establish at a glance if custom shared components have been prepared on colleague's machines.
I'm anticipating sharing custom files from a mapped drive on the company server, so we're all working from/on the same versions and sharing accordingly.
All the best,
Brendan
I placed my icon on the main components bar as its own top-level category. This approach will allow me to establish at a glance if custom shared components have been prepared on colleague's machines.
I'm anticipating sharing custom files from a mapped drive on the company server, so we're all working from/on the same versions and sharing accordingly.
All the best,
Brendan
LinkedIn Profile...
http://www.linkedin.com/in/brendantownsend
http://www.linkedin.com/in/brendantownsend
-
- Posts: 1314
- Joined: Sun Jan 15, 2012 3:15 pm
- Has thanked: 474 times
- Been thanked: 458 times
- Contact:
Re: Add your own component catagories to the toolbar
Hi brendan
crossed lines
in my last post i was refering to this section of yours n stu's xml file
was pointing out the Cal folder doesnt appear on the tool bar but as a sub section of the advanced folder, so although you have 12 catagories as standard only 11 are shown on the bar
edited because i cant count(and you asked why i have a muppet catagory, its merely a reminder )
Regards
Dazz
crossed lines
in my last post i was refering to this section of yours n stu's xml file
Code: Select all
-<category icon="$(cmpntdir)\catimgs\chip.png" tooltip="" hint="" name="Advanced"><category icon="$(cmpntdir)\catimgs\chip.png" tooltip="" hint="" name="CAL"/>
edited because i cant count(and you asked why i have a muppet catagory, its merely a reminder )
Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php
Re: Add your own component catagories to the toolbar
Hi
This helps in First step.. .. thank you for the Tip,
but in FC 6 . 0 . 6 this do not work ?!...
i can not add a Item - it will not display/show at Toolbar.
so i test simple to rename the MIAC Item for a second Test..
if i try ty chance the MIAC Module to "Test" Module
the MIAC Module Item will not show again..
IF i rename the Item to original "MIAC Module" back..
the MIAC Module Item will show again.
...
i called cmpntcats.xml like you descripe with XML Editor.
i added simple a entry with no sub like you descripe.
Must changed a *.ini File too?
Any suggestion?
Best wishes
Rudi
This helps in First step.. .. thank you for the Tip,
but in FC 6 . 0 . 6 this do not work ?!...
i can not add a Item - it will not display/show at Toolbar.
so i test simple to rename the MIAC Item for a second Test..
if i try ty chance the MIAC Module to "Test" Module
the MIAC Module Item will not show again..
IF i rename the Item to original "MIAC Module" back..
the MIAC Module Item will show again.
...
i called cmpntcats.xml like you descripe with XML Editor.
i added simple a entry with no sub like you descripe.
Must changed a *.ini File too?
Any suggestion?
Best wishes
Rudi