Larry, <br><br>So I became so wrapped up in your article that I missed your second paragraph. The viewfield CCK type worked awesome. Solved my issue perfectly.<br><br>Thanks again.<br><br><div><span class="gmail_quote">On 10/4/07,
<b class="gmail_sendername">Larry Garfield</b> <<a href="mailto:larry@garfieldtech.com">larry@garfieldtech.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Funny you should mention it. I just got around to documenting the way we<br>tackle this issue at Palantir today:<br><br><a href="http://drupal.org/node/180852">http://drupal.org/node/180852</a><br><br>As for the Views, create a node type that has nothing but a title and
<br>Viewfield CCK type. Create a node of that type and specify the View to use.<br>Tada, you have a node. Note: Doesn't work with dynamic arguments, sadly. :-(<br><br>Cheers.<br><br>On Thursday 04 October 2007, John Barreiros wrote:
<br>> Hi All.<br>><br>> This particular site I'm building features a layout with a photo in the<br>> upper right corner. The client wants to have the ability to specify the<br>> image on every single page. I know I know, kind of whacked, but it's what
<br>> they want.<br>><br>> So, first step was to use cck to add a new field to the "page" type. I<br>> tried imagefield but didn't like how you couldn't select an existing image.<br>> I managed to whip together a new cck field which uses IMCE to select the
<br>> image (I'll up it to cvs after some more testing and some coworkers give me<br>> the thumbs up on its quality).<br>><br>> Okay, so that takes care of any pages displaying a single node.<br>><br>> How do I handle views? There are a few views and they obviously need to
<br>> have the image customizable. It'd be nice if when creating a "view" to<br>> provide a page, it inherited the cck fields from the "page" type.<br>><br>> Could I use form_alter to add the cck field to the views form?
<br>><br>> Or is there some way when the "view" is being built I can extract the image<br>> from the first node and pass it to page.tpl.php?<br>><br>> Any help would be appreciated. Thanks in advance.
<br>> -john<br><br><br>--<br>Larry Garfield AIM: LOLG42<br><a href="mailto:larry@garfieldtech.com">larry@garfieldtech.com</a> ICQ: 6817012<br><br>"If nature has made any one thing less susceptible than all others of
<br>exclusive property, it is the action of the thinking power called an idea,<br>which an individual may exclusively possess as long as he keeps it to<br>himself; but the moment it is divulged, it forces itself into the possession
<br>of every one, and the receiver cannot dispossess himself of it." -- Thomas<br>Jefferson<br></blockquote></div><br>