Closed (fixed)
Project:
Front Page
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2008 at 17:00 UTC
Updated:
24 Nov 2009 at 08:52 UTC
I have a custom block that I created with Calendar2, which I have called "Upcoming Events." I would like to output this using a simple php snippet, but when i call views_get_view, I get an error that says the function is undefined. Am I doing this incorrectly, or is this function not available to Front Page?
Comments
Comment #1
Phillip Mc commentedI don't think this is a front page issue, at least, I can't imagine why a function wouldn't be available just for the front page.
I think you're using the wrong function.
try this instead:
http://views-help.doc.logrus.com/help/views/embed
marking this as won't fix.
Comment #2
okmi commentedusing that function worked - thank you very much for the help. someone mentioned to me that the weight of Front Page vs. that of Views2 could have been an issue. regardless, that snippet worked just fine.
Comment #3
Dublin Drupaller commented