[SOLVED] CGCalendar and Calendar Template disappearing
Posted: Tue Jan 25, 2011 6:17 pm
Hello All,
I am upgrading a website to use the CGCal and having issues ... I've got 1.9.2 installed and CGCal 1.5.6
The page comes up just fine when I use a template that has 1 column for the nav / news on the left.
When I attempt to use the standard Calendar template from the list ... the content section within the page edit area completely disappears ... despite the fact that I am leaving it as a content item.
What I want: I want to use the template where only the calendar shows up on that page ... with a back to home button and that's it -- which is what I believe the Calendar template is, but it is not working correctly within the page content section.
And yes, within my calandar template I do have this in there:
{* Start Content (Navigation and Content columns) *}
<div id="content">
{* Start Content Area *}
<div id="main-calendar">
<div style="float: right;">{print showbutton=true script=true}</div>
<h2>{title}</h2>
<p><a href="http://www.graceofav.org/index.php">Back to Home</a> </p>
{cms_module module="CGCalendar" display='calendar' first_day_of_week=0 use_session='true'}
<p><a href="http://www.graceofav.org/index.php">Back to Home</a> </p>
{* Start relational links *}
<div class="hr"></div>
<div class="right49">
<p>{anchor anchor='main' text='^ Top'}</p>
</div>
<div class="left49">
<p>{cms_selflink dir="previous" label="Previous page: "} <br />
{cms_selflink dir="next"}</p>
</div>
{* The label parameter doesn't need to be there if you're using English, but is here to show how it's used if you don't want the English text "Previous page" *}
{* End relational links *}
<hr class="accessibility" />
</div>
{* End Content Area *}
Any ideas or help?
TIA
I am upgrading a website to use the CGCal and having issues ... I've got 1.9.2 installed and CGCal 1.5.6
The page comes up just fine when I use a template that has 1 column for the nav / news on the left.
When I attempt to use the standard Calendar template from the list ... the content section within the page edit area completely disappears ... despite the fact that I am leaving it as a content item.
What I want: I want to use the template where only the calendar shows up on that page ... with a back to home button and that's it -- which is what I believe the Calendar template is, but it is not working correctly within the page content section.
And yes, within my calandar template I do have this in there:
{* Start Content (Navigation and Content columns) *}
<div id="content">
{* Start Content Area *}
<div id="main-calendar">
<div style="float: right;">{print showbutton=true script=true}</div>
<h2>{title}</h2>
<p><a href="http://www.graceofav.org/index.php">Back to Home</a> </p>
{cms_module module="CGCalendar" display='calendar' first_day_of_week=0 use_session='true'}
<p><a href="http://www.graceofav.org/index.php">Back to Home</a> </p>
{* Start relational links *}
<div class="hr"></div>
<div class="right49">
<p>{anchor anchor='main' text='^ Top'}</p>
</div>
<div class="left49">
<p>{cms_selflink dir="previous" label="Previous page: "} <br />
{cms_selflink dir="next"}</p>
</div>
{* The label parameter doesn't need to be there if you're using English, but is here to show how it's used if you don't want the English text "Previous page" *}
{* End relational links *}
<hr class="accessibility" />
</div>
{* End Content Area *}
Any ideas or help?
TIA