Page 1 of 1
Calendar 0.7.3 issues URGEN!
Posted: Tue Oct 03, 2006 5:06 pm
by newagekat
Hello:
I had taged this post to my previous post
http://forum.cmsmadesimple.org/index.ph ... 121.0.html, but realized it is best handled seperately.
I'm using CMSMS v1.0.2 on linux server running PHP v4.3.11, MySQL v4.0.25-standard, and Apache v1.3.33 (Unix).
We're working on a job posting site
http://www.globalsolutionscanada.com/index.php
I have finally downloaded and installed Calendar 0.7.3 (NOTE: is usefull to change the downloadable packet to the size of the files - for those like me that did not clue in

)
Two problems:
- How do I get the More... link in upcoming list on the left to open on the content side of the page? Currently not working.
- Why is the Calendar prev/next navigation not working? and where can I fix this.
Anyone????
thank you
Karima
Re: Calendar 0.7.3 issues URGEN!
Posted: Wed Oct 04, 2006 10:54 pm
by Dr.CSS
I'm thinking it has some thing to do with the base href missing in the header and your links are pointing to a strange date, 66?
http://globalsolutionscanada.com/calendar/2006/9/66/
Re: Calendar 0.7.3 issues URGEN!
Posted: Wed Oct 04, 2006 11:50 pm
by newagekat
Thank for the reply, Mark. I tried adding the base href, but that did not help. could this have anything to do with possible changes in the calendar templates? if so, can I email you what I have?
I don't wish to infringe on your time, but this project is near critical. I need an answer. If for any reason you cannot help, can you point me in a direction?
I can be reached on AIM.
thanks again.
Re: Calendar 0.7.3 issues URGEN!
Posted: Thu Oct 05, 2006 12:41 am
by calguy1000
uhm.... in the Calendar's module help
inline : Set to 0 to set all of the event links to inlined mode (they will replace the page content). Default is 1. (optional)
so {cms_module module=Calendar inline=0 ...} should do the trick for you
Re: Calendar 0.7.3 issues URGEN!
Posted: Thu Oct 05, 2006 1:19 am
by newagekat
Hello Callguy:
in the calendar template, I had changed the following:
Code: Select all
{strip}
<table class="calendar" id="{$table_id}">
{if $compact_view neq 1}
<caption class="calendar-month"><span class="calendar-prev"><a href="{$navigation.prev}">«</a></span> {$month_names[$month]} {$year} <span class="calendar-next"><a href="{$navigation.next}">»</a></span></caption>
{/if}
to
Code: Select all
{strip}
<table class="calendar" id="{$table_id}">
{if $compact_view neq 0}
<caption class="calendar-month"><span class="calendar-prev"><a href="{$navigation.prev}">«</a></span> {$month_names[$month]} {$year} <span class="calendar-next"><a href="{$navigation.next}">»</a></span></caption>
{else}
<h2 class="calendar-month" align="center"><span class="calendar-prev"><a href="{$navigation.prev}">«</a>{$month_names[$month]} {$year} <span class="calendar-next"><a href="{$navigation.next}">»</a></span></h2>
{/if}
because it was not allowing me to style the calendar month the way I wanted.
The problem I'm haveing are twofold:
- the Navs on either side of the MONTH point to the right month, but don't actually change the calendar and displays the correct month
- the MORE link in the upcoming events in the left column does not load in the event detail in the content section.
the second is not crucial, but a non-navigational calendar, now that's weird. Also, anyone can explain the strange 66 at the end of the date in the link?
I seriously need help.
Re: Calendar 0.7.3 issues URGEN!
Posted: Thu Oct 05, 2006 2:08 am
by calguy1000
Check out this url:
http://svr.techcom.dyndns.org/cms_test/svn/index.php
Do it quickly, this is my test site, and I fool around often
the calendar has not been styled, but it's displayed in a non default content block. Clicking on a calendar entry changes the content in the top (the default content block).
All I used was:
Code: Select all
{cms_module module=Calendar display=calendar inline=0}
Re: Calendar 0.7.3 issues URGEN!
Posted: Thu Oct 05, 2006 3:41 am
by newagekat
hey callguy
that's pretty much my content block too, except that I included the table id.
your's seems to be showing in compact form.
canadian site? where abouts? I'm in vancouver.
I want to use the big calendar at this time. If you have some time, wouldn't mind some help debugging, please????
I can't believe i said that. sorry, tired.
Re: Calendar 0.7.3 issues URGEN!
Posted: Thu Oct 05, 2006 9:08 am
by Dr.CSS
If you change the line back to this {if $compact_view neq 1} and copy the default CSS in the help and rename all the #big to #c-col then you will have it styled default and you can change it from there.
The side bar has a calendar table id=big that is why I suggest remaking a new CSS leaving the current one in place.
It appears you have duplicate CSS attached to this template...
Re: Calendar 0.7.3 issues URGEN!
Posted: Thu Oct 05, 2006 6:03 pm
by newagekat
Mark:
thanks. I tried what you suggested and nadda, zip, ...
- I removed all calendar codes from the template for events.
- I detached the style sheet from the template
- I uninstalled and removed the calendar.
- I cleared cache in global settings and in my browser
- i did a clean install and set permissions
- in the appropriate TEMPLATE, I placed {content} in the so that I can add text here as well.
- in the EVENT page, I added text and {cms_module name="calendar" table_id="big"}
- I copied and pasted the default css in a new stylesheet and attached the stylesheet to the event template
I now get a blank page.
So I thought maybe the cms_module cannot be called this way. I edited the TEMPLATE by adding {cms_module name="calendar" table_id="big"} below {content} and removed the cms_module tag from the EVENT page.
Take a look, still nothing
http://globalsolutionscanada.com/events/.
I have always been pretty resourcefull, but I must admit, I don't get it. Can someone from the dev team take a crack. I'm willing to give you access. i can be reached using IM or by email. I would be willing to pay a seasoned coder to find and fix the problem.
Please, this is very urgent.
Thank you.
KP
Re: Calendar 0.7.3 issues URGEN!
Posted: Thu Oct 05, 2006 6:25 pm
by newagekat
Moderators:
I have resubmitted this post to the General Help section. I just realized it's in the wrong place. sorry for the inconvenience.