This would be so cool. On sites where there is no WYSIWYG, it would be absolutely smart if we could have an extra field group on the node add/edit screens, that could be populated for the node.
For example, I'm creating a new node called "Jaguar XJS". I want all nodes that contain the phrase "Jaguar XJS" to have that phrase link back to the node that I'm currently editing. Luckily, there's a field here that I can type into and the alinks module will automatically generate a new alink using my chosen phrase from node/add, and link it to the newly created node page!
That would be brilliant, and I don't think all that hard - potentially there is an issue around the area of URL aliases though? I don't know where these get set or at what point in the Drupal cycle.
If this could implement support for the Token.module, then you wouldn't even have to input the value - you could potentially (with a little more development work) just input a default Token value for the node type! For example, in the "car" node type, I would put the Token of "page title" into my default value, then I don't even have to think about it - it happens automatically! Could this also be configured to work with CCK values maybe??
Food for thought I think. This module could potentially be very powerful.
Comments
Comment #1
tic2000 commentedThis is a good suggestion. But honestly, my time doesn't allow me to make this module use token or any other module, so if I implement this I will only add a text field where you can insert the text you want, a field with the default value set to the node title (when editing a node).
Comment #2
jiangxijay commentedEven including a text field on node create or node edit would be FANTASTIC!
Comment #3
talatnat commented+1 for this feature. I see many, many requests for Alinks to link on fields, not just nodes. :)
Comment #4
greg boggsComment #5
greg boggs