Need to edit an xml file in the uploads dir

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
dwinters
Forum Members
Forum Members
Posts: 53
Joined: Mon Mar 17, 2008 12:46 pm

Need to edit an xml file in the uploads dir

Post by dwinters »

I found the following module but its way out of date now -> fileeditor

What could / should I use.

Thanks

Dan
Ziggywigged
Power Poster
Power Poster
Posts: 424
Joined: Sat Feb 02, 2008 12:42 am

Re: Need to edit an xml file in the uploads dir

Post by Ziggywigged »

XML files can be edited with simple text editing programs like NotePad, WordPad (PC) or TextEdit (Mac). Not sure if that solves your underlying issue but hope that helps.
Take a penny, leave a penny.
dwinters
Forum Members
Forum Members
Posts: 53
Joined: Mon Mar 17, 2008 12:46 pm

Re: Need to edit an xml file in the uploads dir

Post by dwinters »

I want to be able to edit the file on the server via cmsms - so a basic online text editing module would be good.
cyberman

Re: Need to edit an xml file in the uploads dir

Post by cyberman »

dwinters wrote: I found the following module but its way out of date now -> fileeditor
It's easy to reactivate it

Open FileEditor.module.php with your favourite editor, go to line 283

Code: Select all

	function MaximumCMSVersion()
	{
		return "1.0.5";
	}
and change it to

Code: Select all

	function MaximumCMSVersion()
	{
		return "1.2.5";
	}
dwinters
Forum Members
Forum Members
Posts: 53
Joined: Mon Mar 17, 2008 12:46 pm

Re: Need to edit an xml file in the uploads dir

Post by dwinters »

Thanks but why did they set a limit on it? Does it cause probs under a later version?

And is this the only / best module to edit a text file online through cmsms?

Thanks

Dan
cyberman

Re: Need to edit an xml file in the uploads dir

Post by cyberman »

Its only a possibility to do that.

But the limit is inside the skeleton module so (new) coders think he have to use that function.

As you said this function could be used to "exclude" problems with later versions - but often there is no problem.

There is another file manager module available

http://dev.cmsmadesimple.org/projects/kfm/
Post Reply

Return to “The Lounge”