Independent arguments for View Page and Attachment Setup:

A Views page with an Attachment

Is it possible to have the first argument in the url affect the main page only, and the second argument affect the attachment only?

e.g. 
http://url.com/%1/%2

%1 is a cck field in a node.  If %1 == 'acme' the main page displays a list of all nodes where a certain cck field equals 'acme'.  It then ignores the second argument (e.g. %2 can equal anything or nothing without  affecting the page list).

%2 is an nid.  The Views page's attachment displays a single node where the nid the value of the second argument.  (Argument 1 will always be true for this node, so it can be inherited, but it doesn't have to be).

Is this possible?

I also tried by using a combination of an argument for the page and exposed filter for the attachment I could create a url like:

http://url.com/cck_field_value_to_match?nid=123

…but that still produced no results for the attachment.

…but that still prod
Personally, if you just want some content from the node at the top of a view, I'd override the Views template.

Then, in that template just use the following code to get the content:

&lt;?php if (is_numeric(arg(2)) : ?&gt;
  &lt;?php $node = node_load(arg(2)); ?&gt;
  &lt;?php print $node-&gt;content; ?&gt;
&lt;?php endif; ?&gt;


I'm pretty sure you can get attachments to inherit arguments, but they can't be used independently; all arguments will always affect the parent view.

If you have to use a view, you can always do as above, create a template, then create a 'new' view; then, embed that view inside the other using:

&lt;?php print views_embed_view('viewname', 'displayname', arg(2); ?&gt;


This will manually pass the third argument into the embedded view.