I am a little new to Panels, but I am using it to manage layouts for different content types and it is working out really well. However I want to be able to create a page variant that will only target a single node. Is there any way to do this based on the node's id?
What you probably want to do is use Panelizer.
Page manager itself can do it to, but I don't see a builtin rule to match on node ids. Copying an existing rule, such as
ctools/access/node_language.inc would probably be the best way to solve that. See What are Ctools plugin (content type, access, etc), and how does one create them? for more details.
Assuming you already have the node override Panel enabled:
- Edit the panel page for the node override (node_view for node/%node)
- Make a new variant, enable selection rules
- For the selection rule, choose String: Url Path
- In the criteria, keep Allow access on the following pages selected
In the textarea, add the internal node paths for this nid(s) you want. To target nid 1234, use
Configure the test of the panel as needed.
Just make sure this comes before any less-specific rules, like matches on content type.