Skip to content
  1. Jul 14, 2001
    • Dries Buytaert's avatar
      · 8271f6c3
      Dries Buytaert authored
      - A lot of (a) visual and (b) navigational improvements to import.module.
      8271f6c3
    • Dries Buytaert's avatar
      · b99d4d7a
      Dries Buytaert authored
      - theme system:
          + added $theme->images()
      
      - blog.module:
          + improved user-friendliness and rewrote most of the output routines
          + made quoted text /italic/ by default
          + integrated discussion system like it should
          + ...
      
      - marvin.theme:
          + small visual improvements
      b99d4d7a
    • Steven Wittens's avatar
      Update of the box function in themes to allow a difference in... · e62e3417
      Steven Wittens authored
      Update of the box function in themes to allow a difference in style/output/look of a box() depending on the position on the page.
      Basically this is a 'nice version' of a hack that you could do as a theme author.
      I've updated all the standard themes, but 3rd party themes will of course have to be updated by their authors, in the following manner:
      
      - Replace the box() declaration:
      < function box($subject, $content) {
      > function box($subject, $content, $region = "main") {
      
      - Replace the theme_account call:
      < theme_account($this);
      > theme_account("region", $this);
      
      Note that you'll have to replace "region" with the correct region that the box is placed in. However if you have a one-column theme, you should use "all", and not for example "left" (if all boxes are on the left).
      Usually the "region" here should be the same as the nearest theme_blocks() call.
      
      Those theme authors who want to can make boxes that appear in the center look different from those that appear in the sides for example.
      e62e3417
  2. Jul 13, 2001
  3. Jul 07, 2001
    • Dries Buytaert's avatar
      · adfbda3d
      Dries Buytaert authored
      - Tidied up some stuff in account.php and theme.inc.
      - Tidied up the box() API.
      adfbda3d
  4. Jul 03, 2001
  5. Jun 30, 2001
    • Dries Buytaert's avatar
      · e6a67118
      Dries Buytaert authored
      - Made search.php a module, being search.module.
      
      - Updated the permission names to be more consistent.
      
      - Small improvement to node.php.
      e6a67118
  6. Jun 29, 2001
    • Dries Buytaert's avatar
      · 9c43e8fc
      Dries Buytaert authored
      Extremely large commit:
      
      - Fixed tiny quote problem in account.php.
      
      - Fixed tiny bug in comment.inc.
      
      - Fixed tiny bug in comment.module.
      
      - Fixed tiny bug in meta.module.
      
      - Simplified user_access() API.
      
      - Rewrote link system: still needs fine-tuning and testing so don't
        upgrade if you are running a production site. ;)
      
        Updated all modules and themes to reflect this change.  All other
        themes and modules need updating too!
      9c43e8fc
  7. Jun 24, 2001
  8. Jun 17, 2001
    • Dries Buytaert's avatar
      · 03c06a86
      Dries Buytaert authored
      Oops, a rather large commit:
      
      - Changed meta.module, node.module and index.php to use comma-seperated
        lists of attributes rather then "foo=a,bar=b" lists.  This makes it a
        a lot easier to use both modules.  In addition, error handling can be
        discarded as it can't be made any simpler, really ...
      
        It fits rather nicely in Drupal's design so I'm getting more and more
        happy with this meta.module (but we are not 100% there yet).
      
      - node.module, node.inc:
      
         + Improved the node-related admin interface so that navigating back
           and forth the administrative menus is made both easier and faster.
      
         + Removed some redundant database fields from the node table.  See
           2.00-to-x.xx.sql!
      
         + Added 2 news hooks called "node_insert" and "node_update".  Just
           like this is the case with the existing hook "node_delete" these
           new hooks will automatically get called when a node has been
           inserted or udpated.  Note that this is an optional call-back that
           only needs to be implemented when required.  With the addition of
           these two hooks, the node mechanism (version 1) is pretty well
           completed.
      
      - watchdog.module:
         + Fixed bug whit the 'regular messages' query in the watchdog.module.
      
      - book.module:
         + Fixed bug in book.module: the 'parent' was not set properly when
           updating a book page.
         + Made it so that older versions of a book page are automatically
           reactived upon deletion of the most recent version, i.e. when
           doing a version roll-back.
      
      - comment.inc:
         + Undid Remco's patch to comment.inc; it does not work in some cases.
      
      
      - conf.module:
         + Fine-tuned some of the options in conf.module a bit.
      
      - marvin.theme:
         + Visual changes to make it look better on Windows browsers.  Mind
           to give some feedback on this?
         + Fixed 3 HTML typos/bugs.
         + XHTML-ified the theme at a best effort basis; I didn't carry the
           XHTML specification with me.
         + Made use of the theme_slogan variable to display the site's slogan.
         + As soon we have at least one valid XHTML theme we can wonder on how
           to integrate other XML namespaces (cfr. MathML story at drop.org).
      
      - database.mysql:
         + Updated database.mysql so that it contains all the latest "database
           patches".
      03c06a86
  9. Jun 11, 2001
    • Dries Buytaert's avatar
      - Changed field_set(), field_get() and field_merge() to use ',' and · c56ee67e
      Dries Buytaert authored
        '=' instead of ';' and ':'.  It is considered to be more readable.
        --> A _first_ step towards and improved index.module.  Stay tuned
            for more.
      
        + Important:
           If you update from CVS - apply the queries in 2.00-to-x.xx.sql!
      
      - Changed all 'attribute' to 'attributes'.
      
        + Important:
           If you update from CVS - apply the queries in 2.00-to-x.xx.sql!
      
        + Important:
           This might require to ieni-wieni small update to your custom
           themes and/or node-related modules:
            - themes: node_index($node->attribute) -> node_index($node)
            - node modules: attribute -> attributes
      c56ee67e
    • natrak's avatar
      Changes · 83542a1b
      natrak authored
      - fixed the trailing | in some cases.
      - removed theme_morelinks().
      - added node_links().
      - simplified BaseTheme->links().
      - updated themes.
      
      Notes
      - the new links system is taking form, but concider it beta. There might still
        be some major changes ahead so I suggest waiting a little longer before
        modifying your theme to take advantage of it.
      83542a1b
    • Kjartan Mannes's avatar
      Changes · 8f7eddbe
      Kjartan Mannes authored
      - fixed the trailing | in some cases.
      - removed theme_morelinks().
      - added node_links().
      - simplified BaseTheme->links().
      - updated themes.
      
      Notes
      - the new links system is taking form, but concider it beta. There might still
        be some major changes ahead so I suggest waiting a little longer before
        modifying your theme to take advantage of it.
      8f7eddbe
  10. Jun 10, 2001
    • Dries Buytaert's avatar
      · d397bbe9
      Dries Buytaert authored
      This a rather large commit that needs a lot of fine-tuning.  If you
      update, you'll break your site as you need switching from structure
      to index.module: so this can be considered an intermediate commit.
      
      If you upgrade, and you are welcome to, just create a collection
      called "section" (for now) and assign your nodes some attributes
      in the described format.
      
      Feedback and bugreports are welcomed.  Questions will be answered.
      
      CHANGES:
      
      - comment system:
         + when replying to a node (rather then to a comment), that
           node is displayed above the reply form.
         + when replying to a comment (rather then to a node), that
           comment is displayd above the reply form.
      
      - removed structure.inc, removed structure.module.
      
      - node.inc:
         + added 2 new node functions called 'node_attribute_edit()' and
           'node_attribute_save()' used to 'hook in' any indexing system
          including your home-brewed stuff if you'd want to.  Currently,
          index.module is the facto default index system.
      
          See story.module for usage.
      
      - book.module, story.module, poll.module, page.module, forum.module:
         + added preview functionality to administration section (via node
           module).
         + removed all references to structure.inc (category, topic).
      
      - moderate.module:
         + removed all references to structure.inc (category, topic).
      
      - book.module, story.module, page.module, forum.module:
         + increased the sizes of some textareas.
      
      - submit.php:
         + removed all references to structure.inc (category, topic).
      
      - marvin.theme:
         + removed dead code: function story() was depricated.
      
      - unconed.theme:
         + removed hardcoded references to drop.org.
      
      - marvin.theme, unconed.theme, jeroen.theme, yaroon.theme, example.theme:
         + removed all references to structure.inc (category, topic).
      
      TODO:
      
      - file.module, trip_link.module:
         + update preview functionality:
             see story.module for example.
         + remove references to 'cid' and 'tid', use 'attribute' instead:
             see story.module for example.
      
      - extend and build upon index.module as well as making it configurable
      d397bbe9
    • natrak's avatar
      Changes · 6b343106
      natrak authored
      - created a BaseTheme class in theme.inc.
      - added links($links = array(), $status = 0, $node = 0) to BaseTheme.
      - modified all themes to extend from BaseTheme.
      - modiefied theme_link() to take advantage of $theme->links().
      - theme_morelink() does not require a $theme argument.
      
      Todo
      - add the other standard variables and functions to BaseTheme.
      - some themes could use some more modifications.
      
      Weird
      - marvin.theme still has a story() function.
      6b343106
    • Kjartan Mannes's avatar
      Changes · 9e498458
      Kjartan Mannes authored
      - created a BaseTheme class in theme.inc.
      - added links($links = array(), $status = 0, $node = 0) to BaseTheme.
      - modified all themes to extend from BaseTheme.
      - modiefied theme_link() to take advantage of $theme->links().
      - theme_morelink() does not require a $theme argument.
      
      Todo
      - add the other standard variables and functions to BaseTheme.
      - some themes could use some more modifications.
      
      Weird
      - marvin.theme still has a story() function.
      9e498458
  11. Jun 09, 2001
  12. Jun 06, 2001
  13. May 27, 2001
  14. May 24, 2001
    • Dries Buytaert's avatar
      · 540fdfc0
      Dries Buytaert authored
      - Replaced $theme->story() by a more generic $theme->node().  All themes
        required an update (and so will your custom themes).
      540fdfc0
  15. May 22, 2001
  16. May 21, 2001
  17. May 19, 2001
  18. May 15, 2001
    • Dries Buytaert's avatar
      · a669485b
      Dries Buytaert authored
      - Renamed ./themes/jeroen2/ in ./themes/yaroon/ (again).
      a669485b
    • Dries Buytaert's avatar
      · 14ddbc47
      Dries Buytaert authored
      - Created 2 new functions:
          + path_uri(): returns the fully-qualified URI of your drupal site.
          + path_img(): returns the image directory or http://image-server.com/
                        in case you prefer to load-balance bandwidth usage.
      
        Replaced all occurences of the variable "site_url" with path_uri()
        and removed "site_url" from "setting.module".
      
      - Drastically simplified the node_save() API, which should make the
        node-forms more secure.  Updated "story.module", "book.module",
        "forum.module", "page.module" and "node.module" to reflect this
        change.  This is needs more testing so hit it, beat it, tease it.
      
      - Fixed an occasional glitch in the configuration file loading logic.
      
      - Made "queue.module" display an informative notice when an anonymous
        user tries accessing the moderation queue.
      
      - Updated the hard-coded information in drupal.module a bit.
      14ddbc47
    • Jeroen's avatar
      Hey, · 1da587a9
      Jeroen authored
      I updated the theme a bit, changed some variables and the drop down menu... I hope it works because frankly I haven't tested it... I mean, I tested it but not that toroughly. Hope with me :)
      
      I'll write a short story about it.
      
      Jeroen.
      1da587a9
    • Dries Buytaert's avatar
      · 05676ba0
      Dries Buytaert authored
      - Fixed bug in theme Yaroon: the image-path was set to ./themes/jeroen2/
        instead of ./themes/yaroon/.
      05676ba0
  19. May 14, 2001
    • Steven Wittens's avatar
      This is a major rewrite of the Goofy-theme.... the major problem with it was... · bd76632b
      Steven Wittens authored
      This is a major rewrite of the Goofy-theme.... the major problem with it was that it required a *lot* of overhead for a simple box, due to the fancy borders. To counter this, I've added simple functions in JavaScript to output the actual boxes, while the PHP functions themselves output simple function calls to them.
      
      The result is an incredible loss of size, especially on larger pages.... on a typical drupal page (header/footer, 1 story box, 1 comment mod box, 4 comments and 1 side box) the difference was 23K vs 15K, which I find quite good. You should also notice how big some pages were in the old version, which are still tiny in the new version.
      
      There are a few problems though:
       - You can't use it in some parts of the admin section (preview a story), since admin.php leaves out the header(), so the html-generating functions are not included there.
       - Because drop can occasionally insert HTML directly, without going through themes, I have to wrap each box in its own <script> tag. The optimization would benefit even more if i could group all function calls in one <script> tag, but it's not possible at the moment.
      
      I suggest you take a snapshot of an original goofy-page (drop.org) and compare it with the output of this one (cvs-version) to see how it works exactly. And finally, it works on both IE5 and NS4, so I assume it does on most browsers.
      bd76632b
  20. May 03, 2001
  21. May 02, 2001
    • Jeroen's avatar
      Hey, · e10572d7
      Jeroen authored
      Deleted jeroen2.theme from /yaroon/
      
      Jeroen.
      e10572d7
    • Dries Buytaert's avatar
      · 343e71c8
      Dries Buytaert authored
      CHANGES:
      
      - Added moderator permissions to nodes.
      
      - Added moderator support to structure.module.
      
      - Added new moderate.module.
      
      - Renamed moderation.module to queue.module to avoid confusing.
        Updated theme yaroon as it seems to have a hard-coded reference
        to moderation.module.
      
      - Polished on:
         + account.module: improved access list
         + fixed HTML typo in node.module
      
      ACTIONS:
      
      - Jeroen: can jeroen2.theme be removed from ./themes/yaroon?
      343e71c8
  22. Apr 19, 2001
    • Dries Buytaert's avatar
      · 45ed041b
      Dries Buytaert authored
      - structure.inc: added category_name($cid) and topic_name($tid).
        They both return a linked string with the respective category,
        or topic name.  Updated all themes to use these new functions.
      
      - (stripped tabs from emsa files, nevermind)
      45ed041b
  23. Apr 18, 2001
  24. Apr 17, 2001
    • Jeroen's avatar
      Hey, · 16c316c8
      Jeroen authored
      I also applied UnConeD's remark about the PHP_SELF. And remover jeroen2.theme, added yaroon.theme and commit it now. Dries, if you have 5 minutes, just move the jeroen2 directory to yaroon.
      
      Jeroen.
      16c316c8
  25. Apr 16, 2001
    • Jeroen's avatar
      I updated my theme, and changed something about the update Dries did. I think... · cedbefc9
      Jeroen authored
      I updated my theme, and changed something about the update Dries did. I think you left a <a href> there... But now it's OK. Also when I first looked at my theme it looked real ugly in NS .76, but then after some fiddling around, but restoring everything I changed it looked OK again. Weird. I haven't changed a thing. We'll see, if anything else happens make sure to let me know.
      cedbefc9
    • Dries Buytaert's avatar
      · a6373132
      Dries Buytaert authored
      - updated the forgotten theme: theme Jeroen doesn't render 100% correct in Netscape btw - it is certainly not due to my changes.  I have this feeling that there is an unclosed tag somewhere.
      
      - all these themes are getting a pain to maintain but I guess nothing we can do about it.  Hopefully the theme API is about to stabalize soon.  In future, we should certainly keep the number of "supported" below 10 so as so we have, say, 11 themes I suggest to kick out the one that is less interesting.  It will then become an "unsupported theme" available through drop.org/drupal but maybe not in prime condition.  It think we'll have our hands full with 10 themes already.  It is really the max IMHO.  Comments/suggestions/noding heads?
      a6373132
    • Dries Buytaert's avatar
      · b1c66cb5
      Dries Buytaert authored
      Another big update so please read this carefully because there is important information hidden in it.
      
      Made it so that we can disable/enable comments on a category by category basis. In order to accomplish this I had to make a few (*temporary*) changes.
      
      I moved all comment code from the "module level" (eg. story.module) to the "node level".  It was nothing but the logical next step in nodifying drupal.  This enables us to add comments to all existing content types including book entries.  But also for book entries, this to can be toggled on and off. :-)
      
      Moreover module writers don't have to worry about the complex comment logic: it is "abstracted" away.  This implies that story.module got smaller, faster and easier to comprehend. :-)
      
      In order to accomplish this, I had to update ALL THEMES, which I did - and on my way I updated Goofy, Oranzh and UnConeD - with the previous changes.  All themes are up-to-date now!  I also had to remove the [ reply to this story ] links, and temporally re-introcuded the "Add comment" button in the "Comment control".  Tempora lly that is, UnConeD. ;)
      
      I plan to upgrade drop.org either tommorow or wednesday so test away if you have some time to kill. ;)
      
      Oh, I also fixed a few bugs and made various small improvements.
      b1c66cb5