Attention:

Support Rules and Guidelines
Before you post your support topic, please remember to:
  • Read the support forum rules.
  • Check the wiki and use search to see if your problem can be answered there first.
  • Link your board please, and make sure that the problem on your board is visible to guests or provide a test account.
  • Do not post Board Wrappers and CSS unless requested. With a board link, this is not necessary.
  • Be as descriptive as you can and use as many details as possible when describing your problem.
  • Please briefly mark any links to forums that may not be work-safe.
This will help ensure your support issue will be attended to in a quick and efficient manner.

  ClosedNew TopicNew Poll

 Help with {%birthdays} [SOLVED]
#
How to set up birthdays correctly on a custom skin? The skin I got didn't have it in their custom stats so I've been trying to build it in myself. I put in:

CODE
Today, {%birthdays} members are celebrating a birthday. {%birthdays#list}


And it's fine if there is a birthday, works as expected, (though the names are bunched together with no commas or spaces) but if there's not a birthday, it says Today, 0 members are celebrating a birthday. False. I'm fine with it saying there are no birthdays but how to hide the false part?

I know I've read something about CFS, is that the issue? Thing is I found some nice CFS for custom stats area. If this IS the problem, how to solve while maintaining the custom stats?

This post has been edited by Heaven is a Halfpipe: Jul 9 2018, 10:04 PM
PM
#
The HTML variables don't return 'False' for me.
CODE
<!-- |birthdays| -->
<!-- |birthdays_list| -->

signature
user posted image
#
QUOTE (Heaven is a Halfpipe @ Jul 9 2018, 10:03 PM)
I know I've read something about CFS, is that the issue? Thing is I found some nice CFS for custom stats area. If this IS the problem, how to solve while maintaining the custom stats?


Yes, CFS is the issue.

But you do not have to lose the template. Migrate from CFS to our HTML Template System, which is superior. No programming knowledge is required to migrate from CFS, just copying and pasting and some basic markup.

https://jcink.com/main/wiki/jfh-converting-...lates?s=migrate

signature
email: admin@jcink.com :: blog: John C.
#
Thank you both, converted the CFS to the html template and the 'false' no longer appears. Appreciate it!
PM
#
This topic has been solved. If you need anymore help please post a new thread. Thanks for choosing Jcink services.

signature
email: admin@jcink.com :: blog: John C.
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Share this topic:
« Next Oldest | General Support | Next Newest »

Options ClosedNew TopicNew Poll