项目

一般

简介

插件 » Redmine Knowledgebase 知识管理插件(Redmine 4.*兼容版)

评论

添加评论

#1 由 匿名用户 在 27 天 之前添加

~/redmine_git/redmine-4.1.1-7/use_redmine
RAILS_ENV=production bundle exec rake redmine:plugins:migrate NAME=redmine_knowledgebase

chen rain Snowman
如上命令就可以安装了,感谢感谢!

#2 Chen Snowman28 天 之前添加

@yuan_lianhuan 按如下步骤再试试看:

~/redmine_git/redmine-4.1.1-7/use_redmine
RAILS_ENV=production bundle exec rake redmine:plugins:migrate NAME=redmine_knowledgebase

重新启动redmine

#3 yuan lianhuan28 天 之前添加

安装不上,望帮忙看看

报错

linux@linux-virtual-machine:~/redmine_git/redmine-4.1.1-7/apps/redmine/htdocs$ bundle exec rake redmine:plugins:migrate NAME=redmine_knowledgebase
rake aborted!
Mysql2::Error::ConnectionError: Can’t connect to local MySQL server through socket '/tmp/mysql.sock’ (2)
/home/linux/redmine_git/redmine-4.1.1-7/apps/redmine/htdocs/lib/redmine/plugin.rb:550:in `get_all_versions’
/home/linux/redmine_git/redmine-4.1.1-7/apps/redmine/htdocs/lib/redmine/plugin.rb:558:in `current_version’
/home/linux/redmine_git/redmine-4.1.1-7/apps/redmine/htdocs/lib/redmine/plugin.rb:540:in `migrate_plugin’
/home/linux/redmine_git/redmine-4.1.1-7/apps/redmine/htdocs/lib/redmine/plugin.rb:483:in `migrate’
/home/linux/redmine_git/redmine-4.1.1-7/apps/redmine/htdocs/lib/redmine/plugin.rb:494:in `migrate’
/home/linux/redmine_git/redmine-4.1.1-7/apps/redmine/htdocs/lib/tasks/redmine.rake:135:in `block (3 levels) in <top (required)>'
Tasks: TOP ⇒ redmine:plugins:migrate
(See full trace by running task with --trace)

#4 Chen Snowman大约 2 个月 之前添加

按照提示操作,执行 bundle install --no-deployment

#5 小孩 坏大约 2 个月 之前添加

bundle install 时输出下面提示怎么解决?

You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated ../Gemfile.lock to version control.

If this is a development machine, remove the /opt/bitnami/apps/redmine/htdocs/Gemfile freeze
by running `bundle install --no-deployment`.

The dependencies in your gemfile changed

You have added to the Gemfile:
  • redmine_crm
  • ya2yaml
  • awesome_nested_set

#6 redmineplugins.cn Admin3 个月 之前添加

@Smith Johnson 用 #129 可以做到根类别可折叠

#7 Smith Johnson3 个月 之前添加

我试着在span里面加入了class,页面可以实现,但点击无效,应该是未定义相关的方法。
请帮忙完善一下代码。

路径:redmine-4.1/plugins/redmine_knowledgebase/app/views/categories/_tree_row.html.erb

<tr class="project child leaf <%= category.level > 0 ? "idnt idnt-#{category.level}" : nil %>">
  <td class="name">
    <% if has_children %>
        <span class="expander" onclick="toggleShowHide(<%= "'#{cat_id}'" %>)">
        <%= link_to(category.title, {:controller => 'categories', :action => 'show', :id => category.id, :project_id => @project} ) %>
        <%= " (#{category.articles.count})" if (category.articles.count > 0 && show_category_totals?) %>
        </span>
    <% end %>
  </td>
</tr>

<% subs = category.children %>
<% subs = subs.sort_by(&:title) if sort_categories? %>
<% subs.each do |subcat| %>
  <%= render :partial => 'categories/tree_row', :locals => { :category => subcat } %>

<% has_children = category.children.any? { |p| p.visible? } %>

<% end %>

#8 Smith Johnson3 个月 之前添加

能不能帮忙在categories中,加入层级展开关闭功能?
如果可以实现,就可以创建多级目录后不占用太多页面高度了。

#9 redmineplugins.cn Admin8 个月 之前添加

@Chang Uart 是的,因为redmineup的系列插件会依赖tags,同时Redmine Knowledgebase也会。有一个解决方案是安装 redmine_acts_as_taggable_on 以化解他们的冲突。你可以试试看,我还没有验证过。

#10 Chang Uart8 个月 之前添加

似乎跟CRM插件衝突, 但也許是安裝方法的問題.

#11 redmineplugins.cn Admin11 个月 之前添加

是的,可以支持4.1.0 stable

#12 由 匿名用户 在 11 个月 之前添加

支持4.1.0 stable版本吗?

添加评论

验证