| /[drupal]/contributions/modules/faq/faq.module |
Parent Directory
|
Revision Log
|
Revision Graph
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
styling fixes
styling issue fix
#640752 by jrguitar21 - fix for faq breadcrumbs when a node has no category associated with it
#409560 - added in an expand all / collapse all link
changed weight path and function names
renamed weight page to order
Fix for both short and long questions not appearing on node page when configured to
#422780 by andypost - fixed ordering of question fields on the node form
#625804 - fix for taxonomy link rewriting
#625804 - fixed taxonomy link rewriting
#500822 by gaele - added accordion effect option for hide answer/category layouts
#614378 - added in drag and drop question ordering
#388714 - added another category layout
Changed "omit vocabulary" to be checkboxes.
#407240 by remi - fix for general settings faq form
#525242 by fajerstarter - added theme function for faq page wrapper divs
#395028 by aleko74 - fix for utf8 truncation on order form.
#581292 by jjeff - trimmed 'back to top' link text
#581292 by jjeff - trimmed 'back to top' link text
#599568 by sreynen - changed class name
#581306 by jjeff - added 'destination' query to 'edit answer' links.
#581306 by jjeff - added 'destination' query to 'edit answer' links.
#604792 - added drupal_not_found() calls.
#604792 - added calls to drupal_not_found().
#475600 by FatGuyLaughing - added 'administer faq weights' permission, and move weight ordering tab to each individual FAQ page. #422780 by andypost - moved detailed question on faq page for the non-hide_answer layout
#390404 by Alan D. - added [faq] input filter.
removed obsolete hook
removed obsolete hook.
#364054 - partial fix for editing faq nodes with long faq questions. Remaining part of patch is for faq_ask module.
#345841 - fix for issue where FAQ item in menu sometimes displayed as if there were child menu items.
#358359 - when 'disable links to faq nodes' is enabled, questions appearing in the FAQ blocks are now just text, and not links.
#358359 - when 'disable links to faq nodes' is enabled, questions appearing in the FAQ blocks are now just text, and not links.
#362084 - fix for breadcrumb modification when using faq_page() to embed categorized faqs on other pages.
#370599 - fixed some spacing issues identified by midkemia
#365856 - by joostvdl, added div around 'All FAQs' link in blocks.
#365856 - by joostvdl, added div around 'All FAQs' link in blocks.
#364992 - fix for _pathauto_include() not being called before a pathauto function which requires it.
#364992 - fix for _pathauto_include() not being called before a pathauto function which requires it.
fixed typo.
#354997 by McJim - fix for blank "back to top" creating empty links.
#354997 by McJim - fix for blank "back to top" creating empty links.
Changed default question length to short.
#353968 - fix for optional question text actually being required.
#299191 - added ability to have multiple FAQ layouts.
#251493 - added ability to have both short and long questions.
#342465 by ddyrr - fix for bug in call to hook_link_alter(), params were in the wrong order.
#346556 - changed css class names to have dashes rather than underscores.
#346556 - changed css class names from using underscores to using dashes.
Coding style changes.
#329174 by eMPee584: fix for php errors in hook_preprocess_page and in template
#328464 by andypost: fix for failure to attempt insert if faq update failed.
#328464 by andypost: fix for failure to attempt insert if faq update failed.
#328492 by andypost: fix for faq_load() issue.
#328492 by andypost: fix for faq_load() issue.
#267793 - tweak to previous fix
#267793 - additional fix for extra whitespace issue.
#309375 - final changes.
#309375 - final changes.
#309375 - fix for nodeaccess, etc, issues.
#309375 - fix for nodeaccess, etc, issues.
#300959 - added support for multi-lingual taxonomy terms.
#309685 - patch for invalid back to top link in Opera browsers.
#307201 - patch for invalid back to top link in Opera browsers.
#309474 - patch proposed by Zurvan, improve performance of module by avoiding unnecessary calls to taxonomy_get_vocabularies().
#309474 - patch proposed by Zurvan, improve performance of module by avoiding unnecessary calls to taxonomy_get_vocabularies().
Few minor tweaks.
#323864 - moved breadcrumb modification to faq_preprocess_page() instead of doing it in the hook_view().
#318229 - patch by introfini, fix performance issue with faq module when categories enabled.
#318229 - patch by introfini, fix performance issue with faq module when categories enabled.
#309595 - patch for deprecated "name" attribute on anchor links.
#309595 - patch for deprecated "name" attribute on anchor links.
#304210 - configurable rewriting of faq taxonomy term links.
#304210 - configurable rewriting of faq taxonomy term links.
Added in a call to check_plain() on data passed to drupal_set_title().
Added in a call to check_plain() on data passed to drupal_set_title().
#298153 - fix for Dreamweaver silliness.
#283778 - patch provided by hutch, 3rd arg to faq_access() now optional.
#281827 - "edit answer" link now provided on faq page under the answer if the user has the appropriate permissions.
#281827 - "edit answer" link now provided on faq page under the answer if the user has the appropriate permissions.
Changed "else if" to "elseif"
Changed "else if" to "elseif"
#277349 - fixed issue with unpublished nodes.
#227349 - fixed issue with unpublished nodes
#276601 - fixed issue with terms with no nodes not appearing.
#272265 - added pathauto support, original patch provided by Deciphered.
#272265 - added pathauto support, patch provided by Deciphered.
#271729 - fix for undefined function error when taxonomy module is not enabled.
#268433 - modification for D5 of patch provided by btsukuda which splits the layouts into different include files
Split out page layouts into their own include files and moved all includes and template files to the "includes" directory.
#267793 - changes for extra spacing
Added check_markup() around term descriptions.
Added check_markup() around term descriptions.
#267793 - solution for "clear-block" div problems in some themes.
Fixed coding standards
Fixed quotation style
fix for coding standards
#249656 - fixed issue where a couple of strings weren't in t() calls.
#249656 - fixed issue where a couple of strings weren't in t() calls.
#254516 - fix for error appearing when no faq nodes configured.
Fixed translation stuff.
Fixed translation stuff.
Fixed translation stuff.
Fixed translation stuff.
#248917 - anchor links were incorrect for normal node pages which include a call to faq_page().
#248917 - anchor links were incorrect for normal node pages which include a call to faq_page().
added in missing t() calls
added in missing t() calls
changed a couple of theme functions to be non-theme functions since they didn't actually change the layout of the content.
renamed some functions
renamed some variables and updated documentation
fixed bug with categorized questions top layout
Fixed some of the function documentation.
Fixed some of the function documentation.
renamed some variables and tweaked some documentation
renamed some variables and made the documentation clearer.
restructured the code
tidied code slightly
Fixed some comments, etc.
tweaked code slightly
more code tweaks
Re-structured the code slightly more - added more theme functions and removed others (now normal functions).
moved the sub-category handling code into its own function
#214284 - it's now possible to view the node links on the faq pages using a configurable option.
Re-structured the faq module so as to reduce code duplication between similar functions and to make it easier to maintain.
changed 'true' and 'false' to uppercase, now using count() instead of strlen(), explode() instead of preg_split() and strpos() instead of strstr() where appropriate.
changed 'true' and 'false' to uppercase, now using count() instead of strlen(), explode() instead of preg_split() and strpos() instead of strstr() where appropriate.
#185680 - now supporting image_attach images on FAQ nodes
renamed $img_att to $attached_image to make the variable name clearer
fixed issue with menus
removed duplicate menu entry
#245131 - fix for modified question text getting lost on preview. Also some menu changes for Drupal 6.2.
#185680 - added support to view image_attach images on faq nodes in the faq node listing, patch supplied by nancyw
latest version of the site_map module (1.2) calls one of the faq functions directly. Since the faq module also implements hook_site_map(), the faq section of the site map was appearing twice. I've commented out the faq_site_map() function to prevent this error.
latest version of the site_map module (1.2) calls one of the faq functions directly. Since the faq module also implements hook_site_map(), the faq section of the site map was appearing twice. I've commented out the faq_site_map() function to prevent this error.
#231209 - added in the ability to automatically sort the new faq nodes by creation date descending / ascending when no weight is specified.
#231209 - added in the ability to automatically sort the new faq nodes by creation date descending / ascending when no weight is specified.
#235614 - implemented hook_term_path to change "taxonomy/term/xxx" to "faq/xxx" automatically, patch supplied by nancyw.
#235614 - implemented hook_term_path to change "taxonomy/term/xxx" to "faq/xxx" automatically, patch supplied by nancyw.
#228939 - fixed typo in description text
#228939 - fixed typo in description text
#199726 - changed class name of question listing at top of list when categories are enabled for the "Clicking on question brings user to answer further down the page" layout.
#226490 - faq module wasn't joining on new vid column in term_node table, thereby incorrectly handling node revisions.
changed term_node table alias from t to tn so as to be consistent
fixed issue with faq_tax_image class typo
updated taxonomy_image_display api calls
updated taxonomy_image_display api calls
#224910 - added in a new option to prevent the question text from being links to the faq nodes.
#224910 - added in a new option to prevent the question text from being links to the faq nodes.
#224908 - back to top links weren't using anchors any more, due to a change in the api
#224359 - fix for array_diff_key() not being in PHP4
#224359 - fix for array_diff_key() not being in PHP4
#224059 - now returning the $node object
#224059 - now returning the $node object
#224059 - fix for not loading based on version id too, patch provided by hutch
#224059 - fix for not loading based on version id too, patch provided by hutch
updated hook_access() with new parameter added in D6
#222329 - manually inserting faqs using faq_page() call in a page, overrode the page title. This is now fixed.
#222329 - manually inserting faqs using faq_page() call in a page, overrode the page title. This is now fixed.
#212762 - added order by fields to select list
#212762 - added order by fields to select list
added documentation based on andrei.ruse's work for the D6 version in #200879
few documentation fixes.
#200879 - documentation patch provided by andrei.ruse.
#214873 - can now prevent terms from specific vocabularies from appearing in faq listings, etc. Original patch provided by bardaqani for D5 version. Also fixed issue with faq_link_alter() function.
#214873 - can now prevent terms from specific vocabularies from appearing in faq listings, etc. Original patch provided by bardaqani.
removed trailing whitespace.
removed trailing whitespace.
#205507 - support for longer question text
added in support for longer question text.
#214281 - now allowing html chars
#214281 - now allowing html chars
#205113 - the faq categorized theme layouts have now been ported to template files by mwrochna - thanks for your hard work on this patch.
Fix for #180191 where teaser text was being lost.
#205099 - patch for php warnings, provided by kwikone.
#200560 - prevent faq terms which have no faq nodes from appearing in the lists
#201082 - GHOP task to modify 4 of the theme functions in the FAQ module to be done by templates instead. All this excellent work was done by cwgordon7, so many thanks to cwgordon7.
#203817 - changed the weight form and the FAQ categories block to only show FAQ terms which are associated with an actual FAQ node.
#202811 - applied fix for undefined variable warning.
changed some 'hidden' form elements to be 'value' as recommended by the drupal FAPI.
changed some 'hidden' form elements to be 'value' as recommended by the drupal FAPI.
added "faq" to theme function names that were missing them
correct merged version
#199148 - changes taxonomy term links to point at faq pages when categorisation is enabled.
#199148 - changes taxonomy term links to point at faq pages when categorisation is enabled.
fixed issue with node type help text
fixed issue with node type help text
change for #189504 - changed submit button labels
change for #189504 - changed submit button labels
removed use of deprecated function menu_set_location(), now using drupal_set_breadcrumb()
reverted last change and replaced %d with '%d'
now using db_placeholders() in db_query() calls where necessary.
fix for menu_set_location(), now have to use drupal_set_breadcrumb()
changes for #188516 - added in support for taxonomy images. The taxonomy image module hasn't been ported to D6 yet, so assuming the API won't change. Will have to test this feature once taxonomy image for D6 is released.
changes for #188516 - added support for taxonomy images
fix for #181149 - there was a problem showing the faq count when the question/answer text contained a %
fix for #181149 - there was a problem showing the faq count when the question/answer text contained a %
fixed for typo reported in #185117 - caused sub categories to not always be displayed.
fixed #176991 - weight ordering wasn't working for sub cats on the main cat page
fix for #176991
fixed t() usage
fixed t() usage
fixed problem with new "random faq" block
changes for #179285 - now no longer use <dd> and <dt> tags, using divs instead
changes for #179285 - now no longer use <dd> and <dt> tags, using divs instead
fix for #178699 - multilingual faq descriptions
fix for #178699 - multilingual faq descriptions
fix for #178699 - wasn't possible to translate customised FAQ page titles
fix for #178699 - wasn't possible to translate customised FAQ page titles
fixed problem with the node/add/faq page
fixed styling and added in a patch for #178685 - added in {faq} notation for
accessing db tables.
changes for #177993 - provided a new "random FAQs" block
changes for #177993 - there is now a new "random faqs" block.
changes for #176628 - allow answer teasers for "hide_answer" layout
changes for #176628 - allow answer teasers for "hide_answer" layout
fixed indentation
change for size of question weight box for #176104
change for size of question weight box for #176104
change for #176104 - after changing the weights of categorized questions, the user is returned to the "choose a category to order" screen.
fixed problem with faq descriptive text filter
fixed issue with faq descriptive text filter
first go at drupal 5.x to drupal 6.x port
added in new feature where it is possible to label the questions and answers in the "questions inline" layout
patch for #155143
corrected spacing, etc for coding standards
corrected spacing, etc for coding standards
made "questions listing style" and "categories listing style" form elements help text clearer - #152797
added in a faq_site_map() hook for #138767
changed all sql queries that had "select n.title, n.nid" to be "select n.nid, n.title". This was a problem with some versions of MySQL after db_rewrite_sql() changes the sql query to have DISTINCT() around the n.nid.
tidied up faq_menu()
Added patch from #140848 which was provided by Gurpartap Singh (user/41470). It does some alteration to the settings forms, but no real new functionality.
It's now possible to configure whether you would like to have the number of faq questions in a category be displayed beside the category name in the listings. It's also possible to reset the list of faq nodes on the weighting form so that they're sorted by creation date desc / asc.
added theming to the lists returned by faq_get_terms() and faq_get_faq_list()
added in 2 functions, faq_get_faq_list() and faq_get_terms() for returning lists of FAQ nodes / terms for the site_map module as suggested in #138767
removed commented out code, renamed internal function
now handling lists correctly - i.e. using theme('item_list')
fixed t() calls for "back to top" and "more" links
added changes as suggested by Gurpartap Singh in #138929. Also fixed issue with categorised questions at the top of the page, which was introduced when fixing the theming
added in proper support for theming functions
Partial fix for multi-lingual issue reported in #137869
fix for the replace sql issue in postgres as reported in issue #137806
fix for issue #137522 - was searching on n.status = 2 rather than 1
patch for issue #136129
change for #131464 and #135165
Fixed issue reported in #134501 - extra space was appearing when no "back to top" link text was configured. Added multi-lingual support, was reported as not working in #134057 Added sorting of faq nodes as requested in #133788 and #126667
added in multi-lingual support, as reported not working in issue #134057
changed the faq node type in sql queries from 'FAQ' to 'faq' so as to be consistent.
now only display categories if they have children
fixed issue reported in #132504
added in changes for feature request #131116. Breadcrumbs are now implemented on the individual FAQ node pages and the FAQ pages. Taxonomy terms are used in the breadcrumbs if the Taxonomy module is enabled and if there is a taxonomy term associated with it.
now including the category header in the FAQ title as suggested by nancyw
removed some stray tabs
added in changes for feature request #129886 - there's now a different way of viewing sub-categories.
split out the configuration page into 2 using tabs
tidied up code and added better handling of nested categories which have no nodes themselves but whose sub-categories do.
changed way of passing arguments to db_query()
fixed typo in html syntax - was causing broken links in the non-categorized 'questions top' layout
added patch supplied by LUTi from issue #129089 plus some fixes.
fix for #128744
fix for #128413
added in an input filter on the general FAQ description text.
fixed issue reported in #128497
patch for #128413
changed some of the text and added in paragraph tags around the descriptions as suggested by nancyw in #126380.
changes for #126380 - based on patch provided by pearcec
applied patch from #127831, provided by pearcec, thanks.
fixed issue reported in #128036 - only the first 10 FAQs were shown when categories was used due to the fact that taxonomy_select_nodes() only returns 10 nodes even when not using paging.
Now only display 'more' link in teaser views when the teaser text is shorter than the full text, as requested in #125962. Code similar to that provided by nancyw was used. Changed 'span' tags to 'p' tags for the 'back to top' links as suggested by nancyw in #125802. Fixed bug - 'back to top' link was not working correctly on the individual category pages.
added in fix for issue #125802 added in code for feature request #125962
added ability to configure the number of FAQs that appear in the 'Recent FAQs' block
ported the 2 faq blocks from the drupal 4.7 version. There are now 'FAQ Categories' and 'Recent FAQs' blocks.