[SOLVED]CGCalendar problem whenused with News in sidebar
[SOLVED]CGCalendar problem whenused with News in sidebar
I am using the latest CMSMS and CGCalendar add-on modue (full system info below).
When used with a template with News in the left sidebar the latest CGCalendar shows the calendar heading at the top next to the news but then there is blank space before the calendar itself appears below the end of the news items.
Example screenshot attached below
With the older, deprecated version on CGCalendar this does not occur.
Example screenshot attached below.
I have looked at the News template to see if it is too wide, but the calendar header fits ok so this should not be a problem.
I would appreciate any ideas!
Thanks in advance.
Frank
System info:-
----------------------------------------------
Cms Version: 2.0.1.1
Installed Modules:
AdminSearch: 1.0
CMSContentManager: 1.0.1
DesignManager: 1.0.1
FileManager: 1.5.1
MenuManager: 1.50.1
MicroTiny: 2.0
ModuleManager: 2.0
Navigator: 1.0.1
News: 2.50.1
Search: 1.50.1
CGExtensions: 1.49.9
CGSimpleSmarty: 2.0.2
CGCalendar: 1.15.5
Config Information:
php_memory_limit:
max_upload_size: 2000000
url_rewriting: none
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: America/Chicago
permissive_smarty: false
Php Information:
phpversion: 5.5.28
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference:
test_db_timedifference:
memory_limit: 128M
max_execution_time: 30
output_buffering: 4096
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 2M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Performance Information:
allow_browser_cache: Off (False)
browser_cache_expiry: 60
php_opcache: On (True)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
smarty_cache_udt: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.1.68
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No file system time difference found
----------------------------------------------
When used with a template with News in the left sidebar the latest CGCalendar shows the calendar heading at the top next to the news but then there is blank space before the calendar itself appears below the end of the news items.
Example screenshot attached below
With the older, deprecated version on CGCalendar this does not occur.
Example screenshot attached below.
I have looked at the News template to see if it is too wide, but the calendar header fits ok so this should not be a problem.
I would appreciate any ideas!
Thanks in advance.
Frank
System info:-
----------------------------------------------
Cms Version: 2.0.1.1
Installed Modules:
AdminSearch: 1.0
CMSContentManager: 1.0.1
DesignManager: 1.0.1
FileManager: 1.5.1
MenuManager: 1.50.1
MicroTiny: 2.0
ModuleManager: 2.0
Navigator: 1.0.1
News: 2.50.1
Search: 1.50.1
CGExtensions: 1.49.9
CGSimpleSmarty: 2.0.2
CGCalendar: 1.15.5
Config Information:
php_memory_limit:
max_upload_size: 2000000
url_rewriting: none
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: America/Chicago
permissive_smarty: false
Php Information:
phpversion: 5.5.28
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference:
test_db_timedifference:
memory_limit: 128M
max_execution_time: 30
output_buffering: 4096
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 2M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Performance Information:
allow_browser_cache: Off (False)
browser_cache_expiry: 60
php_opcache: On (True)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
smarty_cache_udt: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.1.68
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No file system time difference found
----------------------------------------------
- Attachments
Last edited by frank4360 on Wed Oct 21, 2015 4:46 pm, edited 1 time in total.
Re: CGCalendar problem whenused with News in sidebar
A link to the specific page would be helpful (if public)
Re: CGCalendar problem whenused with News in sidebar
No problem - this is a test site before I move it to the real host.
Old Calendar module:-
http://med-and-mountain.com/adhd/index. ... -and-trips
New calendar module, showing blank space until end of News sidebar:-
http://med-and-mountain.com/adhd/index. ... ort-groups
Any further info required, please ask.
Thanks for your help.
Frank
Old Calendar module:-
http://med-and-mountain.com/adhd/index. ... -and-trips
New calendar module, showing blank space until end of News sidebar:-
http://med-and-mountain.com/adhd/index. ... ort-groups
Any further info required, please ask.
Thanks for your help.
Frank
Re: CGCalendar problem whenused with News in sidebar
I need to move on with the site so I am now going to have to use the deprecated
If anyone can help with the new CGCalendar I will be most grateful.
Frank
Code: Select all
{CGCalendar display=calendar}
Frank
Re: CGCalendar problem whenused with News in sidebar
Looks like a positioning problem, maybe CSS rules added by the new calendar?
Sorry to be this unprecise, but as you changed the display, we can't see the difference anymore, and I haven't installed the new version yet.
Sorry to be this unprecise, but as you changed the display, we can't see the difference anymore, and I haven't installed the new version yet.
Re: CGCalendar problem whenused with News in sidebar
I have put back one page with the call to the latest CGCalendar - you can see it at http://med-and-mountain.com/adhd/index. ... e=calendar
Re: CGCalendar problem whenused with News in sidebar
Are you comfortable with CSS, btw?
Re: CGCalendar problem whenused with News in sidebar
"Comfortable" would be overstating it!!!Tomek wrote: Are you comfortable with CSS, btw?
I am getting to grips with PHP, Smarty, Javascript, Jquery and CSS all at the same time. I did, however, start working as a programmer in 1966 - and ended up running a software house when I retired in 2000. None of this experience is much help in web design matters, though, so I am the new boy here!
I am happy editing CSS, but I am not good at knowing which particular file is to be edited, so all pointers appreciated.
Thanks for your help.
Re: CGCalendar problem whenused with News in sidebar
I was just asking to know if you'd be able to edit the css.
You found the file, didn't you?

You found the file, didn't you?
Re: CGCalendar problem whenused with News in sidebar
Yes, thanks, and I have edited it and it works!!Tomek wrote:
You found the file, didn't you?
I was a little surprised to have to edit the file "/modules/CGCalendar/lib/fullcalendar/fullcalendar.min.css" - also that it was not neatly spaced and laid out, but it must be the required file.
Thanks very much for all your help.
I am now moving on to find out why News items I add return 404 when I click on them..... Hey ho - it keeps me off the streets!!
Thanks again.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: [SOLVED]CGCalendar problem whenused with News in sidebar
Nope. You did it wrong.
You should never edit a distributed file.
The proper place to do this is in the CMSMS stylesheets that are attached to your page template.
You should never edit a distributed file.
The proper place to do this is in the CMSMS stylesheets that are attached to your page template.
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: [SOLVED]CGCalendar problem whenused with News in sidebar
To be more precise: copy the CSS rule in the CSS attached to the template, and add float:right; to it.