Pages: [1] |
|
|
Author |
Topic: Flash files and XML with SM (Read 499 times) |
roguetiger
Posts: 4
|
hello - this program is awesome! I have a few questions however, regarding a specific set up on my site.
I have this program set up in a client's website. They have a Flash image gallery that pulls the images from a separate XML file (located in a "gallery" folder within the site structure). I want to allow her to edit the XML file to tell the flash file to add another image. I tried setting up a snippet on the XML file and once I changed the WYSIWYG editor to plain text I was able to edit the file. Unfortunately, once this was done, the flash file stopped working on FireFox and IE.
Also, I'm not sure how to set up the site to allow the client to upload new image files to a pre-specified folder on the server. (sorry for the noob question!)
Any ideas?
Thanks in advance!
(p.s - I'm more of a designer than coder, so I attached a file showing the structure breakdown. Hope this helps!)
|
|
|
|
admin
Forum Administrator

Posts: 2395
SnippetMaster Author
|
Hello,
If you open the file for editing as a "whole file' in Snippetmaster editor, then it will add any missing HTML code to make the file compliant and valid HTML. I think that's probably what's breaking the xml...
What you should do is use the "Snippet Tag" feature, so that the file is opened using "Snippet Mode", and then specify the "WYSIWYG=off" attribute. This will make sure the editor is not used, and the file won't be messed up.
let me know how it goes. I use Snippetmaster myself to edit XML files like this, so I know it does work.
|
|
|
|
roguetiger
Posts: 4
|
Rock out! That works.
One thing though. (I'm still learning the layout of the program)
How do I specify the "WYSIWYG=off" attribute? I found the button that allows you to edit the HTML source, but is there an easier way, or a way to set it up within the admin so it always takes the WYSIWYG editor off?
BTW, this is a fantastic program! Once you get everything set up, it makes it so easy to allow clients to edit their own site without the fear of destroying files like XML and CSS. Thank you for all your hard work!!
|
|
|
|
admin
Forum Administrator

Posts: 2395
SnippetMaster Author
|
|
|
|
|
|
Pages: [1]
|
|
|
|