This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Book review needs tweaking

I was reading on this site that someone had made some php changes to the Book Review module, for the following functions:

thumbnailing images on the "teaser" page

aligning the book stats (pages, publisher, ISBN #, all those kinds of data) on the right of the larger image inside the actual review.

I am looking around for this functionality but unfortunately can't find it anywhere. Does anyone know of a patch or update for bookreview that will allow this? Or can someone tell me how to do that in php (I don't really know much php unfortunately)

Thanks!

I've got a rather large relationship module 70% done :)

If anyone wants a look.
You'll find it over here

... following on from last months discussions I still seem to have no CVS account so I gotta go it alone.

remove line break?

How do I output these two form items on the same line? I can't get the automatic line break out.

$form .= form_select('Manager #2', 'mid2', $mid2, $options, NULL, 0, FALSE, FALSE);
$form .= form_select('Manager #3', 'mid3', $mid3, $options, NULL, 0, FALSE, FALSE);

TIA,
Billy

How to override teaser display

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.

Remove/Hide 'Preview' button from specific node-type

I have a module with node type 'exemple' and i want to hide the preview button only for this 'exemple' node-type.

Can i use an alter hook to do the job ?

I tryed to use the following hook without success :
exemple_node_form_alter ....
exemple_form_alter ....

both are not run!

What hook to use?

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']

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions