Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default View/Edit/Save Language Files via Admin

    Looking to do exactly what the title states.

    I searched the forums and plugins but did not return what I am looking for.

    Anyone know of a downside to editing these files via a "textarea" via an admin page? Or know of an existing plugin I may have over looked?

  2. #2
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,829
    Plugin Contributions
    31

    Default Re: View/Edit/Save Language Files via Admin

    sounds great...this would need to be able to edit both the original language file (for corrections and the corresponding override (for customisations),
    but would this be "allowed" from a security point of view...being able to edit php files from with the admin?
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  3. #3
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: View/Edit/Save Language Files via Admin

    Quote Originally Posted by torvista View Post
    sounds great...this would need to be able to edit both the original language file (for corrections and the corresponding override (for customisations),
    but would this be "allowed" from a security point of view...being able to edit php files from with the admin?
    The idea would be to (1st) create a function that copied the core language files to the template override directory.

    (2nd) only including the files within the template override directory for editing.

    I can't see how this would cause a security issue, all the html_includes define files are also in the language directories but then again that is why I ask, get community involvement, show a demo, get community requests and then package a plugin instead of just posting code that will result in a hundred more questions (seems my fingers got away from me).

    So no, I don't see a security issue.

    I have it functional except the coping of core files, I started with scratch code then I realized what I was doing was trying to recreate Define Pages Editor. Hmmm.....

  4. #4
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: View/Edit/Save Language Files via Admin

    Quote Originally Posted by rbarbour View Post
    The idea would be to (1st) create a function that copied the core language files to the template override directory.

    (2nd) only including the files within the template override directory for editing.

    I can't see how this would cause a security issue, all the html_includes define files are also in the language directories but then again that is why I ask, get community involvement, show a demo, get community requests and then package a plugin instead of just posting code that will result in a hundred more questions (seems my fingers got away from me).

    So no, I don't see a security issue.

    I have it functional except the coping of core files, I started with scratch code then I realized what I was doing was trying to recreate Define Pages Editor. Hmmm.....
    Great idea !!

    I had the same idea some time ago but are lacking the time to start with this project. I do not think there are any real security problems, since the define pages are doing the the same thing, except fir the copying part.
    I do have a piece of code reading defines from a file and lining them up in a form, from another project.

  5. #5
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: View/Edit/Save Language Files via Admin

    Quote Originally Posted by Design75 View Post
    Great idea !!

    I had the same idea some time ago but are lacking the time to start with this project. I do not think there are any real security problems, since the define pages are doing the the same thing, except fir the copying part.
    I do have a piece of code reading defines from a file and lining them up in a form, from another project.
    That sound pretty cool and could possibly be useful.

    The only thing that scares me, is that this may create allot more "blank page" threads, I have a script I put together many years ago that when a file was requested it made a backup and stored it in a separate folder and restored that file by request but that was when my repository was a plastic binder. LOL

 

 

Similar Threads

  1. v139e Can you upload template files via Admin
    By outeredge2 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Jun 2015, 05:03 PM
  2. Debug files not being deleted via admin
    By nigelt74 in forum General Questions
    Replies: 3
    Last Post: 15 Jun 2011, 04:41 AM
  3. Replies: 3
    Last Post: 25 Feb 2010, 06:40 PM
  4. Unable to Edit Anything via Admin
    By status in forum Customization from the Admin
    Replies: 4
    Last Post: 16 Aug 2009, 08:25 AM
  5. Unable to edit customer records via admin area
    By cwhun in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 15 Mar 2009, 03:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg