Closed (fixed)
Project:
Custom Tokens
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
14 Nov 2011 at 21:34 UTC
Updated:
22 Mar 2021 at 07:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
oskar_calvo commentedAny new about this request?
Oskar.
Comment #2
harshil.maradiya commentedPlease use this module
https://drupal.org/sandbox/harshilmaradiya/2209623
Comment #3
josebc commentedThank you for the module, however i don't think something like this should be done as independent of the original module, i think a patch adding this feature to Custom Tokens should do the job
Comment #4
harshil.maradiya commentedThanks josebc,
I have committed as different patch , please review my patch
Comment #5
harshil.maradiya commentedComment #6
hanoiiIs this the standard naming conventions for features, or shouldn't this be namespaced with token_custom as a prefix?
I think this patch is missing the new file, if you are adding this with git, first add the files and then run git diff --cached, this will also include new/deleted files.
Comment #7
harshil.maradiya commentedoops my bad , apology for wrong patch
Let me change the status and i will update the patch with proper file
Comment #8
harshil.maradiya commentedComment #9
geek-merlinCool work!
Comment #10
harshil.maradiya commentedHello hanoii,
I have fixed all comments please check and pass my patch
Comment #11
harshil.maradiya commentedComment #12
nidhi.badani commentedComment #13
nidhi.badani commentedHi Harshil,
The patch works well!, I had created a custom token and then created a feature for it. On deleting it form the custom token list, I tried to restore it with features and yes it works as expected.
Comment #14
big_smile commentedThe patch in #10 works perfectly for me. I hope it can be added to core!
Feature request: It would be nice if the patch could be updated to export "Custom Token Types" (at yoursite.com/admin/structure/token-custom/type).
Comment #15
Mouna Hammami commented#10 works perfectly for me . Thanks!
Comment #16
fox_01 commented#10 works
Comment #17
anybodyConfirming RTBC!
What about a new release @maintainer?
Furthermore we need the same functionality for Drupal 8. So this has to be ported afterwards. Does someone have experience with features export in D8?
Comment #18
anybodyThis is RTBC since 2 month now. Is there an active maintainer willing to create a new release?
Comment #19
mlima commentedHas this patch ever been released in the modules core? If not does the community allow a module fork in cases like that?
Comment #20
polynya commentedI became a maintainer recently when I worked on the port to Drupal 8. I haven't used the Drupal 7 version.
I can see a few issues with patch #10, one major and the rest minor. If someone can create a new patch then I'll test and merge it.
token_custom_features_config_get_tokendshould betoken_custom_features_config_get_tokensComment #21
polynya commentedComment #22
nikita_ttThanks, @harshil.maradiya for the patch (#10). I added some changes and corrected violations of coding standards.
You can use Strongarm to export "Custom Token Types".
Comment #23
perkeTested #22 on 7.x-2.0 and it works great, many thanks for the efforts. Moving to RTBC and latest 7.x dev
Comment #24
Anonymous (not verified) commentedYep, #22 works great on 7.x-2.0.
Please commit.
Thanks for the great module and patch!
Comment #25
Rafal LukawieckiAnother vote to commit this patch, please. Has the maintainer left the project?
Comment #26
anybody@Maintainer: This has been reviewed by many people, furthermore the integration will only add functionality and is not able to break existing functionality. Could this perhaps be committed?
It would really help a lot!
The points @polynya mentioned in #20 were fixed in #22.
Thank you in advance! Confirming RTBC++
Comment #28
polynya commentedThis has been merged, over 9 years since the feature was requested!
Comment #29
anybodyThank you very very much @polynya :)