这个项目怎么可能使用Drupal
我的项目的目的是为我的公司创建一个在线帮助中心...
我想要的是以下内容,
一个供任何用户使用的“首页”,其中有一个搜索区域,其中包含用于搜索问题的字段(当用户键入时自动完成),以及一个用于选择帮助区域“技术”、“销售”、“人力资源”、“工资单”等的下拉菜单 - 这应该默认为“所有区域”。
在此搜索区域下方,我想要一个显示前 5 个询问问题的区域,或者如果用户选择了帮助区域,则显示该帮助区域中的前 5 个问题,或者如果用户输入了问题,则显示相关问题。在每种情况下,我都希望用户可以单击问题以在灯箱类型的弹出窗口中显示答案。
这两个框以及欢迎标题和徽标就是要显示的全部内容...
我还希望有一个注册用户必须登录才能访问的后端。登录后,应打开后端。
一个选项卡将用于“内容管理”,具有此权限的用户可以添加/编辑/删除内容 - 与前端的布局类似。用户将能够像在前端一样进行搜索,只不过这次问题/答案/标签等显示在可编辑的字段中。
一个选项卡将用于“内容审批”,具有此权限的用户可以滚动浏览每个选项卡由“内容管理员”进行更改,然后批准或拒绝更改 - 与前端类似的布局,带有用作更改请求收件箱的侧面区域?
一个选项卡用于“报告”,另一个选项卡用于“系统设置”——我再次想要类似的布局
这是我想要实现的基础知识——鉴于我有 PHP、JavaScript 和 XHTML 的经验,这在 Drupal 中怎么可能实现?对 drupal 的工作原理有基本的了解吗?
The aim of my project is to create an online help-centre for my company...
what I want is the following,
a "front page" for any user to use where there is a search area containing a field to search for questions (that autocompletes as the user types), and a drop down menu to select a help area "technical", "sales", "HR", "Payroll" etc... - this should default to All Areas.
Underneath this search area I want an area where the top 5 asked questions are displayed OR if the user has selected a help area the top 5 questions within that help area are displayed OR if the user has entered a question the related questions are displayed. In each case, i want it so the user can click on a question to display the answer in a light-box type pop-up.
These two boxes along with a welcome title and logo are all that is to be displayed...
I also want to have a backend where a registered user must login to access. Once logged in, the backend should be tabbed.
One tab will be for "Content Management" where users with this permission can add/edit/delete content - similar layout to the front end. The user will be able to search as in the front end except this time the question/answer/tags etc are displayed in fields that can be edited..
One tab will be for "Content Approval" where users with this permission can scroll through each change made by a "content manager" and either approve or reject the change - similar layout to the front end with a side area that is used as a change request inbox?
One tab will be for "Reporting" and another for "System Settings" - again I want similar layouts
This is the basics of what I want to achieve - how possible is this with Drupal given I have experience with PHP, JavaScript, and XHTML and a basic understanding of how drupal works?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
简短的回答:很有可能
这一切听起来都是可行的,但如果您还没有在 drupal 中进行开发,那么就会有一些学习曲线。它肯定需要一些自定义模块开发,但是一旦您熟悉了 Drupal API,这将是非常有益的。
所有的源代码都在那里。如果您看到提供类似元素的界面,只需查看模块代码并将其复制/修改到您的模块即可。
Short answer: very possible
That all sounds doable, but if you haven't been developing in drupal, then there's a bit of a learning curve. It will certainly require some custom module development, but once you get familiar with the Drupal API, it will be very rewarding.
All the source code is there. If you see an interface that provides similar elements, just look at the module code and copy/modify it over to your modules.
恕我直言,是的,这是可能的,但这不是 Drupal 的重点领域。您的需求将引导我找到一个框架驱动的解决方案 - 有许多强大的框架(如果您需要使用 PHP,Symfony 和 Zend Framework 应该是不错的工具,如果不需要是 PHP,我个人会推荐精彩的Django 框架)。
正如 Coder1 所说,开发这样的应用程序(这更像是一个 Web 应用程序,而不是网站)需要一些编程和 Drupal 模块开发方面的知识。因此,如果您要使用大量内容管理内容来扩展项目,请使用 Drupal。如果没有,请使用框架来实现,这可能会更快。
IMHO, yes, it's possible, but this is not Drupal's focus field. Your demands would lead me to a framework-driven solution - there are a number of strong frameworks (if you need to use PHP, Symfony and the Zend Framework should be good tools, if it does not need to be PHP, I personally would recommend the wonderful Django framework).
As Coder1 said, developing such an application (and this is more a web application than a website) requires some knowledge in programming and Drupal module development. So if you will extend the project with a lot of content management stuff, do it with Drupal. If not, realize it using a framework, which will probably be done much faster.