Commit Graph

232 Commits (c47d2fcb460ad41b3a08d44e5f4d7114ca6ac8f1)

Author SHA1 Message Date
Steven Wittens 6777fdb193 - #26583: Make forum taxonomy links redirect to forums rather than taxonomy pages. 2005-10-21 11:12:46 +00:00
Steven Wittens 468b9e8e5a - Code style 2005-10-19 09:46:22 +00:00
Dries Buytaert 782d5c98c9 - Patch #33752 by leafish_paul / adrian: added missing apostrophes to the form API code. 2005-10-18 14:40:00 +00:00
Dries Buytaert 75fe6b6c0a - Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes. 2005-10-11 19:44:35 +00:00
Dries Buytaert 7863be5e82 - Patch #33433 by chx: fixed a number of form API problems.
* Default form value
    * Leftover debug function in form.inc
    * PHP5 issue with comment date (I got this patch from another issue)
    * Validation error fix (was calling legacy form validate)
    * Lots o' warnings on comment preview
    * Filter tips plus argument (gremlins. I swear this was not there.)
    * Message to clear what's going on with system settings
    * Non-freetagging taxonomies fixed
2005-10-08 12:21:47 +00:00
Dries Buytaert a1ae4da70b - Removing tabs and trailing whitespaces. 2005-10-07 06:51:43 +00:00
Dries Buytaert 7e1527ee61 - Patch #29465: new form API by Adrian et al.
TODO:
  + The contact.module was broken; a new patch for contact.module is needed.
  + Documentation is needed.
  + The most important modules need to be updated ASAP.
2005-10-07 06:11:12 +00:00
Dries Buytaert da316273bd - Patch #31014 by chx, zack: on taxonomy overview pages, make term names link to their respective taxonomy/term/(x) page. 2005-09-19 15:04:11 +00:00
Dries Buytaert 1dc53d9761 - Patch #3986 by James (and Boris :)):consolidated all feed-related settings in one place.
* adds a "feed settings" section to admin/settings where 2 new settings are introduced:
* number of items per feed
* default length of feed descriptions (title only, teaser, full)
* patches all of core to obey the above - including the new aggregator (out) feeds
* adds support for adding namespaces in _nodeapi('rss item') - which means things like iTunes RSS and yahoo's media rss can be implemented by the appropriate modules (i.e. audio.module)
* includes some additional info in the default node feed - specifically the element (links directly to comments) - and dc:creator - to show node author information.
2005-09-18 10:37:57 +00:00
Dries Buytaert 074cafa269 - Patch #30956 by Cvbge: PostgreSQL fix: taxonomy_save_vocabulary() should check for 'tags' not set. 2005-09-12 21:55:41 +00:00
Dries Buytaert 8f71d8990e - Patch #16452 by chx: allow modules to rewrite taxonomy-related SQL queries much
like we do with node-related SQL queries.

  (chx promised to document this, check his documentation as soon it is available.)
2005-08-28 16:30:50 +00:00
Dries Buytaert 8f32c39db2 - Patch #29102 by chx: fixed bug in forum module and tidied up the taxonomy_save_*() functions. 2005-08-28 15:58:52 +00:00
Dries Buytaert c9fc300b1f - Patch #29785 by Chx: multiple node types were broken so we refactored
part of the node system!  If you have a module that implements node
  types, you'll have to udpate its CVS HEAD version.

  We replaced _node_name() and _node_types() by _node().  The new _node()
  hook let's you define one or more node types, including their names.
  The implementation of the _node() hook needs to:

   return array($type1 => array('name' => $name1, 'base' => $base1),
                $type2 => array('name' => $name2, 'base' => $base2));

  where $type is the node type, $name is the human readable name of the type
  and $base is used instead of <hook> for <hook>_load, <hook>_view, etc.

  For example, the story module's node hook looks like this:

    function story_node() {
      return array('story' => array('name' => t('story'), 'base' => 'story'));
    }

  The page module's node hook module like:

    function page_node() {
      return array('page' => array('name' => t('page'), 'base' => 'page'));
    }

  However, more complex node modules like the project module and the
  flexinode module can use the 'base' parameter to specify a different base.

  The project module implements two node types, proejcts and issues, so it
  can do:

    function project_node() {
      return array(
       array('project_project' => array('name' => t('project'), 'base' => 'project'),
       array('project_issue' => array('name' => t('issue'), 'base' => 'project_issue'));
    }

  In the flexinode module's case there can only one base ...

  This hook will simplify the CCK, and will make it easy (or easier) to merge
  the story and page module.

  In addition, node_list() became node_get_types().  In addition, we created
  the following functions: node_get_name($type) and node_get_base($type).
2005-08-28 15:29:34 +00:00
Dries Buytaert 7b8a409675 - Patch #29385 by chx: no ?> add end of files. 2005-08-25 21:14:17 +00:00
Dries Buytaert 078c99ca5d - Patch #21658 by Uwe: fixed broken link in help text. 2005-08-24 15:40:43 +00:00
Steven Wittens f99d532111 - #16440: Allow taxonomy vocabulary and term forms to be extended. 2005-07-25 04:55:37 +00:00
Dries Buytaert 103346f2f4 - Patch #26683 by matteo: added missing DISTINCT()s 2005-07-19 21:31:09 +00:00
Dries Buytaert b6cdead164 - Removed <strong>s 2005-07-19 18:08:03 +00:00
Dries Buytaert a2656ab39b - Misplaced backet 2005-07-19 17:09:55 +00:00
Dries Buytaert 1d9c0cd65f - Modified patch #20505 by Morbus: fixed scalability issues with terms, tried to create a better distinction between vocabularies and terms, fixed problem with term pager (temporary fix). 2005-07-19 17:00:26 +00:00
Dries Buytaert 87e5399a9e - Patch #19621 by Morbus/drumm: fixed bugs with taxonomy_save_xxx() functions.
TODO: update image module too?
2005-07-18 19:31:16 +00:00
Dries Buytaert 2895357de0 - Modified patch #25031 by chx: modified node_list() so one has both the module and its type.
TODO: update migration page in handbook.
2005-07-17 20:57:43 +00:00
Dries Buytaert 160a1e0ef8 - Patch #25634 by chx: simplified node_load(). 2005-07-17 18:29:32 +00:00
Dries Buytaert 58aee8cdad - Patch #25603 by Stefan: made the sizes of forms consistent.
TODO: document the defaults in the PHPdoc comments.
2005-06-27 18:33:33 +00:00
Dries Buytaert 8436082fe1 - Removing some whitespace 2005-06-06 14:07:04 +00:00
Steven Wittens a597354bcb - Code cleanup: improve format_plural usage, add some missing placeholder/check calls, and introduce API for <link> tags. 2005-05-31 21:14:27 +00:00
Steven Wittens 34421b5d39 - #20963: Make taxonomy_select_nodes() more useful to other modules, by allowing custom sorting orders. 2005-05-25 04:04:59 +00:00
Steven Wittens 58bddf8abc * cue Star Wars theme tune *
Return of the JavaScript!

- #22519: form_autocomplete(): Ajax based autocompletion. Currently used for user names and folksonomy tags.
2005-05-24 06:00:22 +00:00
Dries Buytaert 2b1664bc66 - Patch #16452 by chx: made it possible to rewrite some taxonomy queries. 2005-05-21 21:32:54 +00:00
Dries Buytaert a31b1b3876 - Patch #7684 by MrRoot/grohk: order taxonomy terms by vocabulary weight, then term weight. 2005-05-21 12:15:54 +00:00
Dries Buytaert 4bedad588c - Patch #22469 by mathias: added missing DISTINCT()s to two SQL queries. 2005-05-21 11:35:45 +00:00
Dries Buytaert 85cbb1be6e - Modified patch #22878 by Junyor: made all terms on the taxonomy overview page links to the taxonomy term list page. 2005-05-14 21:40:42 +00:00
Steven Wittens 89ae34de47 - #19621: More sensible status messages for forum admin ("created forum" instead of "created term"). 2005-05-07 01:48:06 +00:00
Dries Buytaert 1261364dd1 - Patch #21751 by crunchywhelch: added missing check_plain() when emitting the <category>-tag in RSS feeds. 2005-05-02 08:21:41 +00:00
Dries Buytaert a76a1e1f3f - Patch 20910 by chx: centralize print theme page. 2005-04-24 16:34:36 +00:00
Dries Buytaert 3bbf1d39e2 - Patch #20561 by Morbus: free tagging doesn't support taxonomy_node_form $name. 2005-04-16 11:49:27 +00:00
Dries Buytaert 1c83d51741 - Patch by Adrian: postgresql fixes 2005-04-14 19:37:11 +00:00
Dries Buytaert dea2bd2123 - Modified patch by mikeryan: make it possible to administer system vocabularies. 2005-04-12 19:18:57 +00:00
Dries Buytaert 444cf78ee5 - Patch by Morbus: added missing taxonomy_node_delete(). 2005-04-12 05:09:13 +00:00
Dries Buytaert bf9d98d664 - Patch #19697 by Morbus: FOLKSONOMY.
This patch adds folksonomy support to Drupal (named internally as "Free tagging"). In a nutshell, the core difference is the input method: unlike normal taxonomies which are administratively controlled, a "free tagging" vocabulary allows tag creation when the node is submitted. It does this through an text input box, as opposed to a dropdown or selectbox. This patch:

    * Removes the useless "Preview form" of a vocabulary.
    * Alters the vocabulary table to include a new "tags" column.
    * Adds a new "Free tagging" preference on vocabulary creation/editing.
    * Modifies the vocabulary overview to support pagers for free tagging vocabs.

The new code integrates tightly with the existing taxonomy code. The only additional processing occurs on node save and edit, where we parse through the tags associated with a node. All other display (and thus, code) remains the same.
2005-04-08 14:59:14 +00:00
Dries Buytaert 7d3d5532df - Fixed warning. 2005-04-07 20:09:36 +00:00
Steven Wittens 0f79c1e946 - Improve recursion in taxonomy_get_tree() (Morbus) 2005-04-06 04:48:39 +00:00
Dries Buytaert 9660db2c4e - Patch #19888 by jhriggs: fixed terms getting lost upon preview. 2005-04-03 09:27:01 +00:00
Dries Buytaert a3e9b35afc - Patch #19451 by JonBob: improved consistency of module descriptions. We should write guidelines for this -- maybe in the PHPDoc code of the _help hook. 2005-04-01 15:55:02 +00:00
Steven Wittens be14203534 - #18817: Clean up plain-text checking (see drupal-devel!) 2005-03-31 09:25:33 +00:00
Dries Buytaert 77a5d783f2 - Patch #19193 by CodeMonkeyX: made taxonomy_select_nodes() return node titles. 2005-03-21 20:58:56 +00:00
Steven Wittens 4fee0bdbec - #13550: Prettier RSS discovery URLs for taxonomy pages. 2005-03-18 08:25:07 +00:00
Dries Buytaert 032544cf08 - Patch #18861 by nkurz: fixed logic error in taxonomy_node_save().
(Not sure how/when it triggered.)
2005-03-15 21:18:19 +00:00
Dries Buytaert 1c4419c439 - Patch #18696 by Morbus: one '(' too much in taxonomy_term_count_nodes(). 2005-03-13 21:20:51 +00:00
Steven Wittens d16e18f9bb - Incorrectly filled in %name 2005-03-03 21:07:37 +00:00