Closed (fixed)
Project:
Node expire extras
Version:
7.x-1.0-rc2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
15 Aug 2015 at 09:27 UTC
Updated:
26 May 2025 at 08:52 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedcmseasy created an issue. See original summary.
Comment #2
Nafes commentedcmseasy, do you use 7.x-2.x version of Node expire with adjustable expiry date format? If so, I probably need to make 7.x-2.x version of this module or just to put token functionality to 7.x-2.x version of Node expire.
Comment #3
Anonymous (not verified) commentedI use 7.x-1.8.
I will try 7.x-2.x and give my feedback here. Thanks for the hint.
Comment #4
Anonymous (not verified) commentedAfter updating to node_expire 7.x-2.x the first impression is ok. After changing the date to d-m-Y I have the correct date format in the flag text and flag notice tokens.
I am using rules and the flag module to update the expired date (the rule adds a month from now). This is working fine in node_expire 7.x-1.8.
With 7.x-2.x i get the error:
Notice: Use of undefined constant NODE_EXPIRE_FORMAT - assumed 'NODE_EXPIRE_FORMAT' in NodeExpireExtras\NodeExpireDateHelper::extendExpireDate() (regel 166 van /home/dev/domains/dev-cmseasy.nl/public_html/groeninfo/sites/all/modules/node_expire_extras/includes/node_expire_extras.inc).when I use the flag (rule) 'update expire date with 1 month'.
My rule, as I said works fine in 1.8:
Comment #5
Nafes commentedcmseasy, thank you for the feedback. It helped me to understand the problem. I will make a 7.x-2.x version of this module, which will work in couple with 7.x-2.x Node expire. It shouldn't take a lot of time.
Comment #8
Nafes commentedcmseasy, please try 7.x-2.x-dev branch. If it is OK, I will make a release. Before testing please update Node expire to 7.x-2.1 - this is a dependency requirement.
Comment #9
Anonymous (not verified) commentedHi Nafes
Testing this on my test- and on my dev server: perfect!
No errors or other issues found.
Thanks.
Martin
Comment #10
Nafes commentedHi Martin,
Thank you. I am glad that everything is working well. I made a 7.x-2.0 release. Do not worry that it is in yellow color - I just don't want to force to update people, who are OK with 7.x-1.x. Good luck in your projects!
Kind regards,
Nik