Page 1 of 1
Need to edit an xml file in the uploads dir
Posted: Mon May 19, 2008 6:41 pm
by dwinters
I found the following module but its way out of date now -> fileeditor
What could / should I use.
Thanks
Dan
Re: Need to edit an xml file in the uploads dir
Posted: Mon May 19, 2008 6:51 pm
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.
Re: Need to edit an xml file in the uploads dir
Posted: Mon May 19, 2008 6:53 pm
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.
Re: Need to edit an xml file in the uploads dir
Posted: Tue May 20, 2008 6:15 am
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";
}
Re: Need to edit an xml file in the uploads dir
Posted: Tue May 20, 2008 8:18 am
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
Re: Need to edit an xml file in the uploads dir
Posted: Tue May 20, 2008 12:13 pm
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/