[drupal-devel] export on books links

Moshe Weitzman weitzman at tejasa.com
Thu Sep 29 20:35:09 UTC 2005

Bèr Kessels wrote:
> Hi,
> As so many people, I am again a little bit annoyed about various links under a 
> node. 
> In this case my client wants me to remove the export as FOO links. 
> We use books for our static part (as discussed earlier in this ML: books make 
> perfect static sites) of the site.
> But, all the export as links are clutter in that case. I have made some 
> regexps to get these links out. But that somution is subideal. 
> I see two solutions: rewrite the _link system completely. I have not time for 
> this. Or introduce a permission 'export books'. 
> Please give your comments or ideas on what route to take and what has the most 
> chance to get in. Other options are most welcome too, off course!
> Bèr

ber - this is even easier than whatyou did for profile fields. 
hook_link() should return an array with named key for each item. all 
that is needed is to add the key since the hook already returns an array.

More information about the drupal-devel mailing list