TOPIC:

Using a Date Field in the Menu Function to Include Specific Records in List 1 year 3 months ago #244266

  • bruce@brucedill.com's Avatar Topic Author
  • bruce@brucedill.com
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 1207
  • Karma: 1
  • Thanks: 9

Please Log in or Create an account to join the conversation.

Using a Date Field in the Menu Function to Include Specific Records in List 1 year 3 months ago #244267

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 7384
  • Karma: 3
  • Thanks: 529
Hi,

please see email. Now it should work :)

Regards,
Tihana

Please Log in or Create an account to join the conversation.

Using a Date Field in the Menu Function to Include Specific Records in List 1 year 3 months ago #244268

  • bruce@brucedill.com's Avatar Topic Author
  • bruce@brucedill.com
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 1207
  • Karma: 1
  • Thanks: 9
entries_close_date is in the past so the record should not appear.

Sorry for the confusion.

Were you able to login to the site?

Please Log in or Create an account to join the conversation.

Using a Date Field in the Menu Function to Include Specific Records in List 1 year 3 months ago #244269

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 7384
  • Karma: 3
  • Thanks: 529
Hi,

yes, I am. I think there was confusion :lol:
It shows close date which is less or equal today's date.
You want to show date which is greater or equal today's date :silly:
Then put this:
<?php  $today = strtotime(date('Y-m-d')); $data = strtotime($value); if($data>=$today) { $value=$value; } else { $value=""; } ?>


Regards,
Tihana

Please Log in or Create an account to join the conversation.

Last edit: Post by tihana.krivic.

Using a Date Field in the Menu Function to Include Specific Records in List 1 year 3 months ago #244275

  • bruce@brucedill.com's Avatar Topic Author
  • bruce@brucedill.com
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 1207
  • Karma: 1
  • Thanks: 9
Sorry, the record is still showing up and it shouldn't.
Bruce

Please Log in or Create an account to join the conversation.

Using a Date Field in the Menu Function to Include Specific Records in List 1 year 3 months ago #244286

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 7384
  • Karma: 3
  • Thanks: 529
Hi,

I looked at your page and you didn't post the changes I wrote to you in the message above.
if($data>=$today) //this part
I changed it, so let me know if everything is ok for you now.

Regards,
Tihana

Please Log in or Create an account to join the conversation.

Moderators: ForumSupport
Time to create page: 0.076 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!