I created a new kind of content for my wife to enter recipes using Taxonomy to keep them organized. I want to create a page view with a menu link that will list the last (5) recipes and below it list all the taxonomy terms with how many recipes are associated with that term in () that you can click on and it will take you to all the recipes that include that term.

The recipe module does exactly this view that I'm wanting, however, my wife doesn't care for the content entering portion of the recipe module. I'm having a hard time figuring out how to use views to recreate this. Any help would be greatly appreciated. At this point, I don't know if it would be easier to duplicate what the recipe module view is doing or hack the recipe module content creation code. I'm trying not to hack modules if possible. Thanks in advance.

icon123

Comments

scottprive’s picture

Hi,

>however, my wife doesn't care for the content entering portion of the recipe module

So if I understand, you want to do either one of 2 things?

a) Use Views to create a new content-entering form, or
b) theme or customize the Recipe module's built-in entry form

This right?

Currently, I don't see how you can do "a" with just Views. Views is for displaying data, not creating forms. There are some modules which extend Views so that you can create a form within Views, but these modules are not part of Views itself and last I checked these modules were not production ready.

If you know Views well however, the project could use some help with Views. I have committed partial support for views but it needs help processing "1:many" joins (needs a custom field handler to fetch ingredients quantity, ingredients unit name, ingredients name).

For "b", take a look at the current -dev release and make some suggestions. We can adapt the data entry form for you.. it has been neglected part of the code, but recently received a makeover by John (the other Recipe maintainer).

vm’s picture

to expand on core's ability to create content type, download and install the CCK.module (content contruction kit) and it's field addons.

to sort by letter, investigate views.module which I think has a glossary view which is disabled by default or investigate the glossary.module