Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-02-14 06:11:42

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

jmd_article_cf

Download 0.2

Creates an article_custom tag based on an ID in a custom field. It’s a barebones article_custom since it’s usage is fairly specific.

<txp:if_custom_field name="article_id">
	<txp:jmd_article_cf form="article_form" cf="article_id" />
</txp:if_custom_field>
  • 2008-03-31: 0.2: Throws an error if used outside an article
  • 2007-10-29: 0.1: Initial release

Last edited by jm (2008-03-31 17:22:42)

Offline

#2 2008-03-31 13:52:26

lozmatic
Member
From: Melbourne, Australia
Registered: 2006-08-27
Posts: 259
Website

Re: jmd_article_cf

Hi,

I’ve just noticed that this plugin isn’t working anymore on a site I built in OCt / Nov last year.

Could the upgrade to 4.0.6 be the reason?

Offline

#3 2008-03-31 17:21:28

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: jmd_article_cf

It shouldn’t be – I developed the plugin for svn. Do you have the tag in an article form?

Offline

#4 2008-04-04 12:45:34

lozmatic
Member
From: Melbourne, Australia
Registered: 2006-08-27
Posts: 259
Website

Re: jmd_article_cf

Hi,

I got it working. Not sure how – must have been some dodgy coding on my part.

Thanks,

Lawrence.

Offline

#5 2008-05-14 19:48:03

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: jmd_article_cf

FYI if you’re running svn, you can use the following instead, thanks to 4.0.7’s new tag parser:

<txp:if_custom_field name="article_id">
    <txp:article_custom form="article_form" id='<txp:custom_field name="article_id"/>'/>
</txp:if_custom_field>

Offline

Board footer

Powered by FluxBB