This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

crips
crips

Hello guys, I just started learning OctoberCMS for a few days (I enjoy it a lot). I'm trying to build a social media plugin on top of the blog plugin of Rainlab, but I have a little problem in my backend. I'm trying to show a Facebook login link if there is not an access token already, so my fields.yaml is like:

fields: facebook_login_link: type: partial path: ~/plugins/lbi/socialpost/partials/facebook.htm trigger: action: show field: facebook_access_token condition: value[] facebook_access_token: type: text, hidden: true

But my Facebook login link is showing up all the time, even if the facebook_access_token is filled, tried everything for the condition, but nothing worked. Does somebody know how to fix this?

Last updated

crips
crips

Oke nvm, digged into this problem and found that what I wanted was impossible. So I added the functionality and created a pull request.

https://github.com/octobercms/october/pull/983

Last updated

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.