Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2005-10-31 22:44:14

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

Re: upm_textile_toggle: Toggle default Textile setting for excerpts.

Ak! now that’s not what I meant! that was to “…will need to add the necesary HTML…”

Offline

#17 2005-11-02 05:56:02

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

Re: upm_textile_toggle: Toggle default Textile setting for excerpts.

Plugin has been updated to work for 4.0.2.

Offline

#18 2006-03-10 11:38:37

hanz
Member
From: de
Registered: 2006-02-11
Posts: 23

Re: upm_textile_toggle: Toggle default Textile setting for excerpts.

hi mary,

maybe i’m stupid, maybe i’m blind, but i have to tell you, what i can’t find…
it’s you’re plugin what i’m looking for.
here textpattern/plugin they say its “abandoned”, sounds scary, and here “http://www.upm-plugins.com/” it’s not listed.
i managed to get the ‘p’ tags away with the admin, but i wish i don’t have to do it for every single article.

please help a newbie!

thanx, hanz

Last edited by hanz (2006-03-10 11:41:36)

Offline

#19 2006-03-10 13:13:43

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

Re: upm_textile_toggle: Toggle default Textile setting for excerpts.

Plugin got renamed, here’s where you can find it.

Abandoned means just that: abandoned. As in, I’m not currently supporting my past plugins (I’m not actively developing any either). Developing plugins is one thing, supporting them is another entirely and took up a lot of my time. They are free for anyone else to adopt (rename, develop, etc), but it looks like no one’s really interested in doing that. A couple folks decided to “archive” the plugins at upm-plugins, so they’d still be available. That said, this particular plugin is an extremely basic, simple plugin; you shouldn’t have any problems with it.

Offline

#20 2006-03-10 13:36:02

hanz
Member
From: de
Registered: 2006-02-11
Posts: 23

Re: upm_textile_toggle: Toggle default Textile setting for excerpts.

thank you.
the renaming just confused me a bit.

Offline

#21 2006-06-09 22:13:41

rloaderro
Archived Plugin Author
From: Costa Rica
Registered: 2006-01-05
Posts: 190
Website

Re: upm_textile_toggle: Toggle default Textile setting for excerpts.

maniqui wrote:

Wich is the idea behind disable textile in excerpt? I mean, if someone feels comfortable using textile in the article’s body, why he/she wouldnt want to use textile in the excerpt?
If someone doesnt use textile in excerpt, he/she will need to add the necesary HTML for the excerpt (it can be added in the same excerpt or can be added in the article form, <code><p><txp:excerpt /></p></code>).

I think the idea is that the excerpt usually has a “Read more..” link which is the permlink to the full article. Normally, one would like that link to appear within the <p> tag of the excerpt, rather than on the following line – the <p> would be generated by the form as you have suggested. Now, I think the admin side of Textpattern is pretty accessible to the average client – but all those little things (having to open advanced prefs, rollover images to see their ID, etc..) perhaps make it seem more confusing or prone to error. So, if I can avoid having the client having to remember to turn off Textile for excerpts – or for there to have to be any additional steps in the process really – I certainly will choose to have it that way. Anyway, I think that is the explanation behind the plugin and while I still find it a very useful resource!

Last edited by rloaderro (2006-06-09 22:14:54)


Travel Atlas * Org | Start Somewhere

Offline

#22 2006-06-10 23:57:13

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: upm_textile_toggle: Toggle default Textile setting for excerpts.

I use this plugin on a site where the excerpt field is used for the meta description … and u don’t want paragraph tags etc in there…

Offline

#23 2006-10-19 20:56:47

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

Re: upm_textile_toggle: Toggle default Textile setting for excerpts.

v.0.5

Offline

#24 2010-03-05 21:51:00

alanfluff
Member
From: Ottawa, Canada
Registered: 2008-09-15
Posts: 222
Website

Re: upm_textile_toggle: Toggle default Textile setting for excerpts.

Lovely! Thanks for this plugin.

For the first time ever, I edited the code of a plugin (I know this is ‘small-beer’ for many, but for me it’s a step I’ve never taken).

I just wanted to share in case it’s helpful for anyone else or in case anyone sees something wrong/dangerous in what I’ve done and is kind enough to let me know.

I simply edited selectedIndex = 2 to selectedIndex = 1 because for a particular site, we needed ‘Convert linebreaks’ as the default for Excerpt formatting.

Hope this is OK and is of some help to someone. Cheers! -Alan


At LAST I’ve cheerfully donated to the core devs at #TXP. I only wish I were able to give more. Thanks to the devs and ALL fellow TXPers. -A

Offline

#25 2012-11-29 16:01:19

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,806
GitHub

Re: upm_textile_toggle: Toggle default Textile setting for excerpts.

Bumping with some SQL.

This plugin works well with v.4.5.2 and disables Textile on excerpts created on new articles. It doesn’t change the status of prior excerpts, nor does it claim to. However, if you want to change the setting for all your previous articles that have ‘Use Textile’ set for excerpts to ‘Leave text untouched’, back up your database and run this MySQL query:

UPDATE `textpattern` SET textile_excerpt = replace(textile_excerpt,"1","0");

{Changed bq. to bc. to straighten curly quotes. – Uli}

Last edited by uli (2012-11-29 16:26:55)

Offline

Board footer

Powered by FluxBB