Closed (won't fix)
Project:
Protected Node
Version:
5.x-1.4
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Apr 2009 at 19:59 UTC
Updated:
14 Nov 2013 at 17:38 UTC
Jump to comment: Most recent
Comments
Comment #1
calefilm commentedThis is an issue I am having now. I have to learn CSS and figure out how to change the placement of the Protected Node option within the CCK fields. Is there any way to do this easily or do I have to rework this in CSS? Cuz it's in the middle of a bunch of my CCK categories. would like it either at the top or the bottom...
thank you.
Comment #2
3rdLOF commentedD6 - Change the weight of the fieldset in protected_node.module by adding
'#weight' => 40line at the end of the$form['protected_node']array on line 92Comment #3
calefilm commentedTHANK YOU!
NOTE: Must place '#weight' => 40 after '#collapsed' => TRUE, (making sure you put a comma after "TRUE")
Working Example:
$form['protected_node'] = array(
'#type' => 'fieldset',
'#description' => t( 'Here if you check the checkbox and provide a password your newly created node will be password protected.' ),
'#title' => t( 'Password protect this @node', array('@node' => $node_type->name) ),
'#collapsible' => TRUE,
'#collapsed' => TRUE, '#weight' => 40
Comment #4
AlexisWilke commentedA CCK field has been added to D6 in order to move the 'Protected node' fieldset.
Version 5 may be able to use the same code. I do not know.
Thank you.
Alexis Wilke
P.S. we do not support version 5.x otherwise.
Comment #5
izus commentedSorry, 5.x is no more supported
Comment #6
acoustika commentedHow can I change the order in D7? there is no protected node field in my "manage fields" for a content type