Default date field value

More
9 years 3 weeks ago #52853 by jrodgar
Hi!

Why there is not a "default value" option for the date field? And I´m not refererring to the "value if empty", because it won´t work properly on things like the universal flexi content module date scope

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
9 years 3 weeks ago #52863 by ggppdk
Replied by ggppdk on topic Default date field value
Hello

almost all fields, have a default value, but for date field we did not add,

you think is needed ?
can you describe such a scenario ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
9 years 3 weeks ago #52894 by jrodgar
Replied by jrodgar on topic Default date field value
Yeah sure

My particular case: Was using date scope to limit a module to show articles between 2010-1-1 and 2999-1-1 based on a field created for that purpose

The problem was that articles without that value wouldn´t appear because they won´t comply with the condition

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
9 years 3 weeks ago #52925 by ggppdk
Replied by ggppdk on topic Default date field value
Hello

adding a default value is easy but,

-- a default value will not address the above, since a default value is never duplicated / stored in the DB


Instead the approach should be to update the relevant query:


-- so Question, which case do you talk about ?
about unversal module date scope ?
other ?



github.com/FLEXIcontent/flexico ... issues/148


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
9 years 3 weeks ago #52936 by jrodgar
Replied by jrodgar on topic Default date field value
Yeah, universal module with date scope

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
9 years 2 weeks ago #52980 by ggppdk
Replied by ggppdk on topic Default date field value
Hello

-- the updated Date scope in master branch of our GitHub repository, have an even more clear configuration

and

there is a new option to include items with NULL or EMPTY date value


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.313 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline