Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.1.0 only obeys 1 of 2 rules #32

Closed
jrrdnx opened this issue Feb 12, 2014 · 5 comments
Closed

v1.1.0 only obeys 1 of 2 rules #32

jrrdnx opened this issue Feb 12, 2014 · 5 comments

Comments

@jrrdnx
Copy link
Contributor

jrrdnx commented Feb 12, 2014

For Entry Type settings, I have 2 rules both under the 'Page' channel and 'Template' field.

Rule 1: For every template except 'faq', hide the FAQ field.
Rule 2: For every template except 'partners', hide the Partners field.

Now when I add/edit any entry using the 'faq' template, I can see the FAQ field but not the Partners field (correct). And when I add/edit any entry using the 'partners' template, I can see the Partners field but not the FAQ field (correct). But for every other Page channel entry using a template that is not 'faq' or 'partners' I can still see the FAQ field.

@jrrdnx
Copy link
Contributor Author

jrrdnx commented Jun 13, 2014

Any particular reason this issue was closed without comment? This is still unresolved for me.

@rsanchez
Copy link
Owner

My bad, I periodically go back and close all my old issues. I'm afraid I don't really follow what the issue is. Is there a site I can log into (or git clone locally) so I can see the issue for myself?

@rsanchez rsanchez reopened this Jun 14, 2014
@rsanchez
Copy link
Owner

No activity on this issue for a while. Feel free to re-open if you need.

@jrrdnx
Copy link
Contributor Author

jrrdnx commented Aug 31, 2015

Ok, finally had this pop up again. Couldn't for the life of me remember what settings had caused this. The template names have changed but the basic issue is the same.

Both rules are using the same channel (Page) and the same field (Template).

Rule #1 hides 3 fields for every template except an About template.
Rule #2 hides 1 field for every template except a Services template.

Both of these rules work correctly when selecting either the About template or the Services template. But for any other entry in the Page channel that's using a different template, it only takes the 2nd rule into effect (i.e. a Contact entry that's using a custom Contact template hides the 1 field from Rule #2 correctly, but still display the 3 fields from Rule #1).

Hopefully that makes sense, as it's confusing enough to me just to try to explain. Let me know if you would still prefer a login and where I can provide you with that info.

I'm now on Entry Type v1.1.3 running on EE 2.9.2.

@rsanchez
Copy link
Owner

rsanchez commented Sep 1, 2015

Sure, send me a login. Or a db dump and git repo. info at robsanchez dot com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants