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

Configuration Questions #183

Open
BigSnicker opened this issue Jul 1, 2024 · 4 comments
Open

Configuration Questions #183

BigSnicker opened this issue Jul 1, 2024 · 4 comments
Assignees

Comments

@BigSnicker
Copy link
Contributor

Highest priority at the top..

  1. Is it possible to use CSS to hide ONLY the "New Proposal" button, while keeping the "New Collaborative Draft" button visible?

image

  1. Can we bring back the Floating Helper box and (a) selectively hide it using CSS and (b) change the text on a per component basis using Text Customizer?

  2. (Least important) Is there a way to allow multiple survey responses per participant?

@microstudi
Copy link
Contributor

Hi @BigSnicker:

  1. Use this CSS code (then restrict it wherever you want it):
.title-action__action[href$="proposals/new"] {
  display: none;
}
  1. Yes, just add the text into the text "help sections": https://wedecide.green.ca/admin/help_sections . No need for term customizer
  2. As it is right now, the only way is to set the survey to allow "anonymous answers" and tell people to use the private mode of the browser. Everytime they start a new session, the can answer again the survey. If you want a more generic approach, we should hack it. It is not difficult but needs some code. Also, check this module, it might interest you: https://github.com/openpoke/decidim-module-anonymous_codes

@BigSnicker
Copy link
Contributor Author

Great stuff... but for Question 2, on the floating helper, the text can only be set once for all modules of that type? We were hoping to explore component level customization (and thus Term Customizer).

@paarals
Copy link
Collaborator

paarals commented Jul 4, 2024

Great stuff... but for Question 2, on the floating helper, the text can only be set once for all modules of that type?

exactly. you can define per each module level ex: processes, assemblies, conferences.. but you can't scope a particular participatory space with that.

@BigSnicker
Copy link
Contributor Author

Just realized that this code won't hide the button for people who can't access the URL, yes?

.title-action__action[href$="proposals/new"] {
display: none;
}

This hides the button for admins and logged in users, but not for the browsing public.

https://wedecide.green.ca/assemblies/cmd/f/537/

image

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

4 participants