Download & Extend

Get views_view_embed() and views preview working

Project:Timeline
Version:master
Component:Configuration
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed

Issue Summary

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

Comments

#1

Version:6.x-1.x-dev» master
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

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

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.

#4

Same thing happening with views_attach and when displaying a view in a block: #794556: Doesn't work with views_attach

nobody click here