Download & Extend

Context by Node

Creating the Node & Context

Creates a Context for the Node specifically.

Imagine that you have a context for the pages under /news/* and you put some blocks for all that pages, but! imagine that you need to add a block specifically for one page(node) in the content region(or wherever).

Context By Node, creates a context for that page when you are creating the node, so after you save you dont need to do anything than just add your block.

So, the only way was doing all these:

[OLD WAY]

  1. Create the Node.
  2. Get the NID or the URL of that Node.
  3. Create a Context that aplies those conditions.
  4. Go back to the node view.
  5. Edit the Context(inline ui), and add some blocks, etc... for your Node.

[NEW WAY]

  1. Create a Node with the option of "Create a Context for this Node" checked. (default content type enabled is Page)
  2. Now do the step 5 of the old way. ;)

... but theres more ...

Q: If iI create like 400 nodes and you check to create a context for that node you will be ending with a huge list of contexts?
A: No. The module filter the list in admin/build/context. And that is optionally.

Q: So, if it doesn't appear in the list, how can I edit it?
A: After you save the node checking to create a context for that node, you can edit the Node, and now you will see a link besides the checkbox.
(Thanks matglas86).

Q: Hey, how can I have this feature in others content types?
A: Easy, go to admin/build/context/settings and you will see a list of checkboxes for you to select content types where you prefer to use this feature.

* The only extra thing you have to do after installing this module is enabling the Inline ui "Context Editor", so, you must have to install the Admin module, and you will find the settings here admin/settings/admin

Differences between Context by Node and Context Node:

  • Context by node allows you to create a context for each node. The context created will apply just for that node.
  • Context Node allows you to select a predefined context when creating a node. That means, an admin must configure the contexts available and the content types where the user will use that context.

Dependencies

Required

Recommended

  • jQuery UI in order to use the Context inline editor
  • Admin 2.x in order to use the Context inline editor

Thanks

Sponsored by Taller web solutions & Just Digital.

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.3 tar.gz (7.98 KB) | zip (8.9 KB) 2011-Sep-09 Notes

Development releases

Version Downloads Date Links
6.x-1.x-dev tar.gz (7.99 KB) | zip (8.9 KB) 2011-Sep-14 Notes

Project Information


Maintainers for Context by Node

  • sebas5384 - 12 commits
    last: 37 weeks ago, first: 1 year ago

Issues for Context by Node

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
nobody click here