Commit Graph

107 Commits (e57b926e8d4385e399731159bd90f862962a86ab)

Author SHA1 Message Date
Dries Buytaert 34a5d46022 - Patch #36465 by chx / Richard: made it possible to link to the front page. 2005-12-27 10:36:16 +00:00
Dries Buytaert ff8dab6095 - Patch #40847: after menu reset, primary and secondary menus need to be recreated. 2005-12-15 21:53:49 +00:00
Dries Buytaert 922a46d281 - Patch #34920 by Morbus/webchick/tangent: fixed order of form fields. 2005-12-15 16:24:40 +00:00
Dries Buytaert de723ba8b5 - Patch #40393 by Richard: fixed permissions of URL settings on node submission page. 2005-12-12 14:25:45 +00:00
Dries Buytaert 477028c288 - Patch #40795 by Richard: fixed problem with editing menu items. 2005-12-12 11:39:41 +00:00
Dries Buytaert ad3d637c57 - Patch by Richard: fixing breakage caused by the 'Obliterate nodeapi op form' patch. 2005-12-05 10:38:42 +00:00
Dries Buytaert 28fdb3975e - Patch #39778 by chx: obliterate nodeapi op form in favor of the forms API's way of doing things. Tested with help from webchick. 2005-12-05 09:11:33 +00:00
Dries Buytaert f54cc812c6 - Patch #39779 by Richard: removed confusing status messages. 2005-12-04 08:00:13 +00:00
Dries Buytaert 9677ab121f - Patch #32665 by Richard Archer: add more functionality to menu item settings on node/*/edit pages. 2005-12-03 10:06:10 +00:00
Dries Buytaert f5253a892a - Patch #39440 by Richard: no circular references. 2005-12-02 15:10:03 +00:00
Dries Buytaert 786f6b5ad9 - Patch #37327 by Richard Archer: improved menu item 'create content' indications.
Improves usability of the admin/menu page.
2005-11-18 13:50:37 +00:00
Dries Buytaert 3cb8017c5a - Patch #37327 by Richard Archer: made the menu edit screen slightly less confusing. 2005-11-17 06:42:13 +00:00
Dries Buytaert 534805718a - Rollback an accidentical commit. 2005-11-13 07:52:14 +00:00
Dries Buytaert aeed4cd8e4 - Patch #35644 by webchick: forms API simplificiations. 2005-11-12 11:26:16 +00:00
Dries Buytaert ea53aad7c8 - Patch #22215 by Richard Archer: refactored primary and secondary links.
Deprecates the primary_links module.

  This patch was much needed.  Thanks Richards!

  NOTE: if some themers could investigate if there is room for improvement
        with regard to theming, that would be awesome.
2005-11-03 19:33:37 +00:00
Dries Buytaert a8b218827a - Patch #26139 by webchick / Kieran / documentation team: improved admin help of core modules! / 2005-11-01 10:17:34 +00:00
Dries Buytaert ef7d2c8a9f - Patch #34920 by tangent: reorganized the node submission form a bit. 2005-10-28 14:04:20 +00:00
Dries Buytaert f6764cfbd8 - Patch #30930 by m3avrck/deekayen: cured PHP5 warnings. 2005-10-22 15:14:46 +00:00
Dries Buytaert 782d5c98c9 - Patch #33752 by leafish_paul / adrian: added missing apostrophes to the form API code. 2005-10-18 14:40:00 +00:00
Dries Buytaert 75fe6b6c0a - Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes. 2005-10-11 19:44:35 +00:00
Dries Buytaert 7e1527ee61 - Patch #29465: new form API by Adrian et al.
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.
2005-10-07 06:11:12 +00:00
Dries Buytaert f592a5a60b - Patch #27669 by ax: fixed menu system status reporting. 2005-09-27 15:11:07 +00:00
Dries Buytaert ee33291b55 - Patch #17079 by Uwe: fixed form title of form element in menu module form. 2005-09-13 19:10:06 +00:00
Dries Buytaert 7b8a409675 - Patch #29385 by chx: no ?> add end of files. 2005-08-25 21:14:17 +00:00
Steven Wittens 6d93ee696b - Menu: remove array_merge warning when editing a node without menu item. 2005-08-09 00:37:02 +00:00
Dries Buytaert a2389f12ac - Patch #9178 by mathias: improved menu system integration. 2005-07-18 16:46:28 +00:00
Dries Buytaert 2debcfb1ef - Patch #15595 by Stefan and Djun: improved status messages.
TODO: we should write down a couple guidelines for these document them in
        the PHPDoc code of drupal_set_message()!  .
2005-05-05 22:22:46 +00:00
Dries Buytaert a76a1e1f3f - Patch 20910 by chx: centralize print theme page. 2005-04-24 16:34:36 +00:00
Dries Buytaert 7bdcba1720 - Patch #19739 by Uwe: corrected many typo's in the documentation and code comments 2005-03-31 21:18:08 +00:00
Steven Wittens be14203534 - #18817: Clean up plain-text checking (see drupal-devel!) 2005-03-31 09:25:33 +00:00
Steven Wittens 198ec98f75 #18329: Unify confirmation messages (and make them themable) 2005-03-03 20:51:27 +00:00
Dries Buytaert 9574766ad8 - Patch by Stefan: wrapped the help texts in <p></p> tags. Helps improve consistency. 2004-11-23 22:20:41 +00:00
Dries Buytaert 9979aceab0 - Patch #12783 by Stefan: various small consistency/usability improvements. 2004-11-15 11:16:39 +00:00
Dries Buytaert c214cee319 - On popular demand, patch #10178 by jhriggs: made it possible to expand menu items. 2004-11-06 12:11:02 +00:00
Dries Buytaert b3adcf05a3 - Patch #11875 by Neil Drumm: block module configuration improvements.
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.
2004-10-31 07:34:47 +00:00
Dries Buytaert c2f174e1f1 - Patch #11725 by mrrowe: custom menus are not wrapped in <div class="menu"> tags which made their appearance differ from the built-in "navigation" menu. 2004-10-23 17:24:49 +00:00
Dries Buytaert 4a0e047469 - Patch #10869 by JonBob: the menu.module forget the parent item on form error. 2004-10-14 21:35:12 +00:00
Dries Buytaert 1c592921ba - Patch #10961 by Gerhard: fixed PHP warning in the 'add menu item' form. 2004-09-21 18:49:54 +00:00
Dries Buytaert 5c7983c4de - Patch #8179 by JonBob: reintroduced menu caching. 2004-09-16 07:17:56 +00:00
Dries Buytaert 94e30bf776 - 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. 2004-08-21 06:42:38 +00:00
Dries Buytaert fa25c7a0ca - Code improvements by Stefan: use capital letters for header titles (and added some missing t() functions). 2004-08-19 15:41:57 +00:00
Dries Buytaert 83a739bd89 - Code improvements by Stefan: made all status messages consistent (and easier to translate). 2004-08-18 19:57:27 +00:00
Dries Buytaert 2f33b939c5 - Patch #9983 by Stefan: usability improvement: made sure all status messages start with a capital letter. 2004-08-16 18:02:48 +00:00
Dries Buytaert 9a26352b9c - Patch #9864 by JonBob: better form validation in menu administration. 2004-08-15 16:42:59 +00:00
Dries Buytaert c0f6fccac3 - Patch #7336 by TDobes: in various parts of Drupal, we use the title attribute for links to provide a slightly more detailed explanation as to the purpose of a link or where it goes. 2004-08-03 18:01:48 +00:00
Dries Buytaert f4460da93b - Patch 9543 by JonBob: use drupal_goto() in menu administration. 2004-07-25 18:31:41 +00:00
Dries Buytaert 2af5dff6a2 - Patch #9464 by Moshe: menu.module omitted a pair of braces when calling
db_next_id().
2004-07-25 18:16:49 +00:00
Dries Buytaert 2c9b5e31b7 - Patch #9234 by TDobes: the latest menu changes have caused custom menu blocks not to render any output. If I create a new menu and menu items, and then enable the block, no output from that block is visible.
This commit fixes the problem: custom menus were being defined as MENU_CUSTOM_ITEM rather than MENU_CUSTOM_MENU.  It also fixes a problem in which custom menus were mistakenly given the MENU_VISIBLE_IN_BREADCRUMB bit when edited. This would cause their titles to show up in the breadcrumb (which is undesirable... only menu items should be in there).

Note that this will not fix any non-functioning custom menus you've defined since this bug appeared. You'll have to delete and recreate them or update the "type" column in the DB manually.
2004-07-13 21:23:23 +00:00
Dries Buytaert ac5b5616c0 - More tab-improvements by JonBob: improved support for the default tabs! 2004-07-10 15:51:48 +00:00
Dries Buytaert 60513799a1 - Patch #8941 by JonBob: allow local tasks to be ordered by weight, as well
as simplifying the theming of local tasks so they can be more easily
  rendered in a non-tab manner.
2004-06-30 20:45:45 +00:00
Dries Buytaert c2d7419f23 - Patch #8681 by stefan: fixed some broken URLs and help texts. 2004-06-20 19:49:14 +00:00
Dries Buytaert 54b77d6435 Tabs patch!
CHANGES
-------

 + Introduced tabs. First, we extended the menu system to support tabs. Next, a tab was added for every link that was (1) an administrative action other than the implicit 'view' (2) relevant to that particular page only. This is illustrated by the fact that all tabs are verbs and that clicking a page's tab leads you to a subpage of that page.

 + Flattened the administration menu. The tabs helped simplify the navigation menu as I could separate 'actions' from 'navigation'. In addition, I removed the 'administer > configuration'-menu, renamed 'blocks' to 'sidebars' which I hope is a bit more descriptive, and made a couple more changes. Earlier, we already renamed 'taxonomy' to 'categorization' and we move 'statistics' under 'logs'.

 + Grouped settings. All settings have been grouped under 'administer > settings'.

TODO
----

 + Update core themes: only Xtemplate default supports tabs and even those look ugly.  Need help.

 + Update contributed modules.  The menu() hook changed drastically.  Updating your code adhere the new menu() function should be 90% of the work.  Moreover, ensure that your modue's admin links are still valid and that URLs to node get updated to the new scheme ('node/view/x' -> 'node/x').
2004-06-18 15:04:37 +00:00
Dries Buytaert 8ebcf4aab6 - Patch by JonBob: killed a warning. 2004-05-26 18:43:39 +00:00
Dries Buytaert cd2f2bc0f9 - More code improvements by JonBob. Thanks a bunch. 2004-05-18 19:15:14 +00:00
Dries Buytaert 725298779d - Patch #7271 by JonBob: avoid filling the database with menu items. 2004-04-21 17:42:07 +00:00
Dries Buytaert 7231c88a32 - Added support for 403 handling. Patch by JonBob. As a side benefit,
administrators will be able to define a custom 403 page, just as they
  can define 404 pages now.

  This needs to be documented in the "Changes since / migrating to ..."
  pages.
2004-04-21 13:56:38 +00:00
Dries Buytaert 10bdb51c37 - Patch by JonBob/Jonathan: reworked the menu system so that menus are
configurable!  Menu items can be disabled, repositioned, added and
  so on.

  Upgrading to requires you to run update.php.

  This functionality depricates some of the 'navigation modules' in the
  contributions repository.  Furthermore, modules can now 'suggest'
  menu items and site adminstrators can choose to enable them.  Modules
  in the contributions repository should try to take advantage of this.
2004-04-15 20:49:42 +00:00