I was just wondering if i can find php backend which can be used as alternative to poedit to enter translations.
Sometimes we need update view files directly to live server and its painful to download all source to local machine and generate .po files and translate them using poedit and upload again. Can anyone help?
It's not PHP, but there is Transifex, in both download and hosted form. </shamelessplug>
i am using FTP for uploading and downloading PHP files as well as folders, so in that case if you want to edit/update only some of the source in the FTP you can right click on file name where you get the option for "View/edit" which can be open in any of your editor and its still connected with FTP so whenever you done change in that file and save it will automatically save on your live server too.
So if your query what i have understood then you can use my answer.
Thank you.
I'm using WordPress for my website. There is a plugin for WordPress that can edit po-files and generate mo-files.
CodeStyling Localization (plugin for WordPress):
http://www.code-styling.de/english/development/wordpress-plugin-codestyling-localization-en
Unfortunately, if you're not using WordPress you have nothing.
Related
I have four servers and and on one of these servers i have installed Wordpress for selling digital files. For security reasons i don't want to keep files on the same server as Wordpress is installed. I want to move "Uploads" folder to other three servers and connect theme to Wordpress core. So whenever i upload something via Wordpress i want it to be transferred to the second or third server based on file format. How is such thing possible?
P.S: Unfortunately i can't use Amazon S3.
This was an interesting answer:
https://wordpress.stackexchange.com/questions/74180/upload-images-to-remote-server/78129#78129
It is a bit outdated, but the code says is still does the trick. However, to do exactly what you need, some modifications are required.
Hopefully this will be helpful to you. Have a nice day!
I am working on a site, and the client wants me to start from scratch with a new theme. They are using wordpress but don't like the theme. They still want the info, but they want me to use a different theme and make it look nicer.
They set me up with a testing server so I don't wreck the current site, but they hadn't transferred the content over, is there an easy way to do that? It'd be nice if I din't have to reinsert everything.
You can dump the wordpress database and execute it on the new staging website this way you will keep every data.
Sure, assuming you're newer to this it's easiest to use phpMyAdmin to view the database.
Click the 'Export' tab to export the database in SQL format.
Create a new database on the staging server with the same name as the .sql file.
On the new database in phpMyAdmin, click 'Import' and upload the .sql file.
Make sure the credentials all match in your wp-config.php file.
The best and most easiest way to do this by using a well known plugin called Duplicator
Here is the link: https://wordpress.org/plugins/duplicator/
This plugin will help you to create a duplicate version of the current site very easily.
Hope this helps :)
I wish to duplicate my current website so I can play around and try new ideas, before putting them on my live site. The reason I want to duplicate is so I have all of the content etc, so I can see how it really looks. I understand I can just copy my entire WordPress install into another directory, but what do I do with my database?
Currently my WordPress is installed into the root directory, I will simple create a new directory called Dev. Then simple just add /Dev to my URL and voila, I can view my duplicated website.
But how do I deal with my database? I am using a MySQL database, hosted with GoDaddy.
(I want to change my hosting from GoDaddy to someone else once the renewal is up, mainly because of their support for SOPA. anyway that's for another time...)
If you have phpMyAdmin installed, you may export your wordpress database, then create a new database and import the .sql file you just exported. Next, configure the copied wordpress to use your new database. The configuration is in wp-config.php. Good luck :)
Like the other answers here i suggest you export your DB via phpmyadmin if can. You will however notice that all image URLS point to the old domain. To fix this run a find and replace script. I usually use this one: http://interconnectit.com/products/search-and-replace-for-wordpress-databases/
Good luck!
The simple way with GoDaddy is to log into your account, go to your hosting management and click the databases tab at the top and then look for phpMyAdmin.
Once in phpMyAdmin, go to the wordpress database and select the operations tab at the top and then use the "Copy database to:" feature.
If your version of phpMyAdmin doesn't show the copy database feature, you can export all tables of the database and import them into your duplicate database.
Hope this helps!
If you don't want to mess around with a new utility like phpmyadmin, you can install a wordpress plugin to back up your database. Then you can copy your files anywhere and use the same plugin to restore the database. I personally use UpdraftPlus - Backup/Restore.
It should be noted that moving your site to a new folder or domain will break a lot of the database data. A simple search and replace is not enough to fix it.
For more information, you can go here: Wordpress Codex
Does anyone know of a simple online file editor that I could put in a folder on the server to enable users to view and modify files? It would have read/write access to source code files (html & css) and open those up in a web-based code editor.
Then when they save it, it would need to have a hook to be able to commit the changes back to whatever revision control system is in place.
Basically I need github.com's capability to edit files that are in a repository without checking the project out.
PHP would probably be the easiest to be able to just drop into a folder, but whatever works.
The Github wiki is open source: https://github.com/github/gollum - it stores the files in the git repository. I don't know of a pure file editor, though.
I have a PHP project setup in Netbeans (v6.8) where all the PHP files are on a remote server and in a single directory. Whenever I save files locally they are updated on the remote server via SFTP.
I now need to edit a remote JavaScript file to add some jQuery logic but the file is located within a different directory on the webserver. How to I add this JavaScript file such that when it is saved or updated it is transferred to it's own location on the server?
When I attempt to create the file locally within NetBeans it saves to the same directory as my PHP files. I would like to be able to continue using NetBeans rather than doing this all manually using an SFTP client and a text editor. Thanks in advance.
Since you're not getting any answers I'll offer a limited suggestion. I use netbeans, but not to automatically upload like you're doing so I may be way off here.
It sounds like you would either need to change your project to have a larger directory structure that would contain everything for this to work like you want it to. Gan you go up a level or two in the directory structure, and add containing folders in your local project to match?
The other option might be to create a second project for the javascript directory, and set that to go were it needs to go. You can create "project groups" in the project view which you can use to link them together. I know this is probably not ideal, but is hopefully easier than doing your uploads manually.