summaryrefslogtreecommitdiff
path: root/modules/blog.module
Commit message (Collapse)AuthorAge
* #64280: Renamed from blog.module to blog/blog.moduleDries Buytaert2006-07-12
|
* #71925 by Steven, remove # prefix from link array keys.Neil Drumm2006-07-04
|
* - Patch #18260 by Ber, m3averck et al: allow overriding of links returned by ↵Dries Buytaert2006-05-18
| | | | modules
* - Patch #63492 by zirafa: removed redundant semicolon.Dries Buytaert2006-05-15
|
* #61802 by Zen, Double spaced sentences clean upNeil Drumm2006-05-07
|
* - Patch #44473 by Frodo: fixed broken links in help text.Dries Buytaert2006-05-04
|
* #56105, remove title validation, already enforced by #required, patch by MosheGerhard Killesreiter2006-03-27
|
* - Patch #49912: www.drupal.org -> drupal.org. (Today's critical bugfix #5.)Dries Buytaert2006-02-21
|
* - Patch #40200 by Ax, Drewish, Zen et al: user_view() isn't merging view ↵Dries Buytaert2006-01-26
| | | | items correctly + CSS cleanup + form handling cleanup.
* - Patch #45530 by Morbus: filter_form shouldn't default to #weight 0Dries Buytaert2006-01-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* - Patch #45349 by Morbus Iff: input filters aren't sorting correctly ↵Dries Buytaert2006-01-19
| | | | infForms API.
* - Patch #45301 by Morbus: corrected the weight of form item titles of nodes.Dries Buytaert2006-01-18
|
* - #42234: Use standardized feed icon for RSSSteven Wittens2005-12-29
|
* - Patch #39778 by chx: obliterate nodeapi op form in favor of the forms ↵Dries Buytaert2005-12-05
| | | | API's way of doing things. Tested with help from webchick.
* - Patch #35644 by webchick: fixed the sizes of the textareas on the node ↵Dries Buytaert2005-11-23
| | | | edit forms.
* - Patch #35644 by webchick: forms API simplificiations.Dries Buytaert2005-11-12
|
* #36791: node_validate was called twiceSteven Wittens2005-11-12
|
* - Patch #26139 by webchick / Kieran / documentation team: improved admin ↵Dries Buytaert2005-11-01
| | | | help of core modules! /
* - Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes.Dries Buytaert2005-10-11
|
* - Removing tabs and trailing whitespaces.Dries Buytaert2005-10-07
|
* - Patch #29465: new form API by Adrian et al.Dries Buytaert2005-10-07
| | | | | | | 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.
* - Modified patch #30620 by Geary: 'personal blog entry' -> 'blog entry'.Dries Buytaert2005-09-28
| | | | Improves consistency.
* - Patch #10056: allow the node title forms to be customized.Dries Buytaert2005-09-23
|
* - Patch #3986 by James (and Boris :)):consolidated all feed-related settings ↵Dries Buytaert2005-09-18
| | | | | | | | | | | 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.
* - Patch #31123 by Ber: make it easier to theme the user profile pages.Dries Buytaert2005-09-14
|
* - Patch #7582 by Gerhard: updated the blog.module to use the new node revisions.Dries Buytaert2005-09-07
|
* - Renamed _node() to _node_info()! We reserve _node for _nodeapi.Dries Buytaert2005-08-29
|
* - 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 #29385 by chx: no ?> add end of files.Dries Buytaert2005-08-25
|
* - Removed some whitespaceDries Buytaert2005-07-31
|
* - #20668: Fix "username's blog" appearance rules.Steven Wittens2005-07-29
|
* - #26643: Restore accidentally lost "my blog" menu item.Steven Wittens2005-07-25
|
* - Patch #25634 by chx: simplified node_load().Dries Buytaert2005-07-17
|
* - Patch 7897: don't show blocks if they have no contentDries Buytaert2005-07-02
|
* - Code cleanup: improve format_plural usage, add some missing ↵Steven Wittens2005-05-31
| | | | placeholder/check calls, and introduce API for <link> tags.
* - #20910: Centralize print theme page fixesSteven Wittens2005-04-28
|
* - Patch 20910 by chx: centralize print theme page.Dries Buytaert2005-04-24
|
* - Patch #20312 by mif: fixed problem with blog_link().Dries Buytaert2005-04-12
|
* - Fixed bugs in RSS handling of blogs.Dries Buytaert2005-02-12
|
* - Patch #16111 by chx: generalized node_rewrite_query to db_rewrite_query.Dries Buytaert2005-01-29
|
* - Patch #16192 by Neil: moved the submission guidelines found in forum, ↵Dries Buytaert2005-01-26
| | | | story, and blog and the minimum number of words found in story and blog (blog had a slight bug) into the node module.
* - Patch #16021 by tangent: changed the format "/blog/feed/52" to ↵Dries Buytaert2005-01-25
| | | | "/blog/52/feed".
* - Patch #14731 by chx: made it possible to rewrite node queries.Dries Buytaert2005-01-16
|
* - Patch #13907 by Neil: less ways to set the page title.Dries Buytaert2004-12-15
| | | | | | | * 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.
* - Refactored the queue module: removed the queue module's field from the ↵Dries Buytaert2004-12-07
| | | | | | | | | | node table. With help from Gerhard. - Slight addition to INSTALL.txt with regard to PHP versions. - Updated/reworded some node type descriptions as per Boris' suggestions. - Adding missing {} around a table name in update.php.
* - Patch #13443 by Moshe: got rid of the semi-implemented 'page link' ↵Dries Buytaert2004-11-24
| | | | feature. All themes currently support primary and secondary links so page links are now deprecated. Check your contributed modules and update them accordingly.
* - Patch #10990 by TDobes: adds a "create new blog entry" link at the top of ↵Dries Buytaert2004-11-24
| | | | each user's own blog page, similar to the "post new forum topic" link displayed at the top of forum pages. This adds consistency as well as convenience for users.
* - Patch by Stefan: wrapped the help texts in <p></p> tags. Helps improve ↵Dries Buytaert2004-11-23
| | | | consistency.
* - Patch #11875 by Neil Drumm: block module configuration improvements.Dries Buytaert2004-10-31
| | | | | | | | | | 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.
* - Patch #11879 by Moshe: deprecated the _content hook.Dries Buytaert2004-10-23
| | | | | | TODO: + Update Doxygen hook list (if required). + Document this in the developer's upgrade section.