Translations
Info
All page names need to be in English.
en da  de  fr  it  ja  km  nl  ru  zh

Ext knowledgebase

From TYPO3Wiki
Jump to: navigation, search

<< Back to Extension manuals page

[edit]

Knowledgebase (KB) extension

additions to MOC Knowledgebase (moc_articles) or additons to tt_news

Resent conclusion (2006)

Use tt_news. tt_news with commenting with news FE editing - has all basic Knowledgebase functionality.

Status

Project is frozen

Project Goal

Make general purpose Knowledgebase (KB) extension with features:

  1. article can be in multiple categories
  2. we can use typo3 pages tree as categories and display articles of the given category on the on the given page
  3. FE-users can post comments to an article
  4. main features of article of tt_news and MOC Knowledgebase (attached files, related articles, links, RTE editing etc)


This ext must be like widely used Knowledgebases:

3 possible way of development:

1. Make this ext like next version of MOC Knowledgebase (moc_articles) https://extensions.typo3.org/extension/moc_articles/ (many thanks to Jan-Erik Revsbech for good job!)
advantages: We have working tested solution, with a number of good features, like target group etc. If we do new version - updrage is possble to MOC Knowlegebase users. No problems with tt_news intersections.
disadvantages ???


2. Make this ext like extension of new version of tt_news + Modern Guestbook (ve_guestbook) (that will works together for commenting). So we will have one super-extension tt_news for all purposes :-)
advantages: Can use features of Modern Guestbook for commenting and may be some good features of tt_news 2.0.x. Can configure KB editors as BE-users with limited permissions.
disadvantages ???

Comment: chc-forum and chc-forum-to-tt_news connector is to complex for this project needs.

Modern Guestbook (ve_guestbook) patch (to use it with tt_news): http://www.webmed.ru/ext/ (alpha version of patch, overrite existing ve_guestbook) Usage: put on news Single View page 2 examples of Modern Guestbook (LIST and FORM) No configuration (in default case of tt_news installation)

3. vBulletin based ?nowledgebase. I use vBulletin in my project as community part (with vBulletin users Authentication to TYPO3) So it is good to use one vBulletin forum to save all KB articles. This hack to vBulletin can be done (there are some starting points to this development). After that this vBulletin KB can be integrated to TYPO3 page structure.



Roles

  1. Visitors (FE-users): can brouse ,search KB, post comments
  2. KB editors (FE-users or may be BE-users): add/edit KB articles
  3. Administrators (BE-user admin :-) )



Requirements (detailed description)

Must-Features:

  1. article can be in multiple categories
  2. we can use typo3 pages tree as categories and display articles of the given category on the on the given page
  3. FE-users can post comments to an article

Can-Features:

  1. Code highligting
  2. Some rules for attache files manipulation



Use case: We have site with structure:

  • Home
  • About
  • Produts
  • Blah-blah-blah
  • Knowledge Base
    • Category1
      • Category1.1
      • Category1.2
    • Category2
      • Category2.1
      • Category2.2

On pages CategoryXX can be some content elements with products info, ads or something else. And in the bottom of all CategoryXX pages must be all KB articles, assosiated with this page.

Number of categories: 100-500

Number of items: 1000-3000

Number of items per page: 10-50

For navigation I will use commercial DHTML-tree menu (data is generated by TS and PHP with HMENU and IProcFunc). Working example on http://www.yourassist.com




Implementation (sorry , very small experience with ext development)

Pages-tree as categories-tree

  • Make one additional table articles_pages:
CREATE TABLE `articles_pages` (
  `uid_article` int(11) unsigned NOT NULL default '0',
  `uid_page` int(11) unsigned NOT NULL default '0',
  `sorting` int(11) unsigned NOT NULL default '0',
  KEY `uid_article` (`uid_article`),
  KEY `uid_page` (`uid_page`)
) TYPE=MyISAM;
  • insert in BE article editing form some control to add multiple pages, related to the given article.
  • make TS (may be with PHP and simple SQL query), that will display all articles related to the given page)

Problems

  1. In BackEnd we have not tree view of all KB (if we will use defaul tt_news or MOC Knowlegebase). May be FE editing will be the best solution?
  2. If we make FE editing of articles, we will have problems of file uploading and permissions to view page-tree (as it is used as categories tree).
  3. How to make multiple selection of categories for editable article (on article editing page)

and how to display what categories are selected. Ready-to-use typo3 control do not siplay category path, only category name. I mean we can see only Category1.1.1, but not Category1->Category1.1->Category1.1.1