- Oct 05, 2006
-
-
Dries Buytaert authored
- Patch #81740 by merlinofchaos, webchick, moshe, neclimdul et al: added package support to the modules page.
-
- Aug 31, 2006
-
-
Dries Buytaert authored
-
- Aug 27, 2006
-
-
Dries Buytaert authored
-
- Aug 26, 2006
-
-
Neil Drumm authored
-
- Aug 23, 2006
-
-
Neil Drumm authored
-
Dries Buytaert authored
-
Neil Drumm authored
-
- Aug 20, 2006
-
-
Dries Buytaert authored
CVS: ----------------------------------------------------------------------
-
- Aug 18, 2006
-
-
Steven Wittens authored
-
Steven Wittens authored
See: http://drupal.org/node/64279#t-placeholders
-
- Aug 10, 2006
-
-
Dries Buytaert authored
- Patch #74326 by Eaton, Royboy, chx, et al: building $node->body with arrays like FAPI for viewing. Once again, we're paving the path for CCK in core ... :)
-
- Aug 07, 2006
-
-
Dries Buytaert authored
-
- Aug 06, 2006
-
-
Neil Drumm authored
-
- Jul 31, 2006
-
-
Dries Buytaert authored
-
- Jul 27, 2006
-
-
Neil Drumm authored
-
- Jul 19, 2006
-
-
Neil Drumm authored
-
- Jul 04, 2006
-
-
Neil Drumm authored
-
- May 18, 2006
-
-
Dries Buytaert authored
-
- May 15, 2006
-
-
Dries Buytaert authored
-
- May 07, 2006
-
-
Neil Drumm authored
-
- May 04, 2006
-
-
Dries Buytaert authored
-
- Mar 27, 2006
-
-
Gerhard Killesreiter authored
-
- Feb 21, 2006
-
-
Dries Buytaert authored
-
- Jan 26, 2006
-
-
Dries Buytaert authored
- Patch #40200 by Ax, Drewish, Zen et al: user_view() isn't merging view items correctly + CSS cleanup + form handling cleanup.
-
- Jan 20, 2006
-
-
Dries Buytaert authored
When a form element doesn't specify a #weight, it is assumed internally as #weight 0. However, to ensure that our form elements display visually *as they were defined in the array* we, in form_builder, count the number of elements, divide by 1000, and set that as the weight: # Assign a decimal placeholder weight to preserve original array order if (!isset($form[$key]['#weight'])) { $form[$key]['#weight'] = $count/1000; } The above code will set the #weights of elements that have not defined a weight to something like 0 (first element in array definition), 0.001, 0.002, and so on. However, anytime a form element *explicitly* defines a #weight of 0, that #weight is kept at exactly 0, which would cause that form element to appear BEFORE the elements that didn't have a #weight defined (and thus received a #weight such as 0.002). Consider the following pseudo example: $form['game_title'] = array( '#type' => 'textfield', ... ); $form['game_description'] = array( '#type' => 'textarea', ... ); $form['game_format'] = filter_form(variable_get('game_format', NULL)); return $form; Here, we're not definiing weights on our two textfields. We then add an filter_form. The second parameter of the filter_form is $weight, which defaults to 0. After this $form hits form_builder, we have weights 0 (game_title), 0.001 (game_description), and 0 (filter_form) respectively. This is then sorted by weight, which causes filter_form (the third element in the array) to appear BEFORE game_description (0 is lighter than 0.001). The short lesson is: explicitly defining #weight 0 for a form element is probably a bad idea. This patch changes the default #weight of filter_form to NULL, instead of 0, and also removes any other explicit setting of #weight to 0 in core.
-
- Jan 19, 2006
-
-
Dries Buytaert authored
-
- Jan 18, 2006
-
-
Dries Buytaert authored
-
- Dec 29, 2005
-
-
Steven Wittens authored
-
- Dec 05, 2005
-
-
Dries Buytaert authored
- Patch #39778 by chx: obliterate nodeapi op form in favor of the forms API's way of doing things. Tested with help from webchick.
-
- Nov 23, 2005
-
-
Dries Buytaert authored
-
- Nov 12, 2005
-
-
Dries Buytaert authored
-
Steven Wittens authored
-
- Nov 01, 2005
-
-
Dries Buytaert authored
-
- Oct 11, 2005
-
-
Dries Buytaert authored
-
- Oct 07, 2005
-
-
Dries Buytaert authored
-
Dries Buytaert authored
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.
-
- Sep 28, 2005
-
-
Dries Buytaert authored
Improves consistency.
-
- Sep 23, 2005
-
-
Dries Buytaert authored
-
- Sep 18, 2005
-
-
Dries Buytaert authored
* 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.
-
- Sep 14, 2005
-
-
Dries Buytaert authored
-