Hi!

I am looking into replacing a local installation of PHPRecipeBook (with about 200 or so recipes) with Drupal using the recipe module. A couple of things I see as missing that would be helpful:
- the option to easily create a list of "related recipes" (such as when one has a recipe for a sauce that can be linked to two or more salads, for example).
- the option to create a separate field for photo uploads. It was relatively easy to create an image galley with the "image" and "img_assist" modules, but the only "reasonable" place to put the img_assist tags was in the "Notes" field. This is an issue because the "Notes" field shows up in the main recipe listing when referring to "/recipe". We could either take it out of there or have a separate text field for photo tags.

Thanks!

Comments

Thox’s picture

+1

Related recipes is actually a more generic thing - related nodes. Call it what you want, but other node types might want to be linked in the same way. I've considered making a new block which lists related nodes, which are chosen on the node edit screen. I've not yet decided what the best interface would be for choosing those recipes.

The image is something which has been mentioned by plenty of people. I would also like the feature, but I don't know how to do it. It's something I'd have to look into. I'd possibly like a thumbnail on my recipe list page, then a slightly bigger image on my recipe view page, and then a dedicated "closeup" page / tab to see just the image at full size. Of course, then there would need to be plenty of options deciding if/when the image(s) should be shown.

fsmontenegro’s picture

Hi!

What's the +1?

For the related nodes, I would suggest two options:
- initially, just list all available recipes in alphabetical order.
- later, have the option of filtering by category, for example.

One comment is that, to simplify things, I see the related nodes as NOT being bidirectional.

For the images, it seems relatively simple to use the image and img_assist modules. Showing them on the list might be trickier (perhaps one can use the album display code in the image module as guidance, as that shows thumbnails then links to a larger picture later), but having a picture on the node itself appears to be straightforward.

Hope this helps.

Fernando

green monkey’s picture

Thox,
I'm not a programer, so please keep this in mind when I suggest something. But on this thread two ideas came to me.

If you enabled the tinyMCE module to work with "recipe" it has a image insert tool. The importing of the image is a bit rough though, as it doesn't allow for a 'browse to local hard drive for image".

It wants you to paste or type in a URL, which can be very cumbersome.
"Darn it, where was that image again and how did I spell it?"

I noticed last night when I clicked on "enable rich text" tinyMCE would not come up.

the other idea is to hook into the image assit module, it does allow browsing to a local hard drive for an image, however when I tried to use it, it was creating a node as well - that I didn't really want. perhaps I was not using the module properly too. It was also givng me about one inch border, which was a bit bigger than I wanted to see.

merlinofchaos’s picture

I believe you could do the photo effectively with the inline module, and making sure uploads are turned on; then anyone could attach a photo, and use the inline tag to place it within the instructions (Which means it'll also show in the teaser, I believe).

Thox’s picture

Inline module wouldn't work very well as the image should ideally be above the description and instructions etc.

merlinofchaos’s picture

How about simply looking for the first attachments, and if it's an image, include an Only local images are allowed. tag to that attachment in the function that displays the recipe?

green monkey’s picture

Status: Active » Closed (fixed)

closed on age - if request still active - please resubmit