Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2004-11-30 14:43:14

rayne
Member
From: AL USA
Registered: 2004-03-24
Posts: 58
Website

rwt_image_caption

created a plugin from the code Manticor whipped up and extended it.

<code><txp:rwt_image_caption /></code> outputs the caption.
To parse it with Textile add the attribute <code>usetextile=“1”</code>.

I’m using it on my site and it appears to be working fine. Let me know if there are any problems.

Rayne

————————————-

Update: (11.30.2004) I redid the plugin adding a few new tags.

<code><txp:rwt_image_name /></code> outputs the image name.
<code><txp:rwt_image_alt /></code> outputs the alt tag.

The new plugin is rwt_image_info

Last edited by rayne (2004-12-01 02:44:39)


Rayne
mama love

Offline

#2 2004-11-30 22:49:14

rajo
Member
Registered: 2004-03-13
Posts: 43

Re: rwt_image_caption

I’m getting a “Badly formed or empty plugin code” when I try to install the plugin.

Offline

#3 2004-11-30 23:30:35

rayne
Member
From: AL USA
Registered: 2004-03-24
Posts: 58
Website

Re: rwt_image_caption

Hmm. Try this file instead. I redid the plugin and added a few more tags.

Last edited by rayne (2004-11-30 23:31:14)


Rayne
mama love

Offline

#4 2004-11-30 23:41:40

rajo
Member
Registered: 2004-03-13
Posts: 43

Re: rwt_image_caption

hmmm, unfortunately I got the same error with this, could the file be corrupted? I did get an error in safari when trying to go to the link in your last post saying there were too many redirects or something. I was able to get it okay as a txt file in firefox however.

Offline

#5 2004-12-01 02:38:07

rayne
Member
From: AL USA
Registered: 2004-03-24
Posts: 58
Website

Re: rwt_image_caption

Ok, I kept getting that error also. I disabled hot linking on my server thinking that might be it. I downloaded the file that is linked above, deleted my installed version of the plugin and ran the install on my site using the downloaded file. It worked with no errors. Oh, yeah, I did all this in Safari.

Please try again.

Also, the plugin has only been tested on version 1.0RC1, which is the version I have installed.

Last edited by rayne (2004-12-01 02:48:31)


Rayne
mama love

Offline

Board footer

Powered by FluxBB