Get views_view_embed() and views preview working
sidharth_k - October 16, 2008 - 21:38
| Project: | Timeline |
| Version: | HEAD |
| Component: | Configuration |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Jump to:
Description
Thanks for providing this wonderful module. After banging my head (perhaps I will write a tutorial :-) ) for sometime, I have finally got this to work.
Now I want to take it to the next level. I want to embed the time line in my node template.
In node-tracker.tpl.php I have written (tracker is some cck type I'm theming).
<?php print(views_embed_view('tracker_timeline', 'page', arg(1))); ?>
Unfortunately this does not work!
I have even tried to use CCK Viewfield to embed the view.
How do I get this to work from my tpl file?
Thanks,
Sidharth

#1
This is an overall Drupal issue discussed here: #469242
Looks like we are going to be able to fix this in the D7 version. Sorry you'll have to wait till then.
#2
the timeline is not showing up because the javascript libraries aren't getting included from inside of the page rendering.
#3
This is actually not a bug of the timeline module. I'm changing this to a feature request that should be implementable with D7.