DrupalBin
Submit Code
About
Recent Posts
TwitterFeed for D4D review
text
rewrite
Module to overrule the save settings of the "new node" form
Code
apidoc
Empty DateTime Object
Fix for listcars_manufacturer.module
listcars_manufacturer.info
listcars_manufacturer.module
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
test
theme
user
views
more tags
Home
views
views issue
August 9, 2010 - 11:18am — Anonymous
SELECT
node
.
nid
AS
nid
FROM
node node
INNER
JOIN
content_type_year_type node_data_field_month_1
ON
node
.
vid
=
node_data_field_month_1
.
vid
WHERE
(
node
.
STATUS
<>
0
)
AND
(
node
.
type
IN
(
'year_type'
views
Read more
I used hook_views_post_render to change the output of a view, I just want to be sure that i didn't do it wrong
August 5, 2010 - 10:05am — Anonymous
function
royalty_views_post_render
(
&
$view
,
&
$output
,
&
$cache
)
{
if
(
$view
-
>
name
=
'product_list'
)
{
$output
=
''
;
//$cache ='';
if
(
$view
-
>
style_plugin
-
>
rendered_fields
)
{
foreach
(
$view
-
>
s
hook_views_post_render
views
Read more
I used hook_views_post_render to change the output of a view, I just want to be sure that i didn't do it wrong
August 5, 2010 - 10:04am — Anonymous
function
myview_views_post_render
(
&
$view
,
&
$output
,
&
$cache
)
{
//dvm($cache);
if
(
$view
-
>
name
=
'product_list'
)
{
dpm
(
$view
)
;
//There is a link per image
$output
=
''
;
//$cache ='';
i
hook_views_post_render
views
Read more
Get an unaliased views row object for views for views_view_field preprocess functions
August 2, 2010 - 6:26pm — Anonymous
/**
* Returns a view row object in which the property names are unaliased.
*
* This facilitates accessing properties from theme hooks when the
* field_alias is arbitrary unknown, or just non-t
Convenience
Drupal 6
preprocess
preprocess function
theming
views
views 2
Read more
A basic view for mrchrisadams
July 25, 2010 - 7:07pm — Anonymous
$view
=
new
view;
$view
-
>
name
=
'mrchrisadams'
;
$view
-
>
description
=
''
;
$view
-
>
tag
=
''
;
$view
-
>
view_php
=
''
;
$view
-
>
base_table
=
'node'
;
$view
-
>
is_cacheable
=
FALSE
;
$view
-
>
api_version
=
2
;
views
Read more
im trying to add this view to views. its provided by cooolzine theme from themeforest. but i cant import. keep getting error.
July 23, 2010 - 7:05pm — Anonymous
$view
=
new
view;
$view
-
>
name
=
'front_tops'
;
$view
-
>
description
=
'Frontpage view'
;
$view
-
>
tag
=
'default'
;
$view
-
>
view_php
=
''
;
$view
-
>
base_table
=
'node'
;
$view
-
>
is_cacheable
=
FALSE
;
$view
cooolzine
import
import error
views
Read more
Embedding views exposed widgets within a form
July 22, 2010 - 4:08pm — Anonymous
function
nrembrowser_build_view
(
&
$options
)
{
// Do lots of stuff here...
// Display any exposed filters, but only if called for by the view.
if
(
$view
-
>
exposed_widgets
)
{
// Attempted t
views
Read more
view_unless_empty()
July 20, 2010 - 3:18pm — Anonymous
// wraps Views' rendering functions to only show view when it has content
function
view_unless_empty
(
$view_name
,
$display
,
$title
,
$args
=
array
(
)
)
{
if
(
$view
= views_get_view
(
$view_name
)
)
{
views
Read more
Fix for Twitter-like paging
July 15, 2010 - 8:12am — Anonymous
function
joblist_views_mini_pager
(
$tags
=
array
(
)
,
$limit
= 10,
$element
= 0,
$parameters
=
array
(
)
,
$quantity
= 9
)
{
global
$pager_page_array
,
$pager_total
;
// Calculate various markers withi
pager
theme
views
Read more
Fix for Fix for views de catalogo de produtos
July 4, 2010 - 10:12am — Anonymous
$view
=
new
view;
$view
-
>
name
=
'produtos'
;
$view
-
>
description
=
''
;
$view
-
>
tag
=
''
;
$view
-
>
view_php
=
''
;
$view
-
>
base_table
=
'node'
;
$view
-
>
is_cacheable
=
FALSE
;
$view
-
>
api_version
=
2
;
$vi
produtos
ubercart
views
Read more
1
2
3
4
5
6
7
8
9
…
next ›
last »