Calender detail view in the body

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
ealodder

Calender detail view in the body

Post by ealodder »

Hi!
I've installed the Calender module and i placed the little calender (month view) in the menubar on the rightsite of my site.
So this overview calender is seen at every page.

But when you click on a item to be viewed the item is showed at the same place as the little calender. I want it have it's own page in the body. (like the news module) And that the little (overview) calender below the menubar doesn't change.

Image (littelcalender on the right)
Image(kalender item to be viewed)

The link to my site is http://www.svenlodder.nl/index.php

Please can some-one help me!
Thanxx
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Calender detail view in the body

Post by calguy1000 »

add the inline='0' parameter to your calendar tag.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
ealodder

Re: Calender detail view in the body

Post by ealodder »

Thanx for your quick reply!

But that is not what I ment. Maybe I wasn't clear enough of what I want.

I've got the little calender (the first picture) on the rightsite of all pages. When i click on a item link (29 maart Sven 1). The details are shown at the place where the little calender was. (on the right) But I want them to appear in the body. (Like when you click on a news item) and i want the little calender on the right not to be changed.

I think i have to change something in the code of the "Calender Template"
p.s. i use CMS Made Simple 1.0.4 "Lanai" and i'm talking about the module Calender 0.7.7
Last edited by ealodder on Fri Mar 09, 2007 2:57 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Calender detail view in the body

Post by RonnyK »

I would try the
detailpage="pagealias" Page to display Calendar event details in. This can either be a page alias or an id. Used to allow details to be displayed in a different template from the summary. Default is current page. (optional)
as seen in the help of the module. As the inline parameter makes the details go in the content-page, the current title remians there. With the detailpage-parameter, you can direct the calendar to open on a given page that you have created. I use detailpage, where I create a name, but on the options-tab I uncheck "show in menu". This way you don't see the content-page in the menu, but you can have a content-title by choice instead of the title of the page that was open at the moment the calendar detail was pushed.

Ronny
ealodder

Re: Calender detail view in the body

Post by ealodder »

Thanx to you Both.

I solved the problem with the parameter
inline='0'
So it seems I didn't understand your reply Calguy  :-\. I was working in the Calender Template... But i had to work in the Default (main) template of my site. And change the parameter there.

Unfortunaly the
detailpage='Kalender'
parameter doesn't work it reply's
Call to a member function on a non-object
  ?? So the titel of the page is wrong.

My code now is 

Code: Select all

<!--start calender-->
      <div id="news">
         <h2>Agenda</h2>
           {cms_module module="Calendar" inline='0'}
        </div>
      <!--end calender-->
in the main template of my site.
Thanx EAL
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Calender detail view in the body

Post by RonnyK »

EAL,

when you use a detailpage, you must have created it as a content-page. So in your example you should create a page called "Kalender". You can insert a to have any content (you can't create empty pages). If you uncheck "show in menu", it won't be visible in the menu, but it must be active, otherwise you can't use the page. If you have done this, you can call the page or any other existing page as a detail-page.

Ronny
ealodder

Re: Calender detail view in the body

Post by ealodder »

Solved completely!!

I i thought i went insane.. Till I read this Thread http://forum.cmsmadesimple.org/index.php/topic,9068.0.html it seems the detailpage parameter was broken in the calender version i used (0.7.7) I updated my calender to version 0.7.8 And both the parameter worked.

Thanx and

Greetz Edwin
Locked

Return to “CMSMS Core”