Page 1 of 1

[solved] CGCalendar - default stylesheet gone?

Posted: Tue Dec 08, 2015 11:58 pm
by paulbaker
I'm probably doing something stupid here... ???

In the old days*, when you installed CGCalendar a new stylesheet appeared and adding that to your template(s) was fairly simple: you went in to Layout > Templates, clicked the CSS icon by your template and added the stylesheet to your design.

I was expecting V2 to be similar.

I installed CGCalendar and went in to Design Manager > Stylesheets. I made sure no filter was applied. I was expecting to see the default CGCalendar stylesheet listed there, but it is not.

What am I missing? :-[

* V1.x

----------------------------------------------
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
TinyMCE: 2.9.12
Gallery: 2.0.3
Showtime: 3.4
CGExtensions: 1.50
CGSimpleSmarty: 2.0.2
CGCalendar: 1.15.7

Config Information:
php_memory_limit:
max_upload_size: 32000000
url_rewriting: none
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/London
permissive_smarty: false

Php Information:
phpversion: 5.5.30
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: 120
output_buffering: 4096
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 32M
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: Off (False)
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.5.46
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No file system time difference found

----------------------------------------------

Re: CGCalendar - default stylesheet gone?

Posted: Wed Dec 09, 2015 1:36 am
by calguy1000
CGCalendar doesn't import a stylesheet into 2.0. Though it still does for 1.x

Though I am torn whether or not to do it for 2.0 or not. After all, it is just a sample... and styling a table is pretty easy stuff.

Re: CGCalendar - default stylesheet gone?

Posted: Wed Dec 09, 2015 2:03 am
by paulbaker
Thanks Calguy. I ended up going in to a 1.x site and stealing the default CGCalendar CSS from there.

Personally I find it quicker/easier to hack around with existing CSS rather than create from scratch - mainly as all the important classes etc are there. So my vote would be to import in to V2 also.