Questions tagged [phpstringfun]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer

Custom PHP throwing an error {!-ra:0000

We have a need to pull in data from an external source using PHP. I’ve run into this issue before where EE doesn’t like the PHP formatting i’m using, yet it seems to work elsewhere. For example, if i ...
Chris Brown's user avatar
0 votes
1 answer

Conditional Check Issue || Is Entry in any of these Categories?

Scenario The issue is that entries are in several categories and can be Featured (a FieldPack pill with yes/no options) but only want certain categories to show the entry. So I have a ...
Mark Busnelli Jr's user avatar
0 votes
1 answer

Attempting to use plugin to addslashes in a template not working

I am fairly new to EE so please bare with me. I have an issue where I want to use addslashes() on a template tag that is in an array. $product_array["{ProductEntryID}"][] = array( '...
Dan Holloran's user avatar
0 votes
1 answer

PHP string fun does not evaluate unless var is used elsewhere in template

I'm trying to use the PHP String fun plug-in to evaluate whether a current entry belongs to a specific channel and then show/hide a register prompt depending upon that. So I have a snippet: {...
Nathan Pitman's user avatar
1 vote
1 answer

If condition for phpstringfun or streng?

I want to find if a string contains a word ot not? It is a pretty simple thing if i want to do it in php.But When it comes to EE you need some plugins to do the job of strpos. I have two plugins ...
user avatar
1 vote
2 answers

String failing evaluation as PHP causing blank/white page

We have a page on our new EE site which is failing to load (blank/white page) because of a PHP error which I'm having some difficulty troubleshooting. The page is at http://www.healthyschoolscampaign....
user1461's user avatar
4 votes
3 answers

Problem with phpstringfun and substr_count function

I'm using phpstringfun plugin to check a comma-delimited list for the presence of a single number. {exp:phpstringfun function="substr_count" par1="{member_group}"} {member-groups} {/exp:phpstringfun} ...
4midori's user avatar
  • 382