Even though the ingredients are saved in the DB, they do not show on the recipe page. Everything else does show. I tried reinstalling, switching between the entering options and even deleted the tables manually (reinstalled by the module obviously) but it still does not work.

Please take a look. The simple version is...simpler :) and needed.

Thanks for a great module.

Comments

2222a’s picture

can someone else PLEASE try this.
When switching to simple method of entering ingredients, the ingredients do not show up at all on the page; everything else does.
Looking at the msql table recipe_node_ingredient, the unit_id and quantity are 0 in table .
I changed them manually to a number and they showed but then disappeared again after manual editing /publishing them in drupal.
The full version can be confusing...Can you please test this and see if I screwing something up

Thanks again,

2222a’s picture

at this point I'm willing to pay for this. Installed on a brand new install; brand new database; brand new folder; brand new download and it still does not work.

Any takers? it has to do with with the IDs; they are blank for simple mode. Can someoen pls take a look and let me know how much $ it would be to fix? Thanks

2222a’s picture

Status: Active » Needs work

Fixed: If anyone can place this in the main module it would be great. Here's a textpad compare result.

708,709c708,713
<
< foreach ($changes->add as $ingredient) {
---
>
> foreach ($changes->add as $ingredient) {
> //added if condition
> if (empty($ingredient->unit_id)) {
> $ingredient->unit_id = 2;
> }
716a720,723
> // added if condition
> if (empty($ingredient->unit_id)) {
> $ingredient->unit_id = 2;
> }

scottprive’s picture

Status: Needs work » Closed (won't fix)

Hi,

Sorry this issue was not looked at for so long. Recipe now has 2 new maintainers and we've cleared out a lot of old bugs and added new features.

For the latest -dev release (nightlies), Simple mode has been removed so this defect becomes a moot point and I have to close this as unfixable.

FYI - The latest nightly has new "text import", as well as a recipe-entry form (so removing Simple Mode did not necessarily make it all more "complex").

Scott