- 14 Dec, 2005 1 commit
-
-
Dries authored
-
- 02 Dec, 2005 1 commit
-
-
Dries authored
-
- 28 Nov, 2005 1 commit
-
-
Steven Wittens authored
-
- 23 Nov, 2005 1 commit
-
-
Dries authored
-
- 12 Nov, 2005 3 commits
-
-
Dries authored
-
Dries authored
-
Steven Wittens authored
-
- 02 Nov, 2005 1 commit
-
-
Dries authored
-
- 01 Nov, 2005 1 commit
-
-
Dries authored
-
- 31 Oct, 2005 1 commit
-
-
Dries authored
-
- 11 Oct, 2005 1 commit
-
-
Dries authored
-
- 07 Oct, 2005 2 commits
- 23 Sep, 2005 1 commit
-
-
Dries authored
-
- 29 Aug, 2005 1 commit
-
-
Dries authored
-
- 28 Aug, 2005 1 commit
-
-
Dries authored
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).
-
- 25 Aug, 2005 1 commit
-
-
Dries authored
-
- 17 Jul, 2005 1 commit
-
-
Dries authored
-
- 27 Jun, 2005 1 commit
-
-
Dries authored
TODO: document the defaults in the PHPdoc comments.
-
- 31 May, 2005 1 commit
-
-
Steven Wittens authored
- Code cleanup: improve format_plural usage, add some missing placeholder/check calls, and introduce API for <link> tags.
-
- 24 Apr, 2005 1 commit
-
-
Dries authored
- Patch 20910 by chx: centralize print theme page.
-
- 01 Apr, 2005 1 commit
-
- 31 Mar, 2005 1 commit
-
-
Steven Wittens authored
-
- 18 Mar, 2005 3 commits
-
-
Steven Wittens authored
-
Steven Wittens authored
- Change double to single quotes.
-
Steven Wittens authored
-
- 12 Feb, 2005 1 commit
-
-
Dries authored
- permissions menu link updates in a number of modules help - anchor link fix in distributed auth help - "my account" link fix in user help - spelling correction in tracker.module help - I also changed 'admin/access/perms' to 'admin/access/permissions'.
-
- 29 Jan, 2005 1 commit
-
-
Dries authored
-
- 22 Jan, 2005 1 commit
-
-
Dries authored
+ The "add new comment" was missing for polls. + Renames $main to $teaser where appropriate to follow latest Drupal conventions.
-
- 19 Jan, 2005 1 commit
-
-
Steven Wittens authored
- Fix tracker pager count query being wrong (it did not return a count but a set, and it counted nodes with more than 1 comment as multiple nodes). - Clean up various SQL queries: removing literally inserted data (db_escape_string is evil!), fixing single "%" which should be "%%", fixing integers being compared as strings.
-
- 16 Jan, 2005 1 commit
-
- 15 Dec, 2004 1 commit
-
-
Dries authored
* Less logic in theme code. * Encourages use of the menu system. * Easier to find where a title or breadcrumb comes from in other people's code because there are less places to look. Look in menu and then grep for the appropriate set function. Looking for calls to theme_page() is hard because there are too many of them. * Very slightly more efficient.
-
- 24 Nov, 2004 1 commit
-
- 23 Nov, 2004 1 commit
-
-
Dries authored
- Patch #6166 by Moshe: node preview should not display links. Push the links to the theme instead of the theme having to pull them in using node_link(). TODO: 1. Update theme upgrade instructions in the handbook: node_link() is gone. 2. Remove page_link() just like we removed node_link().
-
- 31 Oct, 2004 1 commit
-
-
Dries authored
The primary goal of this patch is to take the 'custom' and 'path' columns of the block overview page and make them into something understandable. As of Drupal 4.5 'custom' lacked an explanation which wasn't buried in help text and path required dealing with regular expressions. Every block now has a configuration page to control these options. This gives more space to make form controls which do not require a lengthy explanation. This page also gives modules a chance to put their block configuration options in a place that makes sense using new operations in the block hook. The only required changes to modules implementing hook_block() is to be careful about what is returned. Do not return anything if $op is not 'list' or 'view'. Once this change is made, modules will still be compatible with Drupal 4.5. Required changes to core modules are included in this path. An additional optional change to modules is to implement the additional $op options added. 'configure' should return a string containing the configuration form for the block with the appropriate $delta. 'configure save' will come with an additional $edit argument, which will contain the submitted form data for saving. These changes to core modules are also included in this patch.
-
- 18 Sep, 2004 1 commit
-
-
Steven Wittens authored
-
- 16 Sep, 2004 1 commit
-
- 08 Sep, 2004 1 commit
-
-
Dries authored
- Patch #10622 by Adrian: fixes various PostgreSQL related problems. 1) Menu problems with Postgres (this is a highly critical 1 line fix) 2) Archive module fails with Postgres 3) Postgres setup problems - changes to database.pgsql (although i made these changes myself before finding this patch) 4) Book module fails with Postgres 5) Postgres problems following creation of a new type of user - which is actually about a taxonomy.module bug. 6) Creating accregator_item_table in PostgreSQL 7) Postgres - Polls not displayed on Poll Page 8) Blog module has sql errors with postgres This should not affect MySQL users (hopefully).
-
- 21 Aug, 2004 1 commit
-
-
Dries authored
- Patch by JonBob: for consistency and readability, add brief descriptions of each source file inside the @file comment block at the head of the file. This helps with Doxygen indexing, and also allows neophytes to see what a file does immediately on opening the source, regardless of the organization of the hooks.
-
- 18 Aug, 2004 1 commit
-
-
Dries authored
- Code improvements by Stefan: made all status messages consistent (and easier to translate).
-