Page 1 of 1

Edit xml file via cms admin area.

Posted: Wed Apr 04, 2007 1:49 pm
by zaas
Hi, I wonder if anyone can help me - I'm trying to work something out. Basically I have a Flash ticker script which reads the news headlines from an XML file. Currently I open up notepad and edit the xml file then ftp to the server, which is ok but now I'm using this cms system - I wondered if it was possible to edit the xml file via the admin area.

This is the code for the flash ticker which calls config.xml.


     
     
     
     
     
   

I tried creating a template for the xml file - but I think this is then sent to the database and I don't know how the flash file can 'find' the xml file then.

Any ideas or help on this would be great!

By the way - this is the best cms system I have ever used...

Re: Edit xml file via cms admin area.

Posted: Wed Apr 04, 2007 2:01 pm
by cyberman
zaas wrote: I wondered if it was possible to edit the xml file via the admin area.
Last days a new file manager was released in forge which makes file manipulating possible.

Re: Edit xml file via cms admin area.

Posted: Wed Apr 04, 2007 2:11 pm
by zaas
Hi cyberman, would that be possible to integrate as a mod in this cms?

Thanks

Mark

Re: Edit xml file via cms admin area.

Posted: Wed Apr 04, 2007 2:20 pm
by RonnyK
Mark,

I think Cyberman is referring to "File Editor",

http://dev.cmsmadesimple.org/projects/fileeditor/

You can download it from there and either unzip/FTP to your machine, or use the xml to be uploaded from "Extensions ->Modules". You can also install it directly by going into "Extensions -> Module Manager" and under "F" is this module listed and ready for install.

Ronny

Re: Edit xml file via cms admin area.

Posted: Wed Apr 04, 2007 2:21 pm
by zaas
Great - thanks Ronny - I'll give that a shot!

Regards,


Mark

Re: Edit xml file via cms admin area.

Posted: Wed Apr 04, 2007 2:26 pm
by RonnyK
Mark,

Through "Development" on the top menu of the CMS-pages (this forums menu), you can check all modules and tags that are available. You can download them there and use them on your site. Every tag/module that is installed has a help-funtion, telling you how to use it.

Tags are function***.php files that need to be transferred to the "/plugins"-directory and then show up under "Extensions -> Tags", Modules can be installed as described in the earlier post.

dev.cmsmadesimple.org is the basis for the additional modules, also upgrades to installed modules can be downloaded from there.

Ronny

Re: Edit xml file via cms admin area.

Posted: Wed Apr 04, 2007 2:33 pm
by zaas
Thanks for the heads-up with that Ronny. It's my first site with this CMS system.

I have just installed the module from the admin area - it is working fine for all text files - it has a [edit] next to text files but no edit with the file I need to edit config.xml - any ideas on this ronny?

Thanks again

Mark

Re: Edit xml file via cms admin area.

Posted: Thu Apr 05, 2007 10:21 am
by RonnyK
Sorry Mark,

I don't know the module at all, I was just pointing you to the module mentioned and some general logic about modules/tags. I don't use this one, maybe one of the others can explain you the working of it.

Ronny