badar Posted January 1, 2012 Report Share Posted January 1, 2012 First of all, Happy New Year. I want to use custom stylesheet for some tools in ArcGIS. I searched and found the following link. http://webhelp.esri.com/arcgiSDEsktop/9.3/index.cfm?TopicName=Changing_tool_dialog_appearance I exactly followed the instructions but I can't even get the very first step described in the link working-i.e. changing the background image of the tool. I can't even make my tool to read default "MdDlgContent.xsl". i.e. at least if I use this stylesheet for my tool then it should display esri.gif as the background image that is present in the mentioned folder by default. After giving tool the path of my modified MdDlgContent.xsl stylesheet the tool dialogue box opens like before-no change at all. I then found SSContent.xsl in the same mentioned link. I tried to use that and changed the paths and names w.r.t my PC. This time, tool dialogue box didn't even open with no errors. Any Ideas??? Quote Link to comment Share on other sites More sharing options...
Lurker Posted January 2, 2012 Report Share Posted January 2, 2012 there are 3 alternative way to change the default background, which one you use? hem, also please make sure that you use the correct path for the file, recheck again, I've seen so many tricky path on the tutorial regards Quote Link to comment Share on other sites More sharing options...
badar Posted January 2, 2012 Author Report Share Posted January 2, 2012 Yaar, I tried all 3 methods and definitely I made sure that the path in XSL for each method is correct and that the image is present at the defined path. I also tried to use the default MdDlgContent.xsl file with no change at all so that it should display esri.gif in the tool dialogue but it isn't showing even the esri logo. So this way I am sure that issue isn't with the path or filetype. :evil: Quote Link to comment Share on other sites More sharing options...
Administrators EmperoR Posted January 2, 2012 Administrators Report Share Posted January 2, 2012 hem, weird, to bad I dont have 9.3 installation in my PC, so I cant try this. I use version 10. if you use vista or 7, you need administrator account to make this modification, Quote Link to comment Share on other sites More sharing options...
badar Posted January 2, 2012 Author Report Share Posted January 2, 2012 Sadly enough, running ArcGIS as Administrator also didn't solve the problem. :sad: Quote Link to comment Share on other sites More sharing options...
badar Posted January 7, 2012 Author Report Share Posted January 7, 2012 :evil: :evil: :evil: :evil: :evil: After wasting whole week looking into XML XSL HTML Javascript, I just found that Background Image Variable is defined in XSL; Later in Javascript in the line where this variable is to be used is commented out by default and esri faggots didn't mentioned this little problem in the tutorial. I even posted this on esri forum and sent them feedback for support but to no avail. You don't know how much I want to use abusive language for ESRI ppl but ........... :angry: :angry: BTW THAT MEANS MY PROBLEM IS SOLVED Quote Link to comment Share on other sites More sharing options...
Administrators EmperoR Posted January 8, 2012 Administrators Report Share Posted January 8, 2012 bhahahahahahaha, so it is just because those tiny comment, :shocked: Shame on ESRI doc maker, they should replace with the better one :evil: congrats mate, you deserve +1 from me for your hard work :grin: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.