Posted by New Oceans on February 9, 2007 at 1:42pm
| Project: | Custom Links |
| Version: | 6.x-1.4 |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
Hi,
Would be great to be able tweaking existing links (user's blog, read more, et cetera). Actually I'm looking for a module that makes it possible to make these links dissapear, move them to another line, or show them in a different order. AFAIK there is no such a module that makes this possible. Custom Links module seems to be very close (just like Read More Tweak module), so I thought: let's try a feature request ;)
Cheers,
Marc
Comments
#1
This is probably outside the scope of the project for the time being. It woudl require the use of php snippets to properly handle things, and once you're in that realm, it's probably easiest just to write up a custom module that implements hook_link_alter(). For now, I'm marking it 'postponed', but I'll keep an eye on it and take a look if I figure out a better way. Thanks!
#2
No worries mate,
thanks too ;)
Cheers,
Marc
#3
talked with eaton on irc about my need to remove links... so once you can remove a link then you could just re-add it with the end result being that you'd edited it.
#4
this is kind of awkward because if you're removing a link there's fields that aren't really relevant.
#5
Hi Andrew,
You're working on an issue I've started about 2 years ago ;)
To be honest, it has been defined as a feature request,
but it's not very important for me at this time.
Just for info.
#6
cleaned up the admin table. and an indenting issue.
#7
new oceans, don't worry i'm scratching my itch not yours ;)
#8
Did some tweaking on UI for entering paths... I'll let eaton be the final judge of that.
The also got the teaser/not teaser bit working.
#9
Yuck... so it looks like Zen does two calls to node_links so it can do it's "in Taxonony terms" bit. We might need to implement both hook_link() and hook_link_alter() and to additions in hook_link() and alterations/removals in hook_link_alter(). The downside is that means extra filtering on the $links. I'm almost ready to add a query builder to _custom_links_load_all_links() and have it cache based on the parameters... that or just ditch it and have each consumer load and cache their own rows.