Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
jmd_article_cf
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
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
Re: jmd_article_cf
It shouldn’t be – I developed the plugin for svn. Do you have the tag in an article form?
Offline
Re: jmd_article_cf
Hi,
I got it working. Not sure how – must have been some dodgy coding on my part.
Thanks,
Lawrence.
Offline
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
Pages: 1