gcode-mirror / google-highly-open-participation-drupal

Automatically exported from code.google.com/p/google-highly-open-participation-drupal
0 stars 0 forks source link

Modify D6 FAQ module to use theme templates #123

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This task is to modify the FAQ module so that it uses theme templates
instead of 4 of its theme functions.

Modules in Drupal have the ability to allow their HTML presentation to be
overridden by the theme layer. This gives a huge amount of flexibility and
allows greater customisation of Drupal sites. In Drupal 5, "theme"
functions were used to contain chunks of HTML output which could be
overridden. This method is still supported in Drupal 6 but there is now an
alternative and better way of implementing it using template files.

The FAQ module has a number of theme functions. To complete this task, you
need to create a template file (.tpl.php) and a corresponding preprocessor
function for each of the theme functions listed below. See the resources
section for more information, particularly "Using the theme layer in Drupal
6". Four functions in the FAQ module have already been ported to use
template files, so it is advisable to use these as references.

Theme functions:

* theme_faq_category_new_page()
* theme_faq_category_hide_answer()
* theme_faq_category_questions_inline()
* theme_faq_category_questions_top()

The final deliverable will be a patch against the 6.x version of the FAQ
module posted to the issue queue that has been reviewed and marked "Ready
to be Committed".

Resources
 * FAQ project page - http://drupal.org/project/faq
 * Using the theme layer in Drupal 6 - http://drupal.org/node/165706
 * List of existing drupal templates - http://drupal.org/node/190815
 * Drupal Coding Standards - http://drupal.org/coding-standards

Primary contact
Stella Power (http://drupal.org/user/66894 - snpower)

Original issue reported on code.google.com by power.st...@gmail.com on 31 Dec 2007 at 2:30

GoogleCodeExporter commented 9 years ago
Post all followups to Drupal issue: http://drupal.org/node/205113.

Original comment by addi.be...@gmail.com on 31 Dec 2007 at 2:34

GoogleCodeExporter commented 9 years ago
I claim this task.

Original comment by cwgord...@cwgordon.com on 31 Dec 2007 at 2:35

GoogleCodeExporter commented 9 years ago
cwgord...@yahoo.com, task is yours.

Original comment by addi.be...@gmail.com on 31 Dec 2007 at 2:38

GoogleCodeExporter commented 9 years ago
ugh, marking claimed for real ;-)

Original comment by addi.be...@gmail.com on 31 Dec 2007 at 2:38

GoogleCodeExporter commented 9 years ago
I... unclaim this task.

Original comment by cwgord...@cwgordon.com on 31 Dec 2007 at 4:48

GoogleCodeExporter commented 9 years ago
Ok, unclaimed

Original comment by acli...@gmail.com on 31 Dec 2007 at 4:56

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I claim this task.

Original comment by mwroc...@gmail.com on 18 Jan 2008 at 9:40

GoogleCodeExporter commented 9 years ago
Glad to see you back here mwrochna.  This task is yours.  Please post your work 
in
the drupal.org issue at http://drupal.org/node/205113

Remember that no task can be claimed after 2:00 AM Pacific Time / 08:00 UTC on
January 22nd, and that all tasks must be completed by 12:00 AM Pacific Time / 
08:00
UTC on Feb 4.

Original comment by acli...@gmail.com on 18 Jan 2008 at 9:43

GoogleCodeExporter commented 9 years ago
As written in http://drupal.org/node/205113#comment-699647 , the task is 
complete :)
Mirroring the latest path.

Original comment by mwroc...@gmail.com on 21 Jan 2008 at 5:16

Attachments:

GoogleCodeExporter commented 9 years ago
Great job! :) Go grab another one!

Original comment by webchick...@gmail.com on 21 Jan 2008 at 7:56

GoogleCodeExporter commented 9 years ago

Original comment by acli...@gmail.com on 21 Jan 2008 at 8:44