Hiding a section on a page

Ruud

if the section is a WYSIWYG section, you could include it using a modified ShowSection droplet.

I am not sure what criteria for showing and hiding should be used, but you could add that to the droplet code yourself.
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

pcwacht

When I understand you correctly you want to show a section only if a user is allowed to?

If so, should that user be a registered user of your site?

John

[url="http://www.ictwacht.nl"]http://www.ictwacht.nl[/url] = Dutch ICT info
[url="http://www.pcwacht.nl"]http://www.pcwacht.nl[/url] = My first
both still work in progress, since years.....

crnogorac081

then on that certan action, run sql query to update section you want to hide and set end date to yestrdays...

And when you want to unhide it, also update that section and remove end date..

try that

cheers
Web developer

ddombadoh

Thanks crnogorac081 for your response.

I do not want to permanently hide the section. However I want to hide it upon certain actions taken by the user.

crnogorac081

hi, its simple..

go to Manage sections on that page, and set end date to yestrday's date...
Web developer

ddombadoh

Hello All

I have been using wb for about 2 months now, and have enjoyed using it.
I have a little problem;
I have a page with 3 sections. At one point in time all the contents of these sections displays, and at another point, some don't need to display. I would like to be able to hide one section at one point in time (this section is a WYSIWYG).
I know I can set the section publish start and end date, but this behavior is as a result of user click. So I want to hide that section using code, and show it again later using code, as per user clicks.
Any help is much appreciated.

Thank you.