Ok nerd alert.... When you use a plugin at setup then of course the icons get copied from the plugin www/images folder to the project/images folder, but when you create a plugin without setup then of course you manually have to place the icons in the project/images....
Sometimes i am so into deep thinking that i forget the simple causes. Only thing that is still not working is when i use the "related" parameter in the customadmin/plugin.xml that the page loads the first item of the menu and not show the description and icons. I have named the related parameter to the packages/types cfc's. It now works with the description and icon parameters, but if i can make it simple, why not. Thanks. On Oct 2, 3:49 pm, Marco van den Oever <[EMAIL PROTECTED]> wrote: > I use the below xml file that is positioned in wso_banners/ > customadmin/ : > > <?xml version="1.0" encoding="utf-8"?> > <webtop> > > <section mergeType="merge" id="content"> > > <subsection mergeType="merge" id="plugins" label="Plugins" > labelType="value"> > > <menu mergeType="merge" id="banners" label="Banners" > labelType="value"> > > <menuitem mergeType="merge" id="bannerclientslist" > label="Banner > Clients" link="/admin/customadmin.cfm?module=customlists/ > bannerclients.cfm&plugin=wso_banners" description="This utility > allows you to insert banner clients, the potential business relations > that are interested in placing their banner on your website." > relatedtype="bannerclients" icon="bannerclients" /> > > <menuitem mergeType="merge" id="bannerslist" > label="Banners" > link="/admin/customadmin.cfm?module=customlists/ > banners.cfm&plugin=wso_banners" description="This utility allows > you to insert banner items, put together a mouse over name, > webaddress, image and additional settings." relatedtype="banners" > icon="banners" /> > > </menu> > > </subsection> > > </section> > > </webtop> > > When i click on the content tab and select "plugins" from the left > dropdown, i see the menu on the left en the descriptions on the right. > > I don't see the icons although places properly and named properly. > > When i remove the description parameter in the above code, the add / > edit page is loaded at default, no menu is shown, i want to remove > description and icon parameters because i give the parameter "related" > that should do all the work of getting the description of the type > components and search the icons. > > Not seeing the picture here..... > > On Oct 1, 11:56 pm, Marco van den Oever <[EMAIL PROTECTED]> > wrote: > > > This helps a whole lot, thanks! :) The links and example gave me a > > good insight in how that part works, also i really have to learn to > > search on the docs, it was out there.... > > > I now see the description, only the icons are still not showing. > > > - placed the icons in the plugin folder \www\wsimages\icons\48 (also > > 64) > > - setup the xml with the description and icon="iconname" > > - the icon names corresponds with the icon= parameters and are named > > accordingly to their specific type. > > > Funny thing is that in the googlemaps.xml i don't see icon= parameters > > at all, still that plugin displayed the icons well. > > > Anyway till so far many thanks again for your assistance. > > > On Oct 1, 10:17 pm, "Tomek Kott" <[EMAIL PROTECTED]> wrote: > > > > Hi Marco, > > > > I just checked this myself, and found that what you can't have is an > > > attribute in your <subsection> tag of that xml file that has sidebar="" or > > > content="". I had that in my customadmin.xml file and was stopping me from > > > seeing the descriptions. > > > > My customadmin.xml file looks like this (replaced all strings with ..., > > > just > > > put in your own): > > > > <?xml version="1.0" encoding="utf-8"?> > > > <!-- Sample webtop XML config; remove comments to activate --> > > > <webtop> > > > <section id="..." label="..."> > > > <subsection id="..." label="..." > > > > <menu label="..."...> > > > <menuitem mergeType="merge" sequence="10" > > > id="..." > > > label="..." > > > link="/admin/customadmin.cfm?module=customlists/..." > > > description="..."/> > > > <menuitem mergeType="merge" sequence="20" > > > id="..." > > > label="..." > > > link="/admin/customadmin.cfm?module=customlists/..." > > > description="..." /> > > > <menuitem mergeType="merge" sequence="30" > > > id="..." > > > label="..." > > > link="/admin/customadmin.cfm?module=customlists/..." > > > description="..."/> > > > </menu> > > > </subsection> > > > </section> > > > </webtop> > > > > For me, the descriptions show up as they should on the right hand side, > > > and > > > I have a customlists/ folder under my project/customadmin/ folder with the > > > file. > > > > It might be that customadmin.xml only works for the project folders. > > > Plugins > > > might need customadmin/<pluginname>.xml (i.e. > > > plugins/googlemaps/customadmin/googlemaps.xml, as is present) files for > > > the > > > same effect. I > > > foundhttp://docs.farcrycms.org/display/FCDEV50/Inline+Webtop+Documentation..., > > > as well as reading about where icons are stored. > > > > Hope that helps, > > > > Tomek > > > > On Wed, Oct 1, 2008 at 2:55 PM, Marco van den Oever < > > > > [EMAIL PROTECTED]> wrote: > > > > > I am using FC5 > > > > > In the FC4 documentation i read: > > > > > "FarCry webtop tabs (sections), drop downs (sub-sections) and menu > > > > items are managed through the webtop.xml document. You can supplement > > > > this XML file, or even override sections of the document simply by > > > > adding an appropriately formatted customadmin.xml document to your > > > > projects" > > > > > Although the jcFarcryFlvPlayer and googleMaps player both has no > > > > customadmin.xml and no custom (if that is possible) webtop.xml, both > > > > are showing up in the webtop with icons and everything set. > > > > > When i try this with the banner plugin i'm working on, nothing is > > > > shown on the right side with icons etc, any tips, tricks i need to > > > > know??? > > > > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to farcry-dev@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~---