Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2004-08-10 01:47:16
- 2cats
- Member
- Registered: 2004-07-17
- Posts: 10
most basic plugin help please.
I’m trying to understand how this all works and I’m trying to write a simple plugin. The plugin does just this:
<code>
<pre>
$atts[“form”] = “Single”;
article($atts);
</pre>
</code>
I didn’t make up this piece of code, it came from a suggestion in another thread. This, however doesn’t produce anything. what do I need to do to make this bit of code to work?
Offline
Re: most basic plugin help please.
have you tried “return article($atts)” ?
Offline
#3 2004-08-10 02:16:48
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: most basic plugin help please.
return article($atts);
Alex
Offline
#4 2004-08-10 02:44:32
- 2cats
- Member
- Registered: 2004-07-17
- Posts: 10
Re: most basic plugin help please.
thanks, I was getting bummed out over it. sorry to be a pain.
Offline
Pages: 1