Ticket #1414 (new enhancement)

Opened 7 years ago

Last modified 9 months ago

FAQ Enhancement - Disable/Enable Entries

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

Description

It would be nice to have a "disable/enable" per entry. The same fact is described in ticket #41, but as it deals with some other enhancements, I would like to split the ticket in three.

Attachments

martin-faq.diff (6.9 kB) - added by martin on 03/19/07 16:03:17.
Patch

Change History

03/19/07 16:03:17 changed by martin

  • attachment martin-faq.diff added.

Patch

03/19/07 16:07:37 changed by martin

  • owner changed from somebody to demian.

There is a patch for the disable/enable function of tickets. The database-schema for the faqs has to be altered (a new column in the faqs-table), otherwise the new functionality is broken. Don't know how to deal with downward compatibility. The data remains as it is (if the value in the new column is null, the faq-entry remains visible).

04/10/07 07:41:53 changed by demian

  • milestone set to 0.7.0.

let's do this in 0.7

07/02/07 11:18:10 changed by demian

  • owner changed from demian to martin.

almost working, pls fix:

demian-turners-computer:/var/www/html/seagull/trunk demian$ patch -p0 --dry-run < martin-faq.diff 
patching file modules/faq/lang/english-iso-8859-15.php
Hunk #2 succeeded at 23 with fuzz 2.
patching file modules/faq/data/schema.my.sql
patching file modules/faq/data/schema.pg.sql
patching file modules/faq/data/schema.oci.sql
patching file modules/faq/classes/FaqMgr.php
patching file modules/faq/classes/AdminFaqMgr.php
Hunk #1 FAILED at 137.
Hunk #2 FAILED at 160.
Hunk #3 FAILED at 171.
3 out of 3 hunks FAILED -- saving rejects to file modules/faq/classes/AdminFaqMgr.php.rej
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:07:39 changed by demian

  • milestone deleted.