Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Plugin support
  3. » mdn_count

#121 Yesterday 17:30:59

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 727
Website Mastodon

Re: mdn_count

etc wrote #342499:

It might be coming from escaping, try

<txp:article_custom band_name='<txp:custom_field name="band_name" escape="" />' pageby="1" pgonly />...

Thank you @etc – this solved it!


A hole turned upside down is a dome, when there’s also gravity.

Offline

#122 Yesterday 17:51:16

etc
Developer
Registered: 2010-11-11
Posts: 5,675
Website GitHub

Re: mdn_count

jayrope wrote #342518:

Thank you @etc – this solved it!

You are welcome. Since you loop over articles anyway, I actually think you don’t need to count them for every group. A clever use of breakby/breakform might spare these db queries.

Offline

  1. Index
  2. » Plugin support
  3. » mdn_count

Board footer

Powered by FluxBB