Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2009-11-12 18:13:48

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: jmd_count: Count MySQL tables

pieman wrote:

I suspect I still have the wrong end of the stick, because that throws errors.

If you want to use <txp:tags /> inside parameters, you need to surround the value with single quotes instead double; foo="bar" to foo='bar'. Example:

[...]where='Posted rlike "<txp:variable name="this_year" />" and section="news"'[...]

Offline

#17 2009-11-12 20:48:51

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: jmd_count: Count MySQL tables

Perfect, thanks for clarifying that Jukka.

Offline

#18 2009-11-14 21:38:12

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

Re: jmd_count: Count MySQL tables

I should be paying you in txdollars (an upcoming currency), Jukka. Thanks for providing support!

Offline

#19 2009-11-15 20:30:30

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: jmd_count: Count MySQL tables

jm wrote:

I should be paying you in txdollars (an upcoming currency), Jukka. Thanks for providing support!

We’ve been waiting for this day to come ;) Txnation and txdollars.

Offline

Board footer

Powered by FluxBB