Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#46 2014-07-31 20:16:06

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,477
Website GitHub

Re: smd_random_text: Pull random items from the TXP environment

Destry wrote #282569:

It seems my lack of spaces around the pipes were indeed the problem

Strange, it’s not supposed to make any difference! I just tried copying and pasting your example above into a test article on my server (without any textile escaping) and it worked fine, displaying punctuation and everything.

Are you using the latest v0.14 of the plugin? And if so, I wonder if there’s either a random PHP skwiffle or a MySQL collation issue at work. Since I’m doing everything in English here, maybe it’s just barfing on the way your DB tables are set up (uhhh, or summat like that). Very long shot, that one.

Flummoxed.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#47 2014-08-01 08:34:10

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: smd_random_text: Pull random items from the TXP environment

Yep, 0.14. I’m using MySQL in EN mode too (I’ve always assumed), but I do have the French language pack installed. I even cleared my cache back when making the tests, thinking maybe they were just stuck in place (as it were), but that didn’t make any difference either.

In any case, the spaces work and that’s good enough for me. Great plugin!

Offline

Board footer

Powered by FluxBB