DrupalBin
Submit Code
About
Recent Posts
Code
Fix for Fix for Code
Fix for Code
Code
Node type whitelist
an axe coach accessories
coach purses married
Fix for de las ghd alturas
de las ghd alturas
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
hook_views_post_render
D6 Views 2: Limit the total number of items returned by a view *including* items from an attached display
April 28, 2011 - 11:59pm — Anonymous
function
fooballs_views_post_render
(
&
$view
)
{
if
(
$view
-
>
name
==
"test"
)
{
if
(
$view
-
>
current_display
==
"attachment_1"
)
{
$attachment_count
=
count
(
$view
-
>
result
)
;
if
(
$attachment_
attachment display
d6
hook_views_post_render
views 2
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