summaryrefslogtreecommitdiff
path: root/modules/block.module
Commit message (Collapse)AuthorAge
* - Patch #22192 by tostinne: fixed invalid XHTML codeDries Buytaert2005-05-22
|
* - Patch #15595 by Stefan and Djun: improved status messages.Dries Buytaert2005-05-05
| | | | | TODO: we should write down a couple guidelines for these document them in the PHPDoc code of drupal_set_message()! .
* - Patch #21939 by Usability Poobah Chris: added missing </p> tag.Dries Buytaert2005-05-05
|
* - Patch #21445 by Goba: added missing t() function.Dries Buytaert2005-05-01
|
* - Patch #21353 by chx: implemented PHP-mode for blocks.Dries Buytaert2005-04-30
|
* - Patch 20910 by chx: centralize print theme page.Dries Buytaert2005-04-24
|
* - Improved consistency.Dries Buytaert2005-04-18
|
* - Patch #19965 by Robin Monks: fixed problem with duplicate block titles.Dries Buytaert2005-04-12
|
* - Modified patch #19694 by chx: makes sure that block.module deals by ↵Dries Buytaert2005-04-04
| | | | default only with regions 0 and 1 as it does now but lets you use block_list with any region you define. This opens many possibilites. You may do a multi region module, with your admin UI using the blocks table as storage and the block_list matcher. Or you may do a sections module using the block matcher without cluttering the current blocks list.
* - #18817: Clean up plain-text checking (see drupal-devel!)Steven Wittens2005-03-31
|
* - #18939 (Stefan): Always use paragraph tags around page help text.Steven Wittens2005-03-18
|
* - Renamed some more 'region's to 'sidebar'sDries Buytaert2005-03-06
|
* - Patch by Neil: fixed typo.Dries Buytaert2005-03-05
|
* - Patch #18382 by Neil: usability improvement: organized the blocks on the ↵Dries Buytaert2005-03-05
| | | | block administration page by region. (I wanted to do that myself!)
* #18329: Unify confirmation messages (and make them themable)Steven Wittens2005-03-03
|
* - Block admin usability: display block title if no description was given.Steven Wittens2005-03-03
|
* - #17868: Remove hardcoded align="center"Steven Wittens2005-02-27
|
* #17216: Restore missing "delete" link for blocks.Steven Wittens2005-02-22
|
* - Patch #16399 by James: fixed typo in block.module.Dries Buytaert2005-01-28
|
* Typos.Steven Wittens2005-01-27
|
* - Code styleSteven Wittens2005-01-27
|
* - Patch #16074 by Andre Molnar: add configuration option to show blocks only ↵Dries Buytaert2005-01-27
| | | | on pages of certain node type.
* #15185: Fix front page handling of blocksSteven Wittens2005-01-06
|
* - Patch #14532 by andre molnar: tidied up some block.module code.Dries Buytaert2004-12-18
|
* - Removed some cruft: left-over xxx_help_page() functions.Dries Buytaert2004-12-11
|
* - Patch #14209 by nysus: improved the clarity and readability for a group of ↵Dries Buytaert2004-12-11
| | | | radio buttons for a block's visibility settings.
* - Patch #12353 by Stefan: usability improvement: don't show 'throttle ↵Dries Buytaert2004-11-15
| | | | fields' unless the throttle module is enabled.
* - Patch #12783 by Stefan: various small consistency/usability improvements.Dries Buytaert2004-11-15
|
* - Modified patch by Jeremy: throttle module improvements and fixes:Dries Buytaert2004-11-14
| | | | | | | | + throttle module: flush cache when the throttle enables/disables + throttle module: prevent throttle being enabled by 0 users or guests when disabled + system module: remove requirement for statistics.module + block module: update help text to reflect access log is no longer required + statistics module: throttle is now enabled/disabled, not using levels 0-5
* - Refactored the throttle module. Patch by Jeremy and me.Dries Buytaert2004-11-07
| | | | | | | | | | | | * There are only two throttle levels instead of 5, namely 'enabled' and 'disabled'. This makes it a _lot_ easier to predict when the throttle will kick in. However, if you maintain a module that is throttle-aware, it needs to be updated! * The throttle mechanism now uses the current number of anonymous users or the current number of authenticated users to kick in. This is a _lot_ more intuitive than the old throttle mechanism. * The throttle block has been removed -- you can now use the "Who's online" block to determine the good throttle settings. * Most of the documentation has been removed because it was deprecated. * It's less code!
* - 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 #10677 by drumm: removed dead code. Leftover.Dries Buytaert2004-10-14
|
* #10677: Confirmation when deleting a block + unifying confirmation screens.Steven Wittens2004-10-14
|
* - Patch #11401 by Goba: documentation updates:Dries Buytaert2004-10-09
| | | | | | + Made error strings in blog.module consistent. + Explained a bit better what the RSD setting is for in the blog module. + Removed the notes about PHP content from block module and book module, since everything is handled via the input formats now.
* - #10689: Group permissions by module in UI + minor code cleanups.Steven Wittens2004-09-17
| | | | - Adding a drupal_goto to the block admin.
* - Patch #8179 by JonBob: reintroduced menu caching.Dries Buytaert2004-09-16
|
* - Patch #10622 by Adrian: fixes various PostgreSQL related problems.Dries Buytaert2004-09-08
| | | | | | | | | | | | | 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).
* - #9292: Make Drupal (somewhat) PHP5 compatible. xtemplate is still horribly ↵Steven Wittens2004-08-22
| | | | broken.
* - Patch by JonBob: for consistency and readability, add brief descriptions ↵Dries Buytaert2004-08-21
| | | | 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.
* - Code improvements by Stefan: use capital letters for header titles (and ↵Dries Buytaert2004-08-19
| | | | added some missing t() functions).
* - Patch #9983 by Stefan: usability improvement: made sure all status ↵Dries Buytaert2004-08-16
| | | | messages start with a capital letter.
* The Input formats - filter patch has landed. I still need to make update ↵Steven Wittens2004-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instructions for modules and update the hook docs. Here's an overview of the changes: 1) Multiple Input formats: they are complete filter configurations (what filters to use, in what order and with which settings). Input formats are admin-definable, and usage of them is role-dependant. For example, you can set it up so that regular users can only use limited HTML, while admins can free HTML without any tag limitations. The input format can be chosen per content item (nodes, comments, blocks, ...) when you add/edit them. If only a single format is available, there is no choice, and nothing changes with before. The default install (and the upgrade) contains a basic set of formats which should satisfy the average user's needs. 2) Filters have toggles Because now you might want to enable a filter only on some input formats, an explicit toggle is provided by the filter system. Modules do not need to worry about it and filters that still have their own on/off switch should get rid of it. 3) Multiple filters per module This was necessary to accomodate the next change, and it's also a logical extension of the filter system. 4) Embedded PHP is now a filter Thanks to the multiple input formats, I was able to move the 'embedded PHP' feature from block.module, page.module and book.module into a simple filter which executes PHP code. This filter is part of filter.module, and by default there is an input format 'PHP', restricted to the administrator only, which contains this filter. This change means that block.module now passes custom block contents through the filter system. As well as from reducing code duplication and avoiding two type selectors for page/book nodes, you can now combine PHP code with other filters. 5) User-supplied PHP code now requires <?php ?> tags. This is required for teasers to work with PHP code. Because PHP evaluation is now just another step in the filter process, we can't do this. Also, because teasers are generated before filtering, this would result in errors when the teaser generation would cut off a piece of PHP code. Also, regular PHP syntax explicitly includes the <?php ?> tags for PHP files, so it makes sense to use the same convention for embedded PHP in Drupal. 6) Filter caching was added. Benchmarking shows that even for a simple setup (basic html filtering + legacy URL rewriting), filtercache can offer speedups. Unlike the old filtercache, this uses the normal cache table. 7) Filtertips were moved from help into a hook_filter_tips(). This was required to accomodate the fact that there are multiple filters per module, and that filter settings are format dependant. Shoehorning filter tips into _help was ugly and silly. The display of the filter tips is done through the input format selector, so filter_tips_short() no longer exists. 8) A more intelligent linebreak convertor was added, which doesn't stop working if you use block-level tags and which adds <p> tags.
* - Patch #9330: ucfirst() gives problem when used with multibyte charset.Dries Buytaert2004-08-06
| | | | Replaced the use of ucfirst() with a CSS-based solution.
* - Oopsie when committing.Steven Wittens2004-08-06
|
* - Cleaning up the rediculously long 'if' statement for checking block ↵Steven Wittens2004-08-06
| | | | | | visibility. - #9811: Remove session ID before matching block path
* - Patch #9775 by TDobes: consistency operation. Changed to "edit foo," ↵Dries Buytaert2004-08-05
| | | | "delete foo," and "view foo" links into simply "edit," "delete," and "view".
* - Simplified the block help a bit by removing some dated information. ItDries Buytaert2004-08-01
| | | | should be simplified more.
* - 'add block' -> 'add'Dries Buytaert2004-07-10
|
* - More tab-improvements by JonBob: improved support for the default tabs!Dries Buytaert2004-07-10
|
* - Patch #8975 by drumm: remove block placement preview. Most themes, if not ↵Dries Buytaert2004-07-07
| | | | | | all the commonly used ones, can handle blocks on either side, and there is no way to see the preview without saving and seeing the results on the site. Anything else that can be removed? Less is more.