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
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

xamanu - August 18, 2009 - 22:09
Version:6.x-1.x-dev» HEAD
Status:active» postponed

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

xamanu - August 18, 2009 - 22:12
Title:How do I embed a timeline in a .tpl file?» views_view_embed() and views preview aren't including libraries files
Category:support request» bug report

the timeline is not showing up because the javascript libraries aren't getting included from inside of the page rendering.

#3

xamanu - October 7, 2009 - 18:04
Title:views_view_embed() and views preview aren't including libraries files» Get views_view_embed() and views preview working
Category:bug report» feature request

This is actually not a bug of the timeline module. I'm changing this to a feature request that should be implementable with D7.

 
 

Drupal is a registered trademark of Dries Buytaert.