Ticket #41 (new enhancement)

Opened 8 years ago

Last modified 9 months ago

FAQ Enhancement - Categories

Reported by: aj Assigned to: martin
Priority: normal Milestone:
Component: module - faq Severity: normal
Keywords: Cc:

Description

Following functions for FAQ-Module would be great:

  • make "subareas" or categories via nestedSet

so i can order the faqs like: 1: seagull faq 1.1 why seagull 1.2 why pear 1.3 modules 1.3.1 why faq 1.3.2 how can i add this? 2: foobar 2.1: foo 2.2: bar

etc ;)

  • maybe a "disable"/"enable" per entrie is useful if

i want some questions temporary not to show but i don't want to delete them.

  • use the css pseudo attribute "target" for linking

to the answers. works not in every browser yet, but i think it's nice for where it works and not that important that it really must work everywhere. see: http://www.htmldog.com/articles/suckerfish/target/ good example: http://www.htmldog.com/ptg/archives/000051.php#comment1

just some ideas, maybe something useful ;)

Attachments

faq_categories.diff (20.9 kB) - added by martin on 03/29/07 05:23:48.

Change History

10/19/05 12:12:18 changed by werner

see also:

http://seagull.phpkitchen.com/docs/wakka.php?wakka=RFC/Modules/FAQ

03/19/07 10:21:43 changed by martin

  • summary changed from FAQ Enhancement to FAQ Enhancement - Categories.

I opened two tickets for the "Disable/Enable" problem and the pseudo-class for targets (#1414 and #1415).

03/20/07 08:59:22 changed by martin

werners link is outdated. this is the new one: RFC/Modules/FAQ

03/29/07 05:23:48 changed by martin

  • attachment faq_categories.diff added.

03/29/07 05:32:34 changed by martin

  • owner changed from somebody to demian.

Categories via nestedSet but in a new table.

03/29/07 06:17:34 changed by demian

  • status changed from new to assigned.
  • milestone set to 0.7.0.

hey Martin

nice work - i've assigned this to 0.7 as DB changes break BC.

07/02/07 10:45:43 changed by demian

  • owner changed from demian to martin.
  • status changed from assigned to new.

there seem to be a few breaks in the patch, esp. in AdminFaqMgr?.php, pls fix so I can apply:

demian-turners-computer:/var/www/html/seagull/trunk demian$ patch -p0 --dry-run < faq_categories.diff 
patching file modules/faq/lang/german-iso-8859-1.php
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file modules/faq/lang/german-iso-8859-1.php.rej
patching file modules/faq/lang/english-iso-8859-15.php
Hunk #2 succeeded at 23 with fuzz 2.
patching file modules/faq/conf.ini
Hunk #1 FAILED at 6.
1 out of 1 hunk FAILED -- saving rejects to file modules/faq/conf.ini.rej
patching file modules/faq/data/schema.my.sql
patching file modules/faq/data/schema.pg.sql
patching file modules/faq/data/navigation.php
patching file modules/faq/data/schema.oci.sql
patching file modules/faq/data/tableAliases.ini
patching file modules/faq/data/data.default.my.sql
patching file modules/faq/classes/FaqMgr.php
Hunk #3 succeeded at 94 with fuzz 1.
patching file modules/faq/classes/AdminFaqMgr.php
Hunk #1 FAILED at 38.
Hunk #2 FAILED at 57.
Hunk #3 FAILED at 121.
Hunk #4 FAILED at 146.
Hunk #5 FAILED at 169.
Hunk #6 FAILED at 183.
Hunk #7 FAILED at 259.
Hunk #8 FAILED at 285.
8 out of 8 hunks FAILED -- saving rejects to file modules/faq/classes/AdminFaqMgr.php.rej
patching file modules/faq/templates/faqList.html
patching file modules/faq/templates/admin_faqEdit.html
patching file modules/faq/templates/admin_faqList.html

03/23/08 08:57:19 changed by demian

  • milestone changed from 0.7.0 to 0.9.0 - polishing.

Milestone 0.7.0 deleted

02/26/13 13:22:19 changed by demian

  • milestone deleted.