Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-12-30 19:30:27

pierlu
Member
Registered: 2014-08-12
Posts: 153

Excerpt in article

it is possible for each item to have another excerpt?

Offline

#2 2014-12-30 20:21:57

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,055
Website GitHub

Re: Excerpt in article

You can use the plugin glz_custom_fields to set a custom field to be a textarea, and it will appear in the write / edit screen like an excerpt. There is one difference: the body and excerpt are automatically processed and pre-saved as textile notation (by default) but a custom_field is not. If you need to process the custom field as textile, you can use smd_wrap:

<txp:smd_wrap transform="textile"><txp:custom_field name="your-custom-field-name" /></txp:smd_wrap>

And if you want your new textarea custom field to appear beneath the existing excerpt field in the admin area, you can use bot_write_tab_customize to reposition it as you like.


TXP Builders – finely-crafted code, design and txp

Offline

#3 2014-12-30 23:15:28

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,315

Re: Excerpt in article

And–reborn from oblivion–Els’ reply.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB