Creating, Editing, Deleting nodes with Shadow
As you already know, it's possible to create a Quanta node by just adding a folder anywhere in its system path.
But that's not an option for "normal" users, or those that can't access the file system.
The good news is that a full-featured UI approach to work with nodes, is provided by the the Shadow module.
Using Shadow for adding, editing, deleting nodes
The qtags you are going to use Shadow to interact with nodes are:
[ADD] - to add a new node.
[EDIT] - to edit an existing node.
[DELETE] - to delete an existing node.
The qtag's target defines which node you want to interact with.
Example:
Given a node fruits...
[ADD:fruits] - will add a NEW node into the fruits node (the new node will be a subfolder of fruits)
[EDIT:fruits] - will edit the fruits node
[DELETE:fruits] - will delete the fruits node
Selecting Shadow components for editing specific node
In your ADD / EDIT buttons, you can always include specific components, in order to personalize which fields of the node you are actually going to edit.
Quanta includes several modules for manipulating several of a Node. Then, of course, you can add other components in a custom module.
Component | Module | What it does |
node_form | node | It's the default component for node forms. It adds hidden node metadata, and the "Save button". Should always be included to all your ADD / EDIT buttons. |
node_edit | node | Allows editing the title, teaser, body fields. |
node_status | workflow | Allows editing the status field, to change the node's status (i.e. from draft to published) |
file_form | file | Allows managing nodes attachments |
manager_form | manager | Allows editing the node's categories (taxonomy) |
node_metadata | node | Allows editing the default author, date, time fields. |