How do I turn off the user login/comments box from the recipe page.

AS well, I'd be interested in getting rid of the yield box completely.

Thanks in advance.

Comments

scottprive’s picture

Title: Turn off UserLogin/Comments Hide Yield... » How to hide the Yield box?
Version: 5.x-1.x-dev » master
Component: Miscellaneous » Code
Priority: Normal » Minor

OK that's 3 questions in 1 issue. :-)

1) Turn off user login?
That's not a Recipe issue, I think...

2) How to Turn off user comments on Recipes?
In D6, that's Comment Settings in /admin/content/node-type/recipe

3) How to get rid of the Yield box?
Well the QUICK way to do this is to edit recipe.module, looking for the line:
$summary = '

';

change this to:
$summary = '

';

Note: The above has not been tested. What it should do is not change anything in the code, except to instruct the browser not to draw the HTML table (which contains the Yield stuff). It's possible you have to apply that style to other elements on the table -- again, I didn't test this.

I will assign this to myself to test and make it an option - display of this should be controlled by a checkbox under Recipe Admin.

scottprive’s picture

Assigned: Unassigned » scottprive
Status: Active » Postponed (maintainer needs more info)

OK this a dupe of #187322: Admin option to hide the Yield Summary so I will close this. Check that issue for changed details (we have an option for hiding Yield, I'm about to check it in)

scottprive’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Meant to set this as dupe. (and, the patch is checked into HEAD)