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

CommentFileSizeAuthor
#3 Screenshot.png10.88 KBapasaja

Comments

irakli’s picture

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.

irakli’s picture

Status: Active » Fixed
apasaja’s picture

StatusFileSize
new10.88 KB

Thanks for the reply

Yes the $mypost is true...

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

irakli’s picture

Status: Fixed » Closed (fixed)