Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 190

The Views module allows creating lists of content with a flexible query builder.

1
vote
You should use the first option, but with a slight alteration. If you use the base url when you create a link using override - views will render the link using the Drupal APIs and the the link will …
answered Aug 18 '12 by googletorp
0
votes
You have to be a bit more concrete when you ask for how to theme a view. One thing to note is that views help you with template suggestions (names for templates) which is one of the most common and … easiest ways to alter the output of Views. Pagination can be setup from within the interfacer. There is a pager link you can click on to set that up, if you look around a bit I'm sure you'll find it. The location depends on the Views version you use. …
answered Aug 8 '11 by googletorp
0
votes
Modules sometimes have dependencies on other modules. The Views module is one of the most used modules in all of Drupal that isn't a part of Drupal core. Generally you can find your missing modules … by going to http://drupal.org/project/[name]. This is not always true as some modules is not a single module but multiple modules. Views is one of those modules, that has a core module called Views, and an UI module called Views UI which is used to create the interface for setting up views. …
answered Jul 4 '11 by googletorp
1
vote
Views haven't supplied an easy way of doing this, but it is possible. To do this you would have to create your own handler and make views use that: 1. Creating own handler class custom_handler … specify with hook_views_api, and add the file as include in the .info file (Look at the views module for reference). For the module_name_views_data_alter you need to replace module_name, with the name of your module. Clear cache. …
answered May 30 '11 by googletorp
1
vote
You can extract the tid used in the view in a preprocess hook, and use it to get the description and render it where you want. Another solution would be to create an area handler that displays the de …
answered Jun 6 '11 by googletorp
5
votes
You can in views rewrite the result of any field, or trim most fields, but if there is some logic to what you want to remove you would need to do with with a preprocess hook in your theme. In this …
answered Feb 17 '12 by googletorp
3
votes
The best place to find documentation for these things is actually the code in the views module. If you look at node_views_data function you can see an example of creating a relationship from a … can use the built in handler from views. So in code you would need to do something like this: $data['youtube_video']['vid'] = array( 'relationship' => array( 'handler …
answered Jul 23 '14 by googletorp
1
vote
Views doesn't have any built in way of creating an exposed filter like you explain, which means that you either need to create this functionality yourself for Views - which is very hard unless you … have messed with Views APIs. The other option is to create this functionality in a custom module which a lot easier but also quite time consuming, so you will have to code it all in a custom module. As …
answered Apr 16 '12 by googletorp
4
votes
A simple solution would be to add a field that only had the first letter and group by that. Views also supports doing glossary, which is a but different, but allows you to group by the first letter … and count the number of results and show fx A(2) B(2) C(0), as an exposed filter, this is done through contexts in views 3. …
answered Jan 26 '12 by googletorp
0
votes
A problem in your code is that you are missing return $data; You also need to define the base for the table: $data['attendance_percentage']['table']['base'] = array( 'title' => t('Attendance'), …
answered Mar 6 '12 by googletorp
2
votes
Instead of trying to compare the result of two views and find the difference, which is highly inefficient and difficult, it will be a lot easier to create a new view that filters out the users that …
answered May 31 '11 by googletorp
2
votes
<?php print arg(1); ?> See: arg Arg can be used to get the url arguments. It's 0 indexed, so 0 will give the first url argument. Notice, when using url aliases that arg will bring the internal url …
answered Jun 29 '11 by googletorp
1
vote
Most likely views is doing an entity load, to get the node and all of it's fields. You could do the same, for nodes you can do node_load($nid). …
answered Jun 6 '11 by googletorp
5
votes
Say you have a node with a taxonomy term, then a normal list would look like this Title: A, Term 1 Title: B, Term 2 Title: C, Term 1 Title: D, Term 3 Title: E, Term 2 Title: F, Term 1 Title: G, Term …
answered Feb 16 '12 by googletorp
1
vote
It depends on where the exposed filter is coming from. My guess is that on render, the value is escaped twice, one for the label and once for the form itself. Without more info it's not really possibl …
answered Mar 12 '12 by googletorp

15 30 50 per page