Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-06-26 12:09:00

Dimitri
Member
From: Johannesburg
Registered: 2010-10-31
Posts: 129

New plugin format!!!

I am getting irritated now.

Some plugins are outdated, and the new ones are lurking around in Bitbucket or Github.

I tred to download them but they are in php format.

And I tried to convert them into a plugin format with .txt format with that instructions

// Copy this file to a new name like abc_myplugin.php. Edit the code, then
// run this file at the command line to produce a plugin for distribution:
// $ php abc_myplugin.php > abc_myplugin-0.1.txt

What am i supposed to do? WHat should I do to update/install the new plugins.


<txp:way_too_cool />

Offline

#2 2011-06-26 12:16:49

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,945
Website GitHub

Re: New plugin format!!!

Dimitri wrote:

WHat should I do to update/install the new plugins.

Simplest thing to do might be to install the ied_plugin_composer. There’s a tool at the bottom of the plugin’s list tab that allows you to name a plugin and upload a file containing raw PHP. The Composer will create a plugin for you, from that code. Once saved, you can document the plugin and then use the export tools to save it in .txt, zipped .txt or plugin template format.

Last edited by Bloke (2011-06-26 12:18:08)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2011-06-26 12:21:08

Dimitri
Member
From: Johannesburg
Registered: 2010-10-31
Posts: 129

Re: New plugin format!!!

You saved my ass once again. Thanx Super Bloke


<txp:way_too_cool />

Offline

Board footer

Powered by FluxBB