Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
Hello,

I am wondering if there is a way for a user to log into the couch admin and hide or show certain sections? I want to code two sections for the end user and then they can decide which section they want to show.

For example, they have a video that they want to show in the header but next week want to maybe show a slider with a bunch of images. Can this be done?
Thank you,
Hi,

Taking as example the use-case you described, there would certainly be two sections in the admin-panel - one for the video and the other for the slideshow (possibly using repeatable-regions).

We can add to the two a third editable region (dropdown or radio) with two options 'Show video', 'Show slideshow'. The end-user can select one option from this selector region.

On the frontend you can fetch which option has been selected and depending upon that display either video or the slideshow.

You may also take a look at 'conditional fields' for more involved cases - viewtopic.php?f=5&t=11512

Hope the reply helps.
That is very helpful! Thank you!
3 posts Page 1 of 1
cron