Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2015-01-20 21:57:49
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Textiled output for Keywords field
I want to repurpose the Keywords field as it isn’t used for anything.
Currently it strips things like line breaks upon save and doesn’t use Textile.
Does anyone have simple instructions on how to accomplish this by hacking the core?
(I don’t know anything about PHP.)
Offline
Re: Textiled output for Keywords field
Try not to hack, use a plugin to hook into the article save step. Or combine that with a plugin to replace the current keywords box with one of your own that does what you want. Doing that is way more extensible than hacking.
Someone round here can probably throw something together for you if you define the sort of thing you want it to do / store. You’ll still be limited to 255 characters unless you alter the database, though.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Textiled output for Keywords field
masa wrote #287581:
I want to repurpose the Keywords field as it isn’t used for anything.
There are a number of Keyword-related plugins but not one that I am aware of that allows textile editing. I am thinking that glz_custom_fields might be something you want to take a long look at.
Offline
#4 2015-01-20 23:48:46
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: Textiled output for Keywords field
Stef & Michael,
OK, both of you are in favour of a plugin. I’ve had glz_custom_fields for as long as it’s been around but I’m a bit wary to use it at this stage – is it still maintained?
I will exceed that 255 character limit by the way.
Offline
Re: Textiled output for Keywords field
upm_textile used to do what you want. I’m not sure if it is currently available somewhere or compatible with the latest txp releases
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Textiled output for Keywords field
colak wrote #287590:
I’m not sure if it is currently available somewhere or compatible with the latest txp releases
I can’t vouch for this being authentic, but b319.info/?rah_plugin_download=upm_textile works.
Offline
#7 2015-01-21 13:46:04
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: Textiled output for Keywords field
Thanks for all the replies.
I got it working now using glz_custom_fields and upm_textile. It even seems to play well with adi_matrix and bot_write_tab_customize which is what I was a bit worried about.
Offline
Pages: 1