Edit xml file via cms admin area.

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
zaas

Edit xml file via cms admin area.

Post 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...
cyberman

Re: Edit xml file via cms admin area.

Post 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.
zaas

Re: Edit xml file via cms admin area.

Post by zaas »

Hi cyberman, would that be possible to integrate as a mod in this cms?

Thanks

Mark
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Edit xml file via cms admin area.

Post 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
Last edited by RonnyK on Wed Apr 04, 2007 2:24 pm, edited 1 time in total.
zaas

Re: Edit xml file via cms admin area.

Post by zaas »

Great - thanks Ronny - I'll give that a shot!

Regards,


Mark
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Edit xml file via cms admin area.

Post 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
zaas

Re: Edit xml file via cms admin area.

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Edit xml file via cms admin area.

Post 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
Locked

Return to “CMSMS Core”