FAQ_Ask - "Ask the Expert"

This module is an add-on to the FAQ module that allows users with the 'ask question' permission to create a question which will be queued for an 'expert' to answer.

For more about why this module exists, please read "Ask the Expert" or Advice Column.

Viewing of the completed question and answer pair is done by the FAQ module.

Installation

Normal module installation applies.

Taxonomy Super Select

Now you can display taxonomy vocabularies (categories) as radios or checkboxes.

This module seamlessly overrides the select box generated by the taxonomy module and renders the terms as checkboxes or radio buttons based on whether or not you are allowing multiple selections.

Print: Printer, e-mail and PDF versions

The Printer, e-mail and PDF versions module allows you to generate the following printer-friendly versions of any node:

  • Web page printer-friendly version (at www.example.com/print/nid)
  • PDF version (at www.example.com/printpdf/nid)
  • Send by-email (at www.example.com/printmail/nid)

where nid is the node id of content to render.

A link is inserted in the node (configurable in the content type settings), that opens a version of the page with no sidebars, search boxes, navigation pages, etc.

By editing the default print.css or specifying your own CSS file and/or the print.tpl.php files, it is possible to change the look of the output page to suit your taste. For a more fine-grained customization,It is possible to set per-content-type and/or theme-specific templates which are searched for in the following order:
1. print--[format]--node--[type].tpl.php in the theme directory
2. print--[format].tpl.php in the theme directory
3. print--node--[type].tpl.php in the theme directory
4. print.tpl.php in the theme directory
5. print.tpl.php in the module directory (supplied by the module)

The Submenu Tree Use Case

Drupal provides a great framework for creating and editing content. However, structuring content, especially into a hierarchy, is one area where site builders might find Drupal lacking.

Submenu Tree provides a method for structuring content hierarchically. For content which has a menu link, Submenu Tree can display a list of content which is at the same level or below the content in the menu.

Common Use Cases

Consider using Submenu Tree if you are trying to accomplish any of the following:

  • You want to display all of the first level menu items in one location (such as in a navigation bar across the top of the site) and all of the second level menu items in another area (such as in a block on the sidebar).
  • You want to separate the site navigation into multiple levels and present the user with only one level at a time.
  • You require the functionality of the core Drupal Books module but find it too limiting or difficult to use.
  • All of your content is closely related. You want to display titles or teasers of content at the same level or below the current content.

Recreate first user account

If, by accident, you happen to delete the original "Administrator" account/user, you will need to recreate it.

INSERT INTO users (uid, name, pass) VALUES ('1', 'yourname', md5('yourpassword'));

you can also try and work with the methods below:

UID1 is the 'super admin' account.

Computing a field from a view

Your mileage may vary, but here is some code which calculates a field based on a view.

This code may not do what you want— if the view changes (e.g. another node is added), this field would not be re-evaluated till the next time the node is saved.

One (ugly) solution is to put similar code into the header or footer of a view.

This is a coding alternative to the views_calc module, which allows a great deal of flexibility, but is perhaps not ideal.

Pages

Subscribe with RSS Subscribe to RSS - Site administrators