Jump to content

[Free Module] BO File Editor: no more FTP!


Recommended Posts

I wrote a module that let's you edit your current theme's files right in your BO: no more FTP!

The editor is powered by CodeMirror (www.codemirror.net).

You can see a screenshot attached to this post.

This is v 1.0.0, very basic: if you demand, I'll make improvements.

 

Hope you enjoy  :)

post-563322-0-51624800-1418051617_thumb.png

sythemeeditor.zip

Edited by SimoneS93 (see edit history)
  • Like 3

Share this post


Link to post
Share on other sites

Hello SimoneS93,

 

Very interesting module and very useful, will test it and see how it performs.

Many thanks for sharing this module for free with the community ;)

 

Best regards,

 

ysco..

Share this post


Link to post
Share on other sites

Module works without a problem on my prestashop 1.6.0.9 version.

 

I have a suggestion for improvements.

Now it list all .js .php .txt ect.  if you wan to edit a certain file you must browse to the whole list and is not working easy this way.

Better would be to have a browse option, just browse to the module or theme file that you want to edit and things would be a lot easier.

Would be great if you can add this option.

Also another suggestion is to make screen full size to edit.

 

Further a pretty nice module but needs some improvements to make it complete ;)

 

Thanks.

 

Regards,

 

ysco..

Share this post


Link to post
Share on other sites

@myselfidem I'm really sorry, I don't know what to do to help you. Can you write PHP?

 

@ysco I wanted to make a file tree explorer, but it required work. Since the modules I posted here didn't get much "success", I wanted to see if it was worth it. Sure I'all add it, probably in the weekend.

Share this post


Link to post
Share on other sites

@SimoneS93

 

Great to hear you can add this feature, Thanks for that ;)

 

@myselfidem

 

Like Simones93 already said it is probably a folder permission setting.

 

Regards

 

ysco..

Share this post


Link to post
Share on other sites

Hello,

 

I have a question :

 

It's needed to have the folder : _MACOSX (inside folder modules) and  .DS_Store files ?

 

Thanks

 

*Edit : About translation ; can you add some lines inside editor.tpl :

 <i class="process-icon-save"></i>{l s="Cancel" mod='sythemeeditor'}</button>
  
 <i class="process-icon-save"></i>{l s="Submit" mod='sythemeeditor'}</button>
  
 <i class="process-icon-save"></i>{l s="Submit and stay" mod='sythemeeditor'}</button>

Thank you

Edited by myselfidem (see edit history)

Share this post


Link to post
Share on other sites

Those folders are hidden folders on Mac OS X, you can sure delete them. Translations will be added in the next release, you're right. I used no module because I thought they're quite common strings you find all over the place in Prestashop.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More