Closed (won't fix)
Project:
ecard
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Oct 2009 at 18:43 UTC
Updated:
25 Jan 2013 at 23:53 UTC
Jump to comment: Most recent file
Comments
Comment #1
stella commentedPatch re-roll
Comment #2
kars-t commentedI have to apply this by hand. This may take a while.
The good side of the patch is that we use token! Yay!
The bad side is that we basically fork the module here because all old setting with %sitename won't work anymore. And the module will have to depend on token which is not in the current patch. I already wanted to make a really new version so with this patch I will make a new branch 6.x-2 so it doesn't get mixed up. Any Tweaks should go into this than.
Comment #3
kars-t commented#608788 by stella | Kars-T: Added add support for token module.
I did commit this to the 6.x-2.x branch. Thank you!
Comment #5
stella commentedThe above patch never made it into the 6.x-1.x branch and only the 2.x branch which seems to be abandoned if commits are anything to go by. So re-opening this ticket with a patch re-roll against the latest 1.x. I don't expect it to get committed to 6.x since that's feature frozen now (though hoping!) but really uploading here in case anyone else wants this functionality on the 6.x-1.x branch.
Comment #6
kars-t commentedHi Stella
the problem is that it is such a long time I can't tell anymore why I did a 2.x and what was the status of 1.x. Your patch seems clean and I thrust you so if you say it's a good idea I would commit it to 1.x?
Comment #7
stella commentedI'd like to do a bit more testing of the re-rolled version, but certainly I've been using the old one in production for over a year now.
I think you didn't commit it to 1.x branch because it doesn't implement an update hook to update existing installations of the ecard module where people are relying on the old %placeholders. You could probably write one easily enough and just do a str_replace() or strtr() on each affected variable like you do to replace the placeholders with the actual values.
Comment #8
kars-t commentedHmm I set this to "won't fix" so it doesn't bug me anymore. There won't be a 6.x-2.x ...