View insertion not works for me. Can you tell me whats wrong?

apasaja - July 20, 2009 - 11:58
Project:Custom Page
Version:6.x-1.9
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi, I use Custom Page with Drupal 6.12 and Views 2.6

After setup this module, I use this code:
<?php print custompage_region_tile('sidebar_left'); ?>

It works perfectly...

And then I add this code:
<?php print custompage_view_tile( $mypost, $title='The title', $display_id = 'block_1', $arg1, $arg2, $arg3); ?>

And this code give me nothing..

Im not sure about "$arg1, $arg2, $arg3"... removing it also not solving the problem

Can you tell me whats wrong in the codes?

Thanks in advance

#1

irakli - July 20, 2009 - 13:08

Nothing is wrong with the part that you quoted. You should double-check that $mypost has the correct name of the view and that your view is not broken.

#2

irakli - July 20, 2009 - 13:09
Status:active» fixed

#3

apasaja - July 20, 2009 - 15:26

Thanks for the reply

Yes the $mypost is true...

Changed $mypost to $name = 'mypost' and now works fine :)

AttachmentSize
Screenshot.png 10.88 KB

#4

irakli - July 24, 2009 - 05:11
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.