I am quite curious how people go about updating wordpress plugins. I have seen in the past a link to click on the dashboard to update a plugin. What goes on behinds the scenes?
It just downloads the latest package from the wordpress.org or the developers site and extracts it into the existing folder, which is why you should not edit plugin files because your work will be erased if you ever update.
Related
I mistakenly put the plugin I wanted to install into the mod folder, instead of putting it in mod/local.
I clicked on install and got an error, and then I realized my mistake. Now, when I put the plugin into mod/local, I don't get shown any plugins in the list of plugins requiring my attention on the "Plugins check" page, and deleting it also has no effect.
How can I recover my Moodle installation?
No Moodle plugins should ever be installed to [moodle folder]/mod/local.
Activity plugins should be installed to [moodle folder]/mod/[pluginfolder].
Local plugins should be installed to [moodle folder]/local/[pluginfolder].
Have you tried placing the plugin within the /local directory? /mod/local would be the location for a module plugin called "local".
I have written a plugin for CKeditor according to this tutorial: Plugin Tutorial but I can't get it shown on the ckeditor's toolbar of my Joomla 1.5 installation. I have copied it in the plugins folder, registered it in the config.js as an extra plugin, even tried the Advanced Configuration in the backend settings by setting this: CKEDITOR.config.extraPlugins = 'myplugin'; or this config.extraPlugins = 'myplugin' but nothing happens, no button whatsoever. Can someone list the "installation procedure" of the plugin on a joomla 1.5 system? Thanks.
You also have to have an entry in the jos_plugins table. Unless I'm building an installation package for it, I just copy a similar record and make the changes to match my plugin - be sure to get the value in the "folder" correct.
I usually install the new (yearly) release of Eclipse by moving the old one, then unpacking the new one in its place. In other words, a completely clean install. Is there a way to import the list of plugin URLs I had in the old Eclipse, so I can choose to update them in the new release?
I realise some of the URLs might be slightly different and require tweaking such as changing "helios" to "indigo"
Go to Window>Preferences>Install/Update>Available Software Sites, select all the sites you want to bring with you, and click "export".
You can also export your formatter and cleanup settings through the preferences menu.
Try copying your settings metadata into the new Eclipse. Typically that pulls in everything you need such as plugin websites. You still need to reinstall them however.
Or if you used dropins you can just copy them to the new dropins folder.
At work we use Adobe Coldfusion Builder and got no problem installing plugins like MercurialEclipse. But at home I would like to use Eclipse itself, but am running into many many problems. When I try to contact http://cbes.javaforge.com/update it just says "Unable to read repository at http://cbes.javaforge.com/update/content.jar. Installing updates result in an endless ...pending...
What is going wrong here? I thought it would be the firewall. Turned it off, no succes. Tried reading all the articles about this problem, could not find my solution there as well.
Hopefully someone can pinpoint me to the right direction.
Thanx!!
Maarten
Are you using a different version of Eclipse? Try opening the transfers tab before you update and seeing if it's blocking on something like downloading content.jar. If so, the problem is that the repository only supports classic update sites, while Eclipse is only using p2.
As to solving it... I noticed this wasn't working on very recent builds of Eclipse. According to docs, classic is still supposed to be supported. I don't know if this is a change in behavior or a bug. Workarounds would probably be using an older Eclipse, switching to classic updates in Preferences, General/Capabilities, or possibly placing the plugin's zip in the eclipse dropins folder (eclipse/dropins).
I haven't tried these, but the Preferences seems most likely.
I'm using Eclipse 3.7 build I20110526-1708.
Edited
Yeah, you can tell that it's a p2 problem: http://cbes.javaforge.com/update/content.jar is a 404, while http://cbes.javaforge.com/update/site.xml works fine. site.xml is the classic update mechanism.
According to the wiki:
However, users will rarely have a need for enabling Update Manager, because p2 is able to install from any update site that was designed for Update Manager.
I just tried this out myself, and can verify the Capabilites workaround works: After enabling it, go to Help>Software Updates>Find and Install. Click Search for new Features to install, and add your site as a remote site.
It should successfully find the provided features.
As listed on the wiki, this is a workaround, and shouldn't normally be used. I'm not sure why it's necessary; I couldn't find information about it myself.
As for the dropins dir, I made a mistake: it should be a jar file, not a zip. The plugin's jar, which can be found by looking through the site.xml file. This is probably a worse workaround than the first, though.
It may be proxy related issue. Go to network connections preference page and in active provider select manual. Then select HTTP, click on edit and then provide the necessary details. Do the same for HTTPS also in the preference page. Then close the preference page and try again. It should work.
We have an RCP application and we are looking for a better way to do installation/updates. Currently to install, they just unzip a zip file. The zip file also contains scripts in it that are not java code. We were running into some bugs when updating if they don't first delete the old folder that was previous unzipped. The issue with deleting the folder is that the user loses the plugin preferences that were set. The installation would also need to register a COM server. The update would have to update the plugins and also replace the current script folder. What are some of the best options that could be used for installing and updating rcp apps? Thanks!
An option is to use the eclipse update mechanism. In this case the user would simply update like in the eclipse ide using help->software update. I have not used it myself yet ,but I have visited a tutorial from kai tödter, just google "eclipse rcp adanced kai tödter" und you will find some stuff, e.g. slides where he explains the updated mechanism as well as an example project "MP3 Manager" where you can find an example