<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Arial">Well, if you have to use arguments,
you could add some code to the Argument Handling Code field and fill
the args array that way (I did the same thing recently, and it works
well).&nbsp; You could add the view URL (or whatever else you need) as an
argument, and would be good to go.&nbsp; The only thing is, you still need
some field set up as an argument that you can pass the argument to.&nbsp;
What you could do is add the CCK field I suggested, add it as an
argument, and then pass the value to the args array in the argument
handling code for the view.&nbsp; I'd be happy to give you a hand with the
code if you need it.<br>
<br>
Steve<br>
</font></font><br>
Shai Gluskin wrote:
<blockquote
 cite="mid:9f68efb70805061139x669a03c2w475f6ed00f508bc5@mail.gmail.com"
 type="cite">Steve and others...<br>
  <br>
Thanks for the response.<br>
  <br>
The version of Panels I'm using (Panels 1 dev from 9/07) doesn't overly
any of its own filtering mechanisms on the View other than:<br>
  <br>
* # of nodes to display<br>
* View arguments<br>
  <br>
That is why I wanted to use and argument like /view_name/front based on
the "promote to front" toggle. I guess I can create another field and
use it as the argument. Though that field is already there and I'd
rather use it.<br>
  <br>
Were you indeed suggest I use the View arguments in Panels
View:configure or am I missing something?<br>
  <br>
Shai<br>
  <br>
  <div class="gmail_quote">On Tue, May 6, 2008 at 11:15 AM, Steve
Edwards &lt;<a moz-do-not-send="true"
 href="mailto:killshot91@comcast.net">killshot91@comcast.net</a>&gt;
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000">
    <font size="-1"><font face="Arial">One option would be to create a
separate CCK field in your content type (radio button, check box,
select list, whatever) that your panels can use for filtering what
should be displayed on the front page, and then that field will be
ignored when the view is used by itself.&nbsp; That will allow you to still
use one view in multiple places.<br>
    <font color="#888888"><br>
Steve<br>
    </font></font></font>
    <div>
    <div class="Wj3C7c"><br>
Shai Gluskin wrote:
    <blockquote type="cite">Is it possible to retain the meaning of
"promote to front
page" when using a panel for a home page?<br>
      <br>
Here is the problem...<br>
      <br>
I use a Panel for the home page and it has several views. Right now I
have the views set to filter on "promoted to front page" as a
requirement for selecting nodes.<br>
      <br>
The problem is that those views meaningfully exist on their own URLs.
On those URL's I want all the nodes to show up based on the other
criteria, but not filter on "promoted to home page." When the web
editor unchecks "promote to front page" for a particular node, those
nodes now disappears from the View as well.<br>
      <br>
The simple answer is to clone the view, make one filter on promote to
front page and the other not. That would turn my four home page views
into 8, ughh.<br>
      <br>
      <b>My idea:</b><br>
Create an argument in the View. But when I click on argument in the
Views UI I <i>don't see</i> what I want to see in the drop down:
node:promoted to front page.<br>
      <br>
I'm running Drupal 5.7 and Views 1.6. I'm using Panels 1 dev version
from 9/07 (will now update that to Panels 1.2 now that I noticed I'm
behind on that one).<br>
      <br>
Any help on the argument idea or other ways to do what I want to do
would be much appreciated.<br>
      <br>
Thanks,<br>
      <br>
Shai<br>
    </blockquote>
    </div>
    </div>
    </div>
    <br>
--<br>
[ Drupal support list | <a moz-do-not-send="true"
 href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a>
]<br>
  </blockquote>
  </div>
  <br>
</blockquote>
</body>
</html>