Closed (duplicate)
Project:
Machine name
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2013 at 05:15 UTC
Updated:
12 Aug 2015 at 15:15 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Jeffrey C. commentedFixing the typo.
Comment #2
Jeffrey C. commentedApplied cleanly to 7.x-1.0 release. An quite easy fix to me.
Comment #3
Jeffrey C. commentedUse this patch instead. I added variable_set in hook_install() and removed the default value when the variable is not set since it's always set; the module always gets installed first.
Comment #4
Jeffrey C. commentedI've added the update function from 7.x-1.0. Use this one!
Comment #5
Jeffrey C. commentedOops! Forgot the file.
Comment #6
Jeffrey C. commentedAdded an empty line at the end of the file so it conforms standard. This one, please!
Comment #7
c-logemannNew Features are only implemented in the 7.x-2x-Branch.
Comment #8
Jeffrey C. commentedCan you please review the patch? It works just fine for me.
Comment #9
Jeffrey C. commentedDo you have any plan on releasing a stable version of the 2.x branch?
Comment #10
timofey commented+1 I'd love to see this in 2.0!
Comment #11
c-logemann@Jeffrey C.: currently there is no plan. I am currently very busy. I will take a look at the patch as soon as possible. And I try to make a plan for the future of the module.
@timofey: testing will help to get new features in a module.
Comment #12
timofey commentedSadly, I'm getting a lot of errors. For example Line 34
function commerce_update_7101()should read something likefunction machine_name_update101(). Line 56 is referencing to filemachine_name.admin.inc, which does not exist. So on and so forth.Also, it would be nice to have settings like these per content type, not as a whole.
Comment #13
Jeffrey C. commented@C_Logemann: Mind adding me as a co-maintainer?
Comment #14
c-logemann@ Jeffrey C.: Currently your code is not usable. You have forgotten to add the file "machine_name.admin.inc" in your patch and you added "function commerce_update_7101() from commerce module " to install file.
I think the possibility to change machine name field entries is a good idea. But this should be configurable per field and not global as you try to realize. I know this needs more coding but in bigger project with more than one machine name field it's very recommended.
Comment #15
c-logemannJust changed back to 7.x-1.x-dev because of new maintaining strategy.
Comment #15.0
c-logemannFixed the typo.
Comment #16
c-logemannMeanwhile eugene.ilyin provided a working patch with settings per field: #2452563: Allow to change value of machine name field when edit entity