How To Use CGCalendar [Solved]
How To Use CGCalendar [Solved]
I am using CMSMS 1.11.9 thru Virtualmin 4.04Pro on CentOS 6.5, and accessing it thru Firefix 26.0. MySQL is version 5.1.71-1.el6. PHP is version 5.3.3-27.el6_5. Apache is version 2.2.15.
I am trying to use CGCalendar 1.13.3 and have it and CGExtensions 1.38.1 installed without any problems.
However, I cannot figure how to make the calendar appear in a web page. I have added the suggested code of:
{cms_module module="CGCalendar"; action="default"; display="calendar"; use_session="false";}
but nothing shows up but a message:
Not Found
The requested URL was not found on this server.
Any ideas to help me would be appreciated.
Thanks.
I am trying to use CGCalendar 1.13.3 and have it and CGExtensions 1.38.1 installed without any problems.
However, I cannot figure how to make the calendar appear in a web page. I have added the suggested code of:
{cms_module module="CGCalendar"; action="default"; display="calendar"; use_session="false";}
but nothing shows up but a message:
Not Found
The requested URL was not found on this server.
Any ideas to help me would be appreciated.
Thanks.
Last edited by KitchM on Mon Jan 06, 2014 8:44 pm, edited 1 time in total.
-
staartmees
- Power Poster

- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: How To Use CGCalendar
you don't have to specify 'action' and 'use_session' and 'display' as you use the default settings.
Did you put an event in your calendar?
{cms_module module="CGCalendar"} would do the trick.
Did you put an event in your calendar?
{cms_module module="CGCalendar"} would do the trick.
Re: How To Use CGCalendar
Yes, I had one event for this month.
-
staartmees
- Power Poster

- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: How To Use CGCalendar
Also you don't need those ; in your code
Does it work with a simple {cms_module module="CGCalendar"}
Does it work with a simple {cms_module module="CGCalendar"}
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: How To Use CGCalendar
I just tested CGCalendar 1.13.3 in a virgin CMSMS install.
I just called {CGCalendar} in a content page, it worked as expected.
I had absolutely 0 events.
I just called {CGCalendar} in a content page, it worked as expected.
I had absolutely 0 events.
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.
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.
Re: How To Use CGCalendar
You are correct. I now see something by just using {CGCalendar} on the page.
However, it is not well displayed and does not fill the space provided. Please see attachment.
However, it is not well displayed and does not fill the space provided. Please see attachment.
Re: How To Use CGCalendar
BTW, I also noticed that hover-over the event displays nothing and that clicking on it just gives an error message:
Not Found
The requested URL was not found on this server.
Not Found
The requested URL was not found on this server.
Re: How To Use CGCalendar
Okay, I found that after a couple reloads, the page finally allowed the event link to open in a new page to show details. Hover still did nothing. But at least I've got something. Now if I can just have the calendar fill the space and display like a regular calendar, that would be great. 
Re: How To Use CGCalendar
Most modules that generate some sort of content install a sample CSS sheet. You need to link it to the template of the page to see it in effect.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: How To Use CGCalendar
Jo, your English is fine. Actually quite good.
There was a style sheet that was installed with CGCalendar. I manually attached it to the correct template, as it failed to attach to the default one. That it appears in the correct layout seems to indicate that it is correctly done. However, the calendar just isn't the format and size it should be.
I must be missing something else.
There was a style sheet that was installed with CGCalendar. I manually attached it to the correct template, as it failed to attach to the default one. That it appears in the correct layout seems to indicate that it is correctly done. However, the calendar just isn't the format and size it should be.
I must be missing something else.
Re: How To Use CGCalendar
Look in the modules admin for the default template as it may be a table layout with a size call inline...
Re: How To Use CGCalendar
Sorry, but I can't find "modules admin" no matter where I look. Could you please direct me?
Thanks.
Thanks.
Re: How To Use CGCalendar
The CGCalendar modules admin where you add events...
Re: How To Use CGCalendar
Clear cache will fix that probably...KitchM wrote:Sorry, but I can't find "modules admin" no matter where I look. Could you please direct me?
Thanks.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: How To Use CGCalendar
@Dr.CSS, sorry but still can't find a place to change a default template.
@Rolf, where does one clear the cache?
Thanks all.
@Rolf, where does one clear the cache?
Thanks all.



