[mapguide-users] Re: Problem with Studio 2010 +Flexible layouts
Error
Mark Pendergraft
markp at Meadgilman.com
Tue Feb 23 11:52:38 EST 2010
In order to have a fusion template show up in mapguide studio, you need to do
the following:
1) copy the slate template in your templates directory and rename it "test"
2) in the templates directory, create a file named test.xml
3) in a web browser, open your new template and capture a screen shot.
paste that screen shot into paint (or similar program) and save it as a png
file in the "test" folder you made in step 1, as "preview.png"
4) open the test.xml file and copy the following xml into it (you made need
to change the paths to make it work correctly)
<TemplateInfo>
<Name>Test Layout</Name>
<LocationUrl>fusion/templates/mapguide/test/index.html</LocationUrl>
<Description>Test template</Description>
<PreviewImageUrl>fusion/templates/mapguide/test/preview.png</PreviewImageUrl>
</TemplateInfo>
5) Close down MapGuide Studio if you have it open. Re-open it. You should
see your new template.
I've uploaded a screenshot of MapGuide Studio after having followed the
steps listed above. I added the Standard template that is currently in the
trunk version of Fusion to Studio.
-Mark http://n2.nabble.com/file/n4620098/studio.png
--
View this message in context: http://n2.nabble.com/Problem-with-Studio-2010-Flexible-layouts-Error-tp4596619p4620098.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list