We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

parse='inward' not working correctly for me

Development and Programming

mtopper's avatar
mtopper
2 posts
15 years ago
mtopper's avatar mtopper

Hello, I am currently calling my own plugin like this:

<pre><code>{exp:academy:search_user parse='inward' keyword="{keywords}” users_already=”{exp:user:results}{username}|{/exp:user:results}</code></pre>

the problem is {keywords} is not being parsed before being called to my plugin although users_already is

my plugin code has this:

<pre><code>$users = $this->EE->TMPL->fetch_param(‘users_already’); $keyword = $this->EE->TMPL->fetch_param(‘keyword’);</code></pre>

if i var_dump $users I get the correct string (ie not the tag but actually the parsed data returned from the exp:user:results tag

if i var_dump $keyword all i get is “{keywords}” as the string even though if i just print out {keywords} in the template it prints the correct keyword.

any help would be greatly appreciated.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.