Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
- Does the biblio module create nodes? If so, you might want a mysite_type_biblio_block_node() function.
- There have been a few minor changes to the API in v 4.7.x.1.2.
- line 69, remove the check_plain()
- The access checks in the block (line 118 and 120) have bneen simplified. The 'edit mysite' check is now handled in mysite_block. Two IF statements are no longer needed.
THe other question is 'How should we distribute these files?' I was thinking about making a submissions directory as part of the tarball.
Comments
Comment #1
agentrickardVery cool. A few questions.
- Does the biblio module create nodes? If so, you might want a mysite_type_biblio_block_node() function.
- There have been a few minor changes to the API in v 4.7.x.1.2.
- line 69, remove the check_plain()
- The access checks in the block (line 118 and 120) have bneen simplified. The 'edit mysite' check is now handled in mysite_block. Two IF statements are no longer needed.
THe other question is 'How should we distribute these files?' I was thinking about making a submissions directory as part of the tarball.
Comment #2
agentrickardI have made the changes add added this file (and a translation) to the contribs directory of the tarfile.
Great work!
Comment #3
agentrickardThe Drupal 5.x version of this file has been committed to HEAD.