No main menu!
Added by Steven Bartley about 15 years ago
Hi all,
I am running Redmine 0.8.4 on HostingRails.com. I got through the install without spilling too much blood (I'm new to Rails). I'm running the app through fastcgi and got it coming up.
Here's my problem, there's no main menu! I haven't a clue even where to start to look for a solution to this problem.
I tried to get my environment info as recommended for posting to this forum. But that fails with:
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- rails/info (MissingSourceFile)
The working version of Rails on the host is at 2.3.2
I don't know if that is the same as the version installed in vendor/rails and I don't know if that matters.
I am confused about an application needing a specific version of Rails put into vendor/rails but then doing all the command line stuff with a different version running on the host.
What I'm hoping someone on this forum can do is give some clue as to where to start looking for the cause of the missing main-menu problem.
Other than the main-menu, the Redmine is working fine. I can create users, login using their credentials etc. The missing menu business is really strange. I don't see how it could just not be there.
I tried running under webrick. But when I browse to my port, I still have no main menu.
Any ideas?
Replies (7)
RE: No main menu!
-
Added by Robert Gonzalez about 15 years ago
I ran into the same thing. I dont see the:
Roadmap, Wiki, and a couple of others on the bar below the project name. Is this what you are missing too?
And for a project, I've looked everywhere and I dont know how to add a new version. Its nowhere, including the administration menu.
RE: No main menu!
-
Added by Steven Bartley about 15 years ago
You are describing exactly the situation I have. I've been digging around everywhere I can think of, but not getting very far.
There was a statement in one item I found that made a passing statement that inferred that no items on the main menu was Redmine's default state.
If that were the case, I'd expect to find something in Redmine's documentation. I'm going through that again now, but nothing so far.
RE: No main menu!
-
Added by Mischa The Evil about 15 years ago
Hello there,
C'mon guys... Show your search capabilities... :-)
Let's see:- regarding the missing wiki: RedmineProjectSettings
- regarding the versions: RedmineProjectSettings
- regarding the missing roadmap: http://www.redmine.org/boards/2/topics/6635, http://www.redmine.org/boards/2/topics/5620#message-5622
- regarding the missing forum: http://www.redmine.org/projects/1/repository/revisions/529
Though, I agree that the last two should be added to the appropriate wiki-pages. I'll fix that... Note: these tabs are all seperate modules which can be activated/deactivated on a per-project basis. See RedmineProjectSettings for more info.
Btw: I only reply to this forum-message and the issue to refer to this thread and close the issue #3478 if this post suffices Stevens exact issue.
Steven Ghyselbrecht Bartley: Did you create a project at first and are you browsing a project-view (like overview)? Do you see some items? Ifnot: do you actually mean the project-menu with the main-menu?
Kind regards,
Mischa.
Edited by Mischa The Evil: Added more detailed reply for Steven.
RE: No main menu!
-
Added by Steven Bartley about 15 years ago
Mischa,
Thanks for replying. As much as I hate wearing newbie caps, someone has to do it :)
I had not initially created a project. I'd just completed one before coming back here with some news for Robert.
You are right, things got better once a project existed.
Mischa, thanks again for your input. I'll follow up on all the links you've given.
The rest of what I write now is for Robert and to help me clarify in my mind what I think I may have learned.
Robert, after I created a project, I got a menu when I browsed to the project, but it was missing the wiki and the roadmap menu items. I went back into the setup for the project and via the wiki tab created a name for the main wiki page. When I went back to the project page and I now had a wiki menu item.
Redmine's game plan seems to be "don't clutter up the place with empty items" - makes sense.
I still had no roadmap. But having a better feel for what I was looking for, when I read that the roadmap was reporting on versions, I went back to settings and formalized a version. Lo and behold, I now had a roadmap item on my project menu.
None of this changes the fact that there's still nothing on the main menu if no project is active. When I came back here this time, I wanted to share with you my speculation on that. I imagine that this might be covered in Mischa's suggested reading.
Nonetheless, because at the moment I see nothing in the setup stuff dealing with the main menu, I see two possibilities.
1) Modify the code. Not hacking, but through a formalized mechanism like plugins. I saw something somewhere along the line about adding a plugin to any of a selection of menus, and main was one of them.
2) Be creative with routing. After taking a closer look at this site, redmine.org's root page looks like a project page to me. So what if you changed the map.home route in route.rb and pointed it at a project link?
As I mentioned, I quite new to Rails (Ruby too for that matter) so I'm not exactly sure about the details. But it seems to me if one did that, it would look just like this site's main page does. And that would give us a main menu on the root page without coding a solution. (Which I don't really mind--just not today)
So that's my 2 cents. I'm off to read Mischa's links and more googling ;)
If this was a totally stupid idea, maybe some straight shooter like Mischa would post a commment to that effect. I'd hate to be leaving gotchas around to ruin some other newbie's day :(
RE: No main menu!
-
Added by Robert Gonzalez about 15 years ago
Concerning the wiki, I read the RedmineProjectSettings, and the instructions,which I include here:
_Wiki¶
Each project can have its own wiki. To activate it, give a name for the main page and click 'Save'. You are able to edit the chosen name for the main page here also.
Note: starting from unscheduled version 0.9 you don't have to activate the main wikipage any longer._
Maybe its clear to people who developed RedMine, but to me, I cant parse this to mean anything that I can translate to actions. I tried to name the "main page" which I translated to the "homepage" in the project settings? I dont understand what this means: "To activate it, give a name for the main page and click 'Save'."
Should the "homepage" be a relative url, a plain text name that will be rooted somewhere, or an absolute URL? An example would be invaluable.
Thanks,
Robert
RE: No main menu!
-
Added by Robert Gonzalez about 15 years ago
Ok, I just figured it out. I can re-write the RedmineProjectSettings description for these things to make it more detailed for instruction challenged people like me. :) Anybody have any objection?
Thanks,
Robert
RE: No main menu!
-
Added by Mischa The Evil about 15 years ago
Robert Gonzalez wrote:
I dont understand what this means: "To activate it, give a name for the main page and click 'Save'."
I'll optimize that sentence tomorrow or so... It indeed can be explained better... :)
Steven Ghyselbrecht: your welcome :) I had to start somewhere too, so I understand your position...
Regards,
Mischa.