I am working on my own gamereview module. I would like to override the default teasers that show up on the front page so as to show the publisher, developer, rating, etc. from my gamereview database, and also to give them their own css (right now the teasers all show up as 'div class="node"' but I'd like them to be something like 'div class="gamereview"'. Basically I want complete control over how the teasers are displayed, including the title. I can see that there is a $teaser variable passed into hook_view() but I don't know if it does the right thing or what to do with it.
I'm writing an implementation of jsDomenu for use with the menu tree not the taxanomy tree that the current jsdomenu implementation works with.
I got it to work as extended theme functionality, but I'm totally stuck now that I'm trying to make it a module.
To build the javascript code my module depends on the 'visible' part of the array from the menu_get_menu() function.
So my question is: What hook to use that is called early enough for inserting javascript code with drupal_set_html_head() and late enough to get the content of $menu['visible']
I have many vocabularies, but only one (visibility:internal|external|both) that affects whether access should be given to a node.
Am I misreading taxonomy_access?
... or does this situation cause two problems:
1. the 'edit category permissions' page is huge
2. the resulting permissions can only work if visibility is the *only* tag added to a node. (because if you add another tag, the node permissions are affected by it)
I am writing my first node type module and have been trying to figure out how to display all nodes. I am thinking in terms of the audio or video module ie; mysite.com/audio displays the latest audio nodes.
I don't have a problem with coding the routines, it is merely how this symbolic link is defined? Looking at video.modules it looks as if it relies on a combination of video_page() and the menu hook, but I've had no success with this. I know I must be missing something simple :)