[support] newbie views url

John Fletcher net at twoedged.org
Tue May 6 11:50:19 UTC 2008


Brian,

 

In answer to your last question, in Drupal 6.2 a view you create starts with
"default" parameters.  Then you can add various representations to it, such
as "Page" or "Block".   If you add Page, you can set the options for when
the view appears as a page.  One of those options is the URL or Path (not
sure which it's called - but same thing).  If you add a Block, you set
options for when it appears as a block.  There is no URL option here,
because it's not a page.  Kind of makes sense.

 

Most of what you state below is correct... if you define an argument it is
whacked onto the end of the URL/path in order to filter the results further.
eg. define URL as example.com/view1, this add argument "node type".

 

example.com/view1 will display the view

example.com/view1/story will display only nodes of type "story" within that
view.

 

At least that's how I think it works.

 

Regards,

John

 

From: Brian Wolf [mailto:brw314 at hotmail.com] 
Sent: Monday, 5 May 2008 5:29 AM
To: support at drupal.org
Subject: [support] newbie views url

 

hi, 
 
 
i am new to drupal in general. not sure what is meant by path or url in
views jargon. 
 
for example in the help area, they use the words path and url as follows:
 

.   <http://localhost/drupal-6.2/?q=help/views/argument> Arguments, or
additional parameters that dynamically refine the view results, passed as
part of the path. Adding an argument of Node: Type to a node view with a
path of "content", for example, dynamically filters the displayed items by
content type. In this example (shown with Clean URLs enabled), accessing the
view through the path "http://www.example.com/content/page" displays all
posts of the type "page", the path "http://www.example.com/content/story"
displays all posts of the type "story", and "http://www.example.com/content"
displays all posts regardless of type)  
 
 i thought that a "view" generates  a page (or block etc) containing the
list generated
by the filters set in the views adminstration menu. this page will have a
url (path, etc) (??)
 
but the way its defined here, path is an argument passed to "view" to set
the filter (??)
 
could someone explain the diference and in, drupal 6.2, explain where to set
the URL or path in the views administration menu?
 
thx,
brian
 

  _____  

Windows Live SkyDrive lets you share files with faraway friends. Start
sharing.
<http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh
_skydrive_052008> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20080506/321d15f1/attachment.htm 


More information about the support mailing list