Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-01-23 22:05:04

macinchik
Member
Registered: 2007-02-08
Posts: 17

custom fields for link items?

Hi,

I’d like to add two fields in addition to “Description” for my link items. I’ve not been able to find a way to do this with the default installation, nor have I found a relevant plug-in. Can anyone shed some light on this for me?

Thanks,
Jenn

Offline

#2 2009-01-24 13:05:44

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: custom fields for link items?

for one of my sites, i actually ended up using a section with articles for links, so, for example, the title was the title of the link, the body was the url, the excerpt was a description and so forth. then i output them using a form like

<a href=”<txp:body />” <txp:if_excerpt> title=”<txp:excerpt />”</txp:if_excerpt> ><txp:title /></a>

you could use custom fields like this as needed


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

Board footer

Powered by FluxBB