Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-07-01 11:32:15
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
[plugin] [ORPHAN] upm_textile: Parse any text with Textile.
Offline
Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.
Mary,
can I assume this is a wrapping tag?
used like this:
<code>
<txp:upm_textile>
this is a link, and you should definitely click it
</txp:upm_textile>
Is that right?
:)
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#3 2006-07-01 13:35:10
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.
Yes.
Offline
Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.
hi Mary,
thanks for a new plug-in…
what does exactly do? :D
“Parse any text with Textile.”
Yes, but what does it mean?
Is something similar to < code>< /code>
Thanks!
edit: i have installed it and read the help, but not tried it yet…
Last edited by maniqui (2006-07-01 18:07:29)
Offline
#5 2006-07-02 17:48:35
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.
Wrap the tag around any text you want Textiled. It was originally brought up here, for using from the write tab, but it could be used from any page or form too.
Offline
Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.
thanks Mary
this has just come in really handy :o)
Offline
#7 2006-07-16 01:48:44
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.
v.0.2
Offline
#8 2007-04-30 08:08:54
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.
This plugin is a great idea, but there’s one hitch that’s keeping me from using it at the moment.
I’d like to use this to give post titles the Textile treatment, but my site design gives these titles one heading level on article list pages and another on individual article pages. Because of this, I can’t override the default <p>
wrapping tags with something like h3. My _Awesome_ Post Title
in the title field. Even if the heading levels weren’t a problem, I’d still rather keep the semantics in the templates rather than shoehorning it into content fields.
Is there a way to use this plugin for Textile formatting, but optionally strip out the paragraph tags? I’ve tried the various attribute / value options, but haven’t had any success so far. Thanks in advance for your help.
Offline
#9 2007-04-30 20:04:48
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.
No, but I think you may be able to find another plugin that can strip them for you.
Offline
#10 2007-05-01 03:35:34
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.
Such a plugin doesn’t seem to exist (yet), but I can do without this functionality for now. The way post titles are handled is frustrating, but livable.
Learning to write plugins is one of my goals for the coming months. I’ll keep this in mind as a plugin idea, or possibly a modification to your existing plugin. Thanks for the help!
Offline
Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.
etz_striptags will strip tags for you. Perhaps the following will work:
<txp:upm_textile>
<txp:etz_striptags>
<txp:title />
</txp:etz_striptags>
</txp:upm_textile>
I’ve never needed to nest plugins before, but if it doesn’t work, you could store the stripped output as a PHP variable, then Textile that.
Offline
#12 2007-05-11 04:14:41
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_textile: Parse any text with Textile.
v.0.3
Last edited by Mary (2013-01-24 17:22:48)
Offline