There is link to Edit Flash Video under admin/settings/flashvideo/edit
But when I click on that link I simply get a blank screen and Drupal renders nothing.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | flashvideo-6.x-1.4-rc2-menu.patch | 1.18 KB | attheshow |
There is link to Edit Flash Video under admin/settings/flashvideo/edit
But when I click on that link I simply get a blank screen and Drupal renders nothing.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | flashvideo-6.x-1.4-rc2-menu.patch | 1.18 KB | attheshow |
Comments
Comment #1
vibrantsky commentedI have the same problem, i dont even know if there is supposed to be anything there?
running on Windows (was tough to get up).
Comment #2
ionuts71 commentedNobody knows?
Comment #3
MaffooClock commentedThis is still an issue.
Comment #4
aznboy commentedi have it working with windows and that problem does not happen.
You also did not provide enough information.
What does you logs say. Is it perhaps you haven't given php enough memory to run.
Comment #5
chrisfromredfinI am seeing this same behavior, and nothing is written to my error.log. As it turns out, it's not a "bug" per se -- it's just that the menu path is not meant to be called without another parameter. That is, admin/settings/flashvideo/edit/NODE-TYPE (or admin/settings/flashvideo/edit/global). Travist, I think an easy way to deal with it is to add an else condition for if ($node_type), that does looks like:
But that might not be best practice. I'm sure there's a way to remove just the /edit from the menu should you need to, or "require" an argument.
Let me guess (other people who've reported this) -- you can see it in your black bar at the top (admin_menu module) but you don't see it if you use the regular administration menu in your sidebar (or whatever region you have it in)? It's just the way admin_menu is building out the menus. The good news is there's no error and there's nothing you're missing in your configuration.
Comment #6
travist commentedWhat about doing this?....
really, people shouldn't be going to the edit without a node type, so I really don't see any other way around this...
Comment #7
chrisfromredfinEither way is fine - either redirect them to the menu to choose one, or redirect them to global. I don't have a compelling reason one way or the other, and you're the developer, so you get to choose. :)
Comment #8
MGN commentedThis is still present in 6.x-1.4. The fix in #6 is correct, but I would also recommend setting the type of menu item to MENU_CALLBACK as
This will eliminate the useless submenu that is currently appearing in the admin menu.
Hope this helps.
Comment #9
travist commentedMGN,
That is the best solution for this.... I just committed that and it will be added to the next release. Thanks for your efforts.
Comment #10
travist commentedComment #11
attheshow commentedI tried removing the 'parent' parameter from the menu call and that fixed this issue for me, without hurting access to the normal edit pages. It's a super small change, but I've attached a patch to this issue. The patch is for the latest release as of today (6.x-1.4-rc2).
Comment #12
travist commentedattheshow....
Thank you so much for this. This has been confusing me as to why it wasn't working. Just committed this. Will be in version 1.4.
Thanks!!
Travis.
Comment #13
travist commentedFixed in version 1.4! Thanks everyone for the efforts!