Closed (fixed)
Project:
Go - url redirects
Version:
5.x-1.3
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
3 May 2007 at 20:08 UTC
Updated:
18 Mar 2008 at 02:13 UTC
Jump to comment: Most recent file
here is the missing code.
$items[] = array(
'title' => 'Go list',
'path' => 'admin/build/gotwo',
'callback' => '__gotwo_list',
'access' => user_access('view entry list'),
);
$items[] = array(
'title' => 'list',
'path' => 'admin/build/gotwo/list',
'callback' => '__gotwo_list',
'access' => user_access('view entry list'),
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -10,
);
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | gotwo.141164.patch | 2.07 KB | spiderman |
Comments
Comment #1
jredding commentedReleased a new version 5.1.1
Comment #2
jredding commentedNew version fixes this issue.. Closing.
Comment #3
hass commentedThis bug is not fixed in 5.x-1.1. I cannot edit the Go URL List...
Comment #4
jredding commentednew code committed which should fix this bug.
Comment #5
jredding commented5.1.2 is working.. All previous 5.x version are completely screwed up due to my limited CVS knowledge
Comment #6
BioALIEN commentedhass, do you think admin/build is the best location for this link? Since it displays stats, I would have imagined it going into the "Logs" section?
Also it needs some help text on the "admin" overview page to make it inline with Drupal. Just a one line description will suffice.
Thoughts?
Comment #7
hass commentednot sure... good point, but log is not the best location... i'm not awaiting any config there... therefor no good idea to move there. Maybe better to split this in to a config and a log part!? this makes things clean and easy to understand.
Comment #8
spidermani had kinda expected this page to show up under admin/content, or possibly admin/settings, when i first encountered this module- i was very surprised to find it under admin/build, and also don't think admin/logs is the place for it. i like hass' suggestion to split the feature up in two. maybe something like:
but i can also see an argument for leaving it where it is (under admin/build), consider it analogous to 'URL aliases', and in fact rename it to 'URL redirects', so it'll be easier to find in there.
in either case, we could also boost the admin/help/gotwo page up a bit, to include some details on how to administer gotwo entries, if the user has perms for that (first place i looked for help) ;)
Comment #9
BioALIEN commentedI can see the argument here. Splitting it may overcomplicate the module as an admin would want to reset a link directly after viewing the stats. Therefore, you'd naturally expect to find options such as remove/edit/reset on the same page as these stats.
My +1 goes to keeping it where it is currently and treating it similar to URL aliases. I believe 'URL redirects' sounds a lot more intelligent than 'Go List'. While we're here, I believe we're missing a 1 line description for the administrator overview page (must have show description enabled in admin panel).
Here's what I've added to my dev test in order to also make it give a clue which module this belongs to in case we proceed with 'URL redirects' name change:
Creation and management of 'go' URL redirection to external links on the web.Comment #10
spidermani've just rolled up a quick patch that adds Bio's text in hook_help, re-adds and re-names the admin/build/gotwo page, and also fixes the admin/build/gotwo/add form, which was also broken. perhaps this should be rolled separately, but they seem related (and minor) enough that i just grouped them together here.
Comment #11
hass commented'URL redirects' is problematic name. We should keep this as is for now - or maybe someone have a better idea. The problem is - "path redirect" module already use this name and is also in 'admin/build' what will confuse people.
All this changes should already be done in latest D6 version.
Comment #12
BioALIEN commentedHmm, what about the following?
1. "Go redirect"
2. "Go redirection"
3. "Go URLs"
4. "Go to URL"
Comment #13
hass commentedHm... what about 'Go redirects'? Then we are in the line of the others...
Comment #14
BioALIEN commentedOops, "Go redirect" should have read "Go redirects". Let's go with this name for now :)
Comment #15
hass commentedChanged the titles in D6 as discussed to "Go redirects".
Comment #16
spidermanI've just updated the above patch to use the Go redirects language as well, and committed to the DRUPAL-5 branch.
Comment #17
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.