Remove All Ads from XDA

Force-display text in a Calendar text module

13 posts
Thanks Meter: 1
By CountryJustice, Junior Member on 1st February 2017, 12:58 AM
Post Reply Email Thread
Is there a conditional that can return a "positive negative" if there is no data to retrieve for a text module? Here's my example:

I have a text module where I'm using Calendar content to fetch the day, time, and title of my next calendar appointment. The tap-on for this module opens the Calendar app. However, if there are no upcoming appointments, the module is not tappable, and therefore won't open the Calendar app (such as if I need to ADD an appointment). So what I would like to do is have it display something (custom text would be best, but anything would work) if I have no upcoming appointments.

Any thoughts?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes