Some of my "backwards compatible" gadgets are displaying the home view when added to a webpage. This is a real nuisance as I have coded for when there are no views available, and with the home view have included a link to canvas view. Obviously, the canvas link won't work when the gadget is added to a webpage, and the home view is not the version intended for adding to a webpage!
I'm sure when I originally tested, the code for adding to a webpage would grab the html content type without a view. I would not have been aware of this issue, if I hadn't recently been working on adding my gadgets to webpages. Just to make it clear: this is what was happening before: <?xml version="1.0" encoding="UTF-8"?> <Module> <ModulePrefs title="Backwards Compatibility"> </ModulePrefs> <Content type="html"> <![CDATA[ ****************************** Users without access to canvas view see this*********************************. ]]> </Content> <Content type="html" view="home"> <![CDATA[ Users with canvas view see this in the "home" view. ]]> </Content> <Content type="html" view="canvas"> <![CDATA[ Users with canvas view see this in the "canvas" view. ]]> </Content> </Module> This is what is happening now, in some, not all instances: <?xml version="1.0" encoding="UTF-8"?> <Module> <ModulePrefs title="Backwards Compatibility"> </ModulePrefs> <Content type="html"> <![CDATA[ ]]> </Content> <Content type="html" view="home"> <![CDATA[ ********************************Users without access to canvas view see this.*************************************************** ]]> </Content> <Content type="html" view="canvas"> <![CDATA[ Users with canvas view see this in the "canvas" view. ]]> </Content> </Module> Has something changed or broken? Is this happening to other people? Or perhaps there is another approach I could use - I don't want to have a two links scenario "click here if canvas is supported" or "click here if canvas is not available". -- You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/Google-Gadgets-API?hl=en.
