Auto-create alinks in node edit!

NikLP - May 16, 2007 - 17:41
Project:Alinks
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

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.

#1

tic2000 - May 16, 2007 - 20:09

This 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).

#2

jiangxijay - October 5, 2007 - 22:23

Even including a text field on node create or node edit would be FANTASTIC!

#3

talatnat - December 12, 2007 - 07:31

+1 for this feature. I see many, many requests for Alinks to link on fields, not just nodes. :)

 
 

Drupal is a registered trademark of Dries Buytaert.