Calendar Event Page Issue

Permalink
Hi there, would anyone know why I'm getting this error?
View:
http://www.nexusexperience.com/index.php?cID=69...

When you click any event, you get sent to a page alike this one:
http://www.nexusexperience.com/index.php?cID=70...

With errors such as:

Warning: View::include(/home/content/j/u/s/justinsl/html/themes/nexus/view.php) [function.View-include]: failed to open stream: No such file or directory in /home/content/j/u/s/justinsl/html/concrete/libraries/view.php on line 736
Warning: View::include() [function.include]: Failed opening '/home/content/j/u/s/justinsl/html/themes/nexus/view.php' for inclusion (include_path='.:/usr/local/php5/lib/php:/home/content/j/u/s/justinsl/html/libraries/3rdparty:/home/content/j/u/s/justinsl/html/concrete/config/../libraries/3rdparty') in /home/content/j/u/s/justinsl/html/concrete/libraries/view.php on line 736


Any ideas why this is happening?
Thanks in advance for any response.
- Chris

 
andrew replied on at Permalink Reply
andrew
In addition to a template for every page type (or just one template, default.php), you also need view.php for your theme to interact with many of the addons in the marketplace. view.php should contain the same types of classes, HTML structure, etc... as default.php, but where the main content of the template is, you should place

<?php
print $innerContent;
?>


Addons like the calendar which ship with their own single pages will place their single page content in the $innerContent variable.

This page may give some more information:

http://www.concrete5.org/help/building_with_concrete5/developers/th...

In short - to get started, copy default.php to view.php, and replace the call to the Main area with the $innerContent print statement above.
DSSUPPORT replied on at Permalink Reply
It worked wonders!
Thanks a lot for the fix =)