DrupalBin
Submit Code
About
Recent Posts
Fix for Views cumulus: tag_cloud
Fix for Code
sjfgjgjfgidfgh
Code
Code
test.berniecram.com.alias.drushrc.php
Code
provision-deploy error
Create node programmatically with file
Code
more
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Log in using OpenID
Cancel OpenID login
Create new account
Request new password
Tags
CCK
drupal
fapi
jquery
menu
module
php
simpletest
taxonomy
test
theme
views
more tags
Home
views
Get theme path for use inside views global text fields
February 5, 2012 - 12:14am — Anonymous
function
hook_views_pre_view
(
&
$view
,
&
$display_id
)
{
if
(
$view
-
>
name
==
'news'
&&
$display_id
==
'page'
)
{
$opts
=
$view
-
>
get_item
(
$display_id
,
'field'
,
'nothing'
)
;
$opts
[
'alter'
]
[
'tex
views
Read more
Views, allow to disable grouping on a per "field" base.
January 25, 2012 - 4:03pm —
das-peter
diff --git a/modules/field/views_handler_field_field.inc b/modules/field/views_handler_field_field.inc
index
26c54
fc..1bd021a 100644
--- a/modules/field/views_handler_field_field.inc
+++ b/modules/
views
Read more
Title enable is assumed: after importing
December 30, 2011 - 10:09am — Anonymous
$view
=
new
view;
$view
-
>
name
=
'clone'
;
$view
-
>
description
=
'Newest group members.'
;
$view
-
>
tag
=
'og'
;
$view
-
>
base_table
=
'users'
;
$view
-
>
human_name
=
'Clone of OG members'
;
$view
-
>
core
=
0
;
views
Read more
Title enable is assumed: before importing
December 30, 2011 - 10:08am — Anonymous
$view
=
new
view;
$view
-
>
name
=
'clone_of_og_members'
;
$view
-
>
description
=
'Newest group members.'
;
$view
-
>
tag
=
'og'
;
$view
-
>
base_table
=
'users'
;
$view
-
>
human_name
=
'Clone of OG members'
;
$v
views
Read more
Views contextual filter title override changes are not noticed by features
December 30, 2011 - 9:45am — Anonymous
<?php
/**
* @file
* clone.views_default.inc
*/
/**
* Implements hook_views_default_views().
*/
function
clone_views_default_views
(
)
{
$export
=
array
(
)
;
$view
=
new
view;
$vi
views
Read more
How to embed a view in a node template in Drupal 6, Views 2
December 7, 2011 - 3:21pm — Anonymous
<?php
// *Note -- it seems only the default view is available with this method, not various pages you may have
// in that view.
embed in template
views
Read more
Changing a configured Views argument's behaviour pre-execution.
December 2, 2011 - 3:39am — Anonymous
<?php
...
if
(
$view
= views_get_view
(
$displays
[
$id
]
[
'settings'
]
[
'view_name'
]
)
)
{
$display
=
$displays
[
$id
]
[
'settings'
]
[
'view_display'
]
;
$info
= entity_get_info
(
$view
-
>
base_table
)
;
$arg_key
drupal 7
views
Read more
First draft of block (views 3, D7) showing child terms and description based on parent taxonomy id url
November 10, 2011 - 9:20am — Anonymous
$view
=
new
view;
$view
-
>
name
=
'tienda_categorias'
;
$view
-
>
description
=
'Muestra las categorias de la tienda'
;
$view
-
>
tag
=
'default'
;
$view
-
>
base_table
=
'taxonomy_term_data'
;
$view
-
>
human_nam
views
Read more
Fix for Views Location + Content profile + Image Field
November 10, 2011 - 7:28am — Anonymous
$view
=
new
view;
$view
-
>
name
=
'Locative_Information'
;
$view
-
>
description
=
'This view creates a Closest_Houses block on user profile which geocalizes user
\'
s profile address'
;
$view
-
>
tag
=
''
;
$
content profile
image field
location
views
Read more
Views Location + Content profile + Image Field
November 10, 2011 - 7:26am — Anonymous
$view
=
new
view;
$view
-
>
name
=
'Locative_Information'
;
$view
-
>
description
=
'This view creates a Closest_Houses block on user profile which geocalizes user
\'
s profile address'
;
$view
-
>
tag
=
''
;
$
content profile
image field
location
views
Read more
1
2
3
4
5
6
7
8
9
…
next ›
last »