replacement for date field with publish_up as source 'param'

More
11 years 3 months ago #38497 by rottenberg
Hello
I have a problem with date field in the V1680 and in the beta V1696 :
When asking for displayed date source as 'show item's Start publication date', I get only the end publication date.
How can I get the Start publication date ?

A second question :
my field is called start_date. Can I use {{start_date##0}} in another field ?

thank you for help
best regards
Michel

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

More
11 years 3 months ago #38501 by ggppdk
Hello,

The replacement feature in prefix/suffix/opentag/closetag parameters (of various fields)

-- works with field values that have been saved

so if you created a date field that displays the PUBLISH up then it will not work , with items that have not been saved after the date field was configured

maybe try using this replacement:
{{item->publish_up}} , but publish_up date will be in UTC+0 timezone


-- 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
11 years 3 months ago #38515 by rottenberg
thank you
I try it
but do you have a solution for my 1st question : the date for publish up is not displayed. Only publish down is published for both types of date

best regards
Michel

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

More
11 years 3 months ago #38516 by rottenberg

maybe try using this replacement:
{{item->publish_up}} , but publish_up date will be in UTC+0 timezone


this value is working. I get also the good value for publish-up.

I have just created a new article. In the admin view I get this message in the article form (for both value up and down) :

Automatic field (shows this content 's end publication date)
2014-01-19 05:14:54


In front view I get nothing for these values when displaying the article.

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

More
11 years 3 months ago #38687 by rottenberg
sorry
just wanted to reactivate this post.
I think there is a problem with publish-up date.

when using this value in admin, I get the following message :

Automatic field (shows this content 's end publication date)
2014-01-19 05:14:54


I get the same message for publish up and publish down message (I get only the publish down value)

I got this itn the V1686 and in the last beta I have uploaded (v1696)

best regards

Michel

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

More
11 years 3 months ago #38688 by ggppdk
Hello,

so the issue that you report is :
1. that the message is item form is inappropriate (e.g. we should use a language string so that this get translated),
or
2. that the value is not displayed in item/category/other views?

For 2 please send me a PM with admin login and admin URL and also include:
a. the field name(s) of the date field(s)
b. the ID of a Content Item to use as an example for testing

Regards


-- 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.337 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