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

I'm entirely new to couch CMS, but I like what I see. Thanks a lot already!
I have a small question. I'd like my client to have a JS pop-up when she's on Holliday.

What I was thinking to do is to have her just fillin a field in the backend with what she want's to say to her visitors and It would pop-up.
That's easy to do. But I want her to disable the message as well. I was thinking about having her to remove the content of the field and couchCMS checking if it is empty or not. If it's empty, do nothing. If there is content. Show the pop-up.

Is this somehow possible?
Using PHP to check the database to see if a certain field is empty?

Thanks.
2 posts Page 1 of 1
cron