Arguments refer to the contextual information taken from a page display available to Drupal core and modules. "Contextual Filters", the new name for arguments in Drupal 7 is a synonym. "Context" is a related term that refers data and conditions from which arguments or Contextual Filters are drawn.

learn more… | top users | synonyms

1
vote
1answer
33 views

Page Arguments Not Getting Passed

My code was working perfectly, but at some point my hook_menu page arguments stopped getting passed. I am using versioning and can revert back to the previous code, but the page arguments are still ...
1
vote
1answer
27 views

How to get entity from transliterated argument in URL?

I have panel, where I have argument: taxonomy term name term names are transliterated (like "My custom taxonomy title" into my-custom-taxonomy-title) path is like this: ...
1
vote
1answer
48 views

Panels “Page not found” when using required wildcard argument

I have a Panel Page, which displays several View Panes. I have specified a term name as an argument in the path settings. This is used to filter the View Panes. When I use an optional argument ...
0
votes
0answers
32 views

How To Add a Content Type Argument To a Taxonomy views

1.I've enabled the default "view Taxonomy term" views 2.in the "view Taxonomy term" made two content pane views one filters "News" content types and the other filters "Events" content types 3.When ...
0
votes
0answers
94 views

Filtering by hierarchical taxonomy in a Panel/View, where children may be tagged under multiple branches

The question: When using 'has taxonomy term (with depth)', is there a way to limit child terms being used for grouping to only those that are descendants of the term/tid being passed as the ...
1
vote
0answers
49 views

File MIME type as argument. - Views

I am trying to create a view, listing nodes with a specific file type. This can be achieved using filters. But I want to do it using views argument. Say the view page's pathe should be ...
0
votes
2answers
19 views

Different format show for pages that have been created with contextual filter

Using view contextual filter and taxonomy term that we can design our site. But how can I customize each page differently. For example my site has three sections such as Product, Learning, Home. I ...
1
vote
1answer
152 views

Using taxonomy hierarchy in Views arguments

I'm building a store with products organized with a hierarchal taxonomy. I'd like the paths for Views showing products to reflect the taxonomy hierarchy. For example, ...
0
votes
1answer
560 views

Use Optional Arguments in a Panels Path

I am porting an existing custom form that takes optional arguments from the URL to preload some fields. I can not use the ?q= method because I must maintain backwards compatibility. For example, both ...
0
votes
0answers
42 views

Using two arguments in a panels page?

Here's what I want to do, for context: I want to go to mysite.com/groups/%gid/%nid and see the node specified by %nid with an OG menu and a header pane that get their context based on the %gid. So if ...
3
votes
1answer
44 views

Page Argument in Title

How can I have the page argument appear in the page title? $items['path/path/%'] = array( 'title' => t('Dynamic Title %1'), 'page callback' => 'pagecallback', ...
1
vote
2answers
259 views

How to create a panel for a argument path

How do you create a panel for a url that looks like product/%nid/title. The Title should be from the node. The node paths have already been setup with pathauto. What i have so far in my panel ...
0
votes
4answers
400 views

Is there a function for drupal that can identity if a certain page and its children are being viewed?

So I have nav that looks like this: <li> <a href="/some-parent-url">Parent Url</> <ul> <li> <a href="/some-parent-url/child-url-2">Child ...
1
vote
1answer
187 views

Panel + views + taxonomy depth problem

following this tutorial I create a Panel Page for the taxonomy term to display all the content related to the taxonomy term and it works. But I need to have in all the nodes related to the taxonomy ...
1
vote
1answer
594 views

Multiple Arguments with Views

I created a views page displaying "full posts" of any content type. Next I gave the page URL to be "test/%" Next I added a contextual filter for Nid Check "Specify validation criteria" below ...
0
votes
2answers
684 views

Entity Reference and nested arguments in Views

My site has 3 nodes: Program, which is a list of Course nodes. Course, which contains basic information about a course you can take Course Date, a specific instance of a Course. Each Course Date ...
0
votes
3answers
2k views

Drupal 7 - Add two menu items with the same path but different query string

On Drupal 7, there is a difficulty adding two or more items to a menu which are having the same URL but a different query string. For example, when I add two similar paths: ...
1
vote
1answer
506 views

FBOauth: how to pass arguments to the callback function?

I am trying to create a facebook event through a drupal content type "event". I call the hook_node_insert() to make a POST on Facebook. function fb_event_create_node_insert($node){ if ...
2
votes
1answer
565 views

Taxonomy-term based block display, using Panels

I'm trying to display certain blocks in taxonomy term pages and the nodes associated based on the taxonomy term itself. Let's say I have 3 taxonomy terms: Bologna, Milan and Rome. When I'm in ...
1
vote
1answer
101 views

How can I setup automatic subpages for existing pages using a view with a contextual filter that uses the URL to determine the filter value?

I have two content types that are being linked via entity references. Area of Expertise [Existing URL: /expertise/specific-area-here] Employee [Desired URL: ...
1
vote
0answers
49 views

Views Select Photos from the album to flag for printing

I have created a Content Type Album and added an image field with the value unlimited. Created a view page which displays all the images added to a node. Now I want that the user can select / flag ...
0
votes
1answer
135 views

Should I use Entity Views Attach module to solve my problem

I've check the question in this node: Is there a good tutorial for " Entity Views Attach module"? And I see that maybe what is answered there is a partial solution to the issue I'm facing. ...
0
votes
1answer
328 views

Node edit page not showing up using page.tpl.php?

I'm working on a new drupal 7 site right now (I'm new to drupal) and currently have given the ability to users to create nodes. The node creation page (url.com/node/add/) works just fine and uses the ...
3
votes
4answers
3k views

drupal_goto(request_uri()) replaces my '?', '=' and '&' in url

I need to redirect user from a page with example.com/node/add/dispo?arg1=1&arg2=2 to the same type of URL. But when I simply do a drupal_goto(request_uri());, it redirects my user to ...
1
vote
0answers
77 views

How do I ensure active menu items are highlighted for Views with Better Exposed Filter arguments

I'm using Better Exposed Filters on a clothing site. There are various types of products listed using Better Exposed Filters (to choose between Mens/Womens/Kids). The Mens and Womens pages are ...
0
votes
1answer
188 views

Alter Views arguments from URL

I'd like to alter Views arguments which is currently Term name. Is there any way to use term name slug instead of complete Term name and use this slug as views argument? If not what hook should I use ...
1
vote
1answer
446 views

Only Show Nodes From Child Terms (-1 excluding parent)

Hello i have some nodes which i am using as to hold information on a taxonomy term (image, desc etc) and I have created some block views to pull that information to display on my taxonomy/term pages ...
1
vote
2answers
280 views

How one can get a field auto loaded with node title by passing nid

How one can get a field auto loaded with node title by passing nid. I mean instead of getting the selectllist of all available title i want it to be auto loaded with corresponding node title. NOTE: ...
1
vote
0answers
309 views

How can I get Views pages with taxonomy arguments display to fire after URL Alias (Path Auto)?

Right now I have a Views page that shows all results of the content type it filters by. If there is a taxonomy argument present (Contextual argument: Taxonomy ID: validate by Name to taxonomy ID) then ...
0
votes
1answer
357 views

Change Pager-ItemsPerPage over URL argument

I use Views to get Nodes in JSON format via REST service. I can switch the pages with http://myside/?q=my/path&page=1 but i want to change the limit of one page like ...
1
vote
1answer
356 views

Im trying to pass an array as an argument in a page callback

I am attempting to pass an array as a page argument in a page callback in one of my modules. The scenario is this: The user selects some photo prints and I'm trying to add all the selected photo ...
1
vote
1answer
126 views

Replacing core forum pages with views throws a warning

I set up views for forum/% paths to replace the core forum pages, and it works fine except I get this error: Notice: Trying to get property of non-object in forum_menu_local_tasks_alter() (line 169 ...
0
votes
1answer
116 views

Access variables populated in one page function for a different page function? Always null

I have a module that creates a simple page. However in the page I want to link to iframes that I will generate in the module code. Currently I have two hook_menu items: one for the simple page (no ...
1
vote
0answers
53 views

Drupal How to use regex or specific keywords as menu arguements

I have a drupal website, in which I wanted to add a new URL. This menu have two arguements which should be passed from the client side. function campaign_management_menu() { $items = array(); ...
1
vote
0answers
107 views

Passing arguments from Panels to Views in Drupal 6

I'm attempting to use The "It's Common Sense" guide to passing arguments from Panels to Views but I'm running into an issue at step 7: At the Configure Panel pane form, make sure you choose "No ...
0
votes
0answers
57 views

Pull variables (search terms) from view to use in custom text field

I have a view that is setup as a search page, which lists venues that are located in different cities. Think yelp-style search. So, if a user searches for Portland, it lists all the venues located in ...
0
votes
1answer
302 views

Passing arguments from Panel to View without url or using contextual filter from panel to field of taxomony term within view

Using Drupal 7, Panels 7.x-3.3, & Views 7.x-3.5. I'm unsure the best way to approach what I'm trying to accomplish. I have taxonomy vocabularies classifying people in my department. One ...
0
votes
1answer
76 views

How to pass arguments based on term filter

I have content type called 'software' and added taxonomy terms to this content type as select list. There are 10 taxonomy terms in that list. And now I have created 10 pages under this 'software' ...
1
vote
0answers
50 views

Complicated Relationships Driven View

Drupal 6: Basically I have two content types connected by the Node Reference module. One is "Questions," the other is "Answers". In the view there are 10 content items under "Questions." When the ...
5
votes
1answer
1k views

Add javascript to multiple specific urls

I'm trying to add some javascript to my template.php file on a Drupal 7 site. I'd like the javascript to load on a specific set of pages, based on the url. For example, I'd like the script to load on: ...
1
vote
0answers
41 views

D7 Views 3.4 Related Items View

Using D7 Views 3.4 and References module.- I have a content type called "Gloves" which has a node reference to a content type called "Glove Type". What I need is to be able to see other gloves from ...
1
vote
1answer
2k views

Use arguments for drupal views 3

How do you structure and use arguments in a view using the Views UI in Views 3
0
votes
1answer
242 views

Return Table and Form in page callback

I have a problem returning table and form in page callback at the same time it only works if one of them only returned. function _table_maps(){ $query = db_select('maps','m'); $result = ...
0
votes
1answer
860 views

drupal_goto argument retrival

I am redirecting my users with the following code: drupal_goto("event/registration/failed", array( 'query' => array('nid'=>$submission->nid, 'sid'=>$submission->sid), ) ...
4
votes
1answer
466 views

How to populate search form with search term in View / Panels / Page?

I've using Views and Page Manager to create a custom search results page. You can see it here: http://quotefail.com/search/node/world The page is being generated by Page Manager. I've got a Search ...
0
votes
2answers
198 views

Page not found return false

Im using a custom query to display some content. This query uses url arguments as MySQL variables. Usually when I create a link with the variables the page does not exist and it returns a 404 error. ...
0
votes
2answers
99 views

How to find out the combinations of Views arguments that have the most Views result

I have a node view with 2 arguments in URL my-view/%1/%2. Both arguments %1 and %2 are Taxonomy Term ID. I would like to make a page that lists the number of the View result per argument combination ...
2
votes
2answers
572 views

Sort View by the order of the arguments

I have a view that receives some arguments from a questionnaire. In the questionnaire I calculate a list of nodes that's sorted by how well they correlate with the questionnaire. Once my view receives ...
0
votes
1answer
362 views

Using Views with GMAP based on arguments

I'm using exposed views filter which displays me result based on arguments, I'm also using GMap. What I am looking for is that I've to display markers on that GMap block based on my filtered output ...
0
votes
1answer
671 views

How to use a hyphen instead of an underscore when using the content type as a Views argument? (Hackable URLs)

I have a classifieds site where I would like to list items at a URL structure like this: classifieds/for-rent/apartments/title-of-my-ad. That structure is broken down like this ...