Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Plugin discussion
  3. » Creating Plugins

#1 2005-07-28 22:32:42

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Creating Plugins

See Extending Textpattern entries in TextBook.

Last edited by wet (2008-11-03 16:14:20)

Offline

#2 2005-08-21 17:52:33

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: Creating Plugins

You should make this post a sticky. I totally missed it the first time around, and it’s got some great information.


Shoving is the answer – pusher robot

Offline

#3 2005-08-22 01:41:10

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Creating Plugins

I have the power! Now you’ll all be sorry…

I’ve stickied it. Hopefully no one has any objection (and if so, please let me know).

Offline

#4 2005-08-22 16:35:25

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: Creating Plugins

I posted a Textpattern Plugin How To about 6 months ago and its consistently been one of the most popular on my site (for whatever thats worth). But it looks to be getting a bit out of date so I’ll have to look at posting an update.

Some of the most useful posts I’ve found are 2 having to do with Global Variables and Accessing Global Variables.

I also just posted a bookmarklet that I use to search the Textpattern Source Code.

Offline

#5 2005-08-22 16:45:21

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Creating Plugins

Excellent! Thanks Rob, I’ll add these to the list.

Offline

#6 2005-09-01 05:15:56

variaas
Plugin Author
From: Chicago
Registered: 2005-01-16
Posts: 402
Website

Re: Creating Plugins

So I’ve been wanting to write some plugins but have found myself hitting hurdles in understanding how TXP works.

I know mary has posted plenty of resources that people have compiled together to help other txp’ers and I wanted to throw in something you guys might like. I knew that I had once seen a website for Wordpress that helped me a lot in understanding how it works and I finally found it. It uses an app called phpxref, so I figured we could throw TXP through it.

Check it out here

You can peruse each file and it’s source. From the source you can lookup any function and see where else it’s called. Let me know if you guys find it useful and what you think of it. I know there’s no standard documentation procedure in TXP but PHPdoc is something I wonder if you guys considered, because it would also really help in understanding what each function does.

Update: Finally got around to putting up the files for TXP 4.0.3 and moved the location of the site to here

Last edited by variaas (2006-01-02 21:46:26)

Offline

#7 2005-09-01 12:38:52

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: Creating Plugins

That’s a great tool. Thanks for posting that.


Shoving is the answer – pusher robot

Offline

#8 2005-09-01 18:23:54

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Creating Plugins

Thanks. Added to the list.

Offline

#9 2005-09-12 14:41:32

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: Creating Plugins

There has been a modification, according to Dean, in the 4.0.1 release. Added article.edit.own.published status, that isn’t included in your list of permission level. I don’t really know what it means and what roles have that power, but it worths explore it. :)

Offline

#10 2005-09-13 00:55:16

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Creating Plugins

Thanks for reminding me to update the list.

Offline

#11 2006-01-16 19:29:54

-rr-
Member
Registered: 2005-09-11
Posts: 73

Re: Creating Plugins

Could someone post explanations to the items as some of them are a bit vague.

Such as which line to change to give the Managing Editor privileges to add/remove authors and/or grant and restrict privileges?

Offline

#12 2006-01-25 08:47:22

Inspired
Plugin Author
From: Kiev, Ukraine
Registered: 2005-01-28
Posts: 87
Website

Re: Creating Plugins


Plugin Composer — admin plugin to write your own plugins

Offline

  1. Index
  2. » Plugin discussion
  3. » Creating Plugins

Board footer

Powered by FluxBB