Hello,
I love the [PAID] tags feature to show/hide content based on user subscription, but it's not working well to show/hide big parts of the page, it breaks the layout if used in that way.
For this reason I am switching to RegularLabs Conditional Content extension.
Thsi extension has a custom PHP settings and the description reads like this:
Enter a piece of PHP code to evaluate. The code must return the value true or false.
For instance:
return ( $user->name == 'Peter van Westen' );
Could you suggest in case of Emerald what would be the PHP code to use? It has to check a user active subscription and return a true or false value.
I will hire a developer to work on this part of the project and point him to your suggestion here, plus I will post here the full solution once is developed in case someone else need something similar.
thank you
Hello, I love the [PAID] tags feature to show/hide content based on user subscription, but it's not working well to show/hide big parts of the page, it breaks the layout if used in that way. For this reason I am switching to RegularLabs Conditional Content extension.
Thsi extension has a custom PHP settings and the description reads like this:
Enter a piece of PHP code to evaluate. The code must return the value true or false. For instance: return ( $user->name == 'Peter van Westen' );
Could you suggest in case of Emerald what would be the PHP code to use? It has to check a user active subscription and return a true or false value.
I will hire a developer to work on this part of the project and point him to your suggestion here, plus I will post here the full solution once is developed in case someone else need something similar.
thank you