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
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
#3
Thanks for the reply
Yes the $mypost is true...
Changed
$mypostto$name = 'mypost'and now works fine :)#4