Skip to main content
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
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
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 not deleted user 7212

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

-1 votes
1 answer
3k views

Use PHP in “Rewrite results” for a field [closed]

with the Views Custom Field module you can use PHP code in the rewriting section. I installed the module, but it consider my custom PHP code HTML (I use <?php ?>). …
Yuseferi's user avatar
  • 22.2k
0 votes
Accepted

get views customfield php value in another field

the correct way to this is add your desire code in value section ,with return it, and in output section use <?php print $vlaue; ?> with this method we can access all pervious variable in curr …
2 votes

How to completely replace a view query?

As the others say you can use hook_views_query_alter in your custom module and this is Sample of using it : function alterform_views_query_alter(&$view, &$query) { switch($view->name) { case ' …
Yuseferi's user avatar
  • 22.2k
0 votes
Accepted

I enabled certain page view (which is a clone of currently working view), but its page link ...

Save the views and then in admin/config/development/performance do clear cache …
Yuseferi's user avatar
  • 22.2k
2 votes

Views: get image-field with global php

I had the same problem and very simple solution for it I found just need in output write print render($data->field_field_artengalerie_term_bild); always my solutions is shortest ;)
Yuseferi's user avatar
  • 22.2k
0 votes

Unix time stamp to date

Install views_php module module, add your field and exclude form display, add another field ,global php field in output write someting like below <?php print format_date($rown->timestamp); ?> fo …
Yuseferi's user avatar
  • 22.2k
4 votes
Accepted

extract a field and the link to content from all nodes

If you want get node of page content type ,you can try another content types $type = "page"; // machine name for Basic Page $nodes = node_load_multiple(array(), array('type' => $type)); $arr=array() …
Yuseferi's user avatar
  • 22.2k
1 vote

How to set up Views PHP filter?

Try return empty($data->_field_data['nid']['entity']->field_poloha_obce_pol['und'][0]);
Yuseferi's user avatar
  • 22.2k
0 votes

How to pass current loged in user id in Drupal view page settings

filter with default value "get default uid from url"(also if you want get logged in user you can get default value from logged in user) then test it in "preview" section. if everything work in your views
Yuseferi's user avatar
  • 22.2k
3 votes

create double view with same url alias for different theme

ok create a menu with hook_menu then with checking condition you want load your views in callback of your menu Something like below /** * Implements hook_menu(). */ function mymodule_menu() { …
Yuseferi's user avatar
  • 22.2k
0 votes
1 answer
26 views

relation users to orders

I know I can create it with the Views module, but when I select user as view type, there is no relation I can use to get their orders. Some users may not have any order. …
Yuseferi's user avatar
  • 22.2k
0 votes
1 answer
197 views

which one has better performance to load views

When I want to print my views block result(or views) in my tpl files,I have several ways, views_embed_view views_get_view module_invoke for block ( I means something like $block = module_invoke('views
Yuseferi's user avatar
  • 22.2k
0 votes

Need to count field specific value in Views

You first create a views to show the list of open or closed task. … create a views with content type "project" remove all field then add a relation on task referenced field ,add title field with consider that you select relation field for it (because we want load task …
Yuseferi's user avatar
  • 22.2k
1 vote
Accepted

Edit values of a select list in a view

I suggest you create a custom module and in hook_form_alter according to your expose filter module form_id get your form element,then you can change the value of your expose filter without change the …
Yuseferi's user avatar
  • 22.2k
3 votes

views_query_alter never called

Maybe reason can be if you use Search API module, in this case hook_search_api_views_query_alter will work instead link 1 link 2 I have the same problem now and after some search find that when sea …
Yuseferi's user avatar
  • 22.2k

1
2 3 4 5
9
15 30 50 per page