summaryrefslogtreecommitdiff
path: root/modules/node.module
Commit message (Collapse)AuthorAge
* - Patch #29785 by Chx: multiple node types were broken so we refactoredDries Buytaert2005-08-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* - Patch #29593 by tostinni: fixed display of title on ↵Dries Buytaert2005-08-25
| | | | admin/settings/content-type/ pages.
* - Patch #29385 by chx: no ?> add end of files.Dries Buytaert2005-08-25
|
* - Patch #17592 by killes: improved access denied messages.Dries Buytaert2005-08-22
|
* - Patch #29335 by jonbob: shuffled the case-statements around for ↵Dries Buytaert2005-08-22
| | | | performance's sake.
* - Patch #23750 by jerakeen: use the creation date rather than the update ↵Dries Buytaert2005-08-11
| | | | date in RSS feeds.
* - Patch #24002: fixed node created timestamp changing on node edit.Dries Buytaert2005-08-07
|
* - Patch #26637 by Robert Douglas: $teaser misnamed in themes theme_node().Dries Buytaert2005-08-07
| | | | TODO: update documentation!
* - #25395: Allow for more integers in node_access grant_x columnsSteven Wittens2005-08-05
|
* - #27864: Correctly distinguish 403s from 404s for nodes.Steven Wittens2005-08-05
|
* - Patch #27737 by Gerhard: format_name($object) -> theme('username', $object).Dries Buytaert2005-08-01
| | | | | | Usernames can now be themed; eg. an icon/avatar could be added. TODO: update contributed modules + update the migration docs.
* - Patch #27535 by Ber: set 'preview status message' using drupal_set_message().Dries Buytaert2005-07-31
|
* - #27551: Rename check_output() to check_markup(). Needs contrib updates!Steven Wittens2005-07-29
|
* - #26458: node_search doesn't node_view, causing bad snippets.Steven Wittens2005-07-29
|
* - #26458: node_search doesn't node_view, causing bad snippets.Steven Wittens2005-07-29
|
* - Patch #26467 by drumm: make the destination persist across multiple pagesDries Buytaert2005-07-20
| | | | and fixed the node delete form to use a return destination.
* - Fix oopsie in node_load() after recent patch.Steven Wittens2005-07-18
|
* - Updated handbook-link to reflect the recent handbook restructuring.Dries Buytaert2005-07-18
|
* - Fixed typo in PHPdocDries Buytaert2005-07-17
|
* - Modified patch #25031 by chx: modified node_list() so one has both the ↵Dries Buytaert2005-07-17
| | | | | | module and its type. TODO: update migration page in handbook.
* - Patch #25634 by chx: simplified node_load().Dries Buytaert2005-07-17
|
* - Fix by darix: fixed content type settings broken by berkes' last patch.Dries Buytaert2005-07-07
|
* - Patches by Ber: move user settings and node settings to admin/settings.Dries Buytaert2005-07-03
|
* - Fixed problems with filter formats and problem with XML-RPC server.Dries Buytaert2005-06-29
|
* - Patch #25603 by Stefan: made the sizes of forms consistent.Dries Buytaert2005-06-27
| | | | TODO: document the defaults in the PHPdoc comments.
* - Patch #18213 by chx: boostrap system. Modified to work with HEAD, tidiedDries Buytaert2005-06-22
| | | | | | | up the documentation a little. chx: can you double-check whether the global $conf variable is secure? (That is, make sure it can't be send using the URL or something.)
* - Patch #25121 by Robrecht J.: changed itemized lists with hardcoded CSS to ↵Dries Buytaert2005-06-21
| | | | definition lists.
* - Patch #16204 by Thox: committed the collapsible form elements patch.Dries Buytaert2005-06-21
| | | | | | NOTE: this patch works well, but the improved node edit form still has some rough edges. It is important that we continue to improve usability. Give it a try.
* - Removing some whitespaceDries Buytaert2005-06-06
|
* - #18836: Cleanup teaser generation code, and refine handling of PHP code ↵Steven Wittens2005-06-01
| | | | teasers.
* - #18836: Cleanup teaser generation code, and refine handling of PHP code ↵Steven Wittens2005-06-01
| | | | teasers.
* - Code cleanup: improve format_plural usage, add some missing ↵Steven Wittens2005-05-31
| | | | placeholder/check calls, and introduce API for <link> tags.
* - Patch #18275 by Steven: "create content" menu displays extraneous links.Dries Buytaert2005-05-26
| | | | (Not sure if this needs to be backported to DRUPAL-4-6.)
* - #18406: make node_page 404 on meaningless nidsSteven Wittens2005-05-25
|
* - Sort admin-content by descending node date. This got lost in the ↵Steven Wittens2005-05-25
| | | | refinement-filter patch.
* * cue Star Wars theme tune *Steven Wittens2005-05-24
| | | | | | Return of the JavaScript! - #22519: form_autocomplete(): Ajax based autocompletion. Currently used for user names and folksonomy tags.
* - Patch by chx: added a db_rewrite_sql() in node_load() just to make sure.Dries Buytaert2005-05-17
|
* - Patch 20910 by chx: centralize print theme page.Dries Buytaert2005-04-24
|
* - Patch #20188 by Goba: Node_feed() instructs the nodeapi view call it ↵Dries Buytaert2005-04-11
| | | | invokes to deal with the body of the node, but afterwards it only uses the teaser to generate the feed. So the nodeapi hook should be called with teaser processing in mind. This simple patch fixes that.
* - Removed weird phpdoc lineDries Buytaert2005-04-05
|
* - Patch #19451 by JonBob: improved consistency of module descriptions. We ↵Dries Buytaert2005-04-01
| | | | should write guidelines for this -- maybe in the PHPDoc code of the _help hook.
* - Patch #19739 by Uwe: corrected many typo's in the documentation and code ↵Dries Buytaert2005-03-31
| | | | comments
* - #18817: Clean up plain-text checking (see drupal-devel!)Steven Wittens2005-03-31
|
* - #19353: Fix 'submit' button behaviour wrt optional previewing and form errors.Steven Wittens2005-03-27
|
* - #17343: Fix safari CSS issues with node admin.Steven Wittens2005-03-27
|
* - #19405: Fix SQL in comment block for anonymous users.Steven Wittens2005-03-24
|
* - #19089: Remove depency on taxonomy.module by node.module (kjartan)Steven Wittens2005-03-18
|
* - #12401: Non-admins should obey workflow wrt revisions.Steven Wittens2005-03-18
|
* - Patch #18216: fixed nodeapi settings hook.Dries Buytaert2005-03-07
|
* - Bumped the RSS version from 0.92 to 2.0Dries Buytaert2005-03-07
|