Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: rvm_substr (v0.3)
If you’re working with plain text strings, you could use the smd_if plugin
PS. if you want to use it as an if-construct, you’ll have to set both the length condition and the “some content” part as a tag attribute.
Offline
Re: rvm_substr (v0.3)
I love smd_if but didn’t see a way I could use it in this case.
I’ll go back and pore over Stef’s docs.
Tks Rudd!
At LAST I’ve cheerfully donated to the core devs at #TXP. I only wish I were able to give more. Thanks to the devs and ALL fellow TXPers. -A
Offline
Re: rvm_substr (v0.3)
PS: Sorry Rudd, I completely missed your “PS” — thanks!
At LAST I’ve cheerfully donated to the core devs at #TXP. I only wish I were able to give more. Thanks to the devs and ALL fellow TXPers. -A
Offline
#16 2010-12-08 15:17:50
- beechy
- Member
- Registered: 2006-03-02
- Posts: 92
Re: rvm_substr (v0.3)
Hi Rudd,
Does rvm_substr work ok with textpattern 4.3.0 I am about to upgrade and want to check there won’t be any issues when I do so.
Thanks
Offline
Re: rvm_substr (v0.3)
beechy, I can confirm you it works on TXP 4.3.0.
Now go and have fun upgrading!
Offline
Re: rvm_substr (v0.3)
Doing due diligence for a client site upgrade: does rvm_substr
play nicely on Textpattern 4.6(.2)? Thanks in advance.
Offline
Re: rvm_substr (v0.3)
The most recent version should work fine (registers tags).
Offline
Offline
#21 2023-05-29 11:19:11
- raminrahimi
- Member
- From: India
- Registered: 2013-03-19
- Posts: 278
Re: rvm_substr (v0.3)
I’ve textpattern 4.8.8 and my PHP version is 8.1
I want to limit the excerpt through this plugin, now i face with an issue when the symbol of & is written on excerpt, the following error comes:
Tag error: <txp:rvm_substr length="117"><txp:php>echo strip_tags(excerpt(array()));</txp:php></txp:rvm_substr> -> Warning: Undefined array key 0 while parsing form None on page Website
Offline