demianturner / sgl-docs-tickets-migration-test

0 stars 0 forks source link

FAQ Enhancement - Disable/Enable Entries #1414

Open demianturner opened 11 years ago

demianturner commented 11 years ago

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.

demianturner commented 11 years ago

[martin] 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).

demianturner commented 11 years ago

[demian] let's do this in 0.7

demianturner commented 11 years ago

[demian] 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

}}}

demianturner commented 11 years ago

[demian] Milestone 0.7.0 deleted