CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Event Calendar - Extension - Use Public Theme not Civi Admin Theme
Pages: [1]

Author Topic: Event Calendar - Extension - Use Public Theme not Civi Admin Theme  (Read 2086 times)

509tyler

  • I’m new here
  • *
  • Posts: 19
  • Karma: 2
  • CiviCRM version: 4.3.3
  • CMS version: Drupal7
  • MySQL version: 5.1.54
  • PHP version: 5.3.5
Event Calendar - Extension - Use Public Theme not Civi Admin Theme
August 21, 2013, 09:55:28 am
Wow, the new Event Calendar Extension looks very good. See: http://civicrm.org/extensions/event-calendar-extension

I realize this is an "alpha" release, but one issue that has arisen already is that we have in our implementation of CiviCRM are two different themes - one for admin one for public. Presently the extension is defaulting to the CiviCRM admin theme and not the Public theme, but the calendar should use the public theme. I am wondering if there is a work around for this where one could assign the preferred theme in the Calendar settings screen, or a suggestion of how to hack the plugin code to use the Public Theme.

Does anyone know how to reach the plugin author Rohan?

Thanks for this great contrib!

509tyler

  • I’m new here
  • *
  • Posts: 19
  • Karma: 2
  • CiviCRM version: 4.3.3
  • CMS version: Drupal7
  • MySQL version: 5.1.54
  • PHP version: 5.3.5
Re: Event Calendar - Extension - Use Public Theme not Civi Admin Theme
August 21, 2013, 12:54:30 pm
I posted this issue on Git.

https://github.com/osseed/com.osseed.eventcalendar/issues?state=open

509tyler

  • I’m new here
  • *
  • Posts: 19
  • Karma: 2
  • CiviCRM version: 4.3.3
  • CMS version: Drupal7
  • MySQL version: 5.1.54
  • PHP version: 5.3.5
Re: Event Calendar - Extension - Use Public Theme not Civi Admin Theme
September 09, 2013, 10:10:46 am
In case anyone is having the same issue I described above, I was able to correct the Admin theme issue by using the Theme Key Drupal module.
https://drupal.org/project/themekey

I then used the Theme Key rules to override the Admin theme for authenticated users based on the path of the events calendar. I also used Path Auto (pretty standard faire on most Drupal sites: https://drupal.org/project/pathauto) to change the URL of the event calendar to remove the /civicrm from the URL.

Works great!

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Re: Event Calendar - Extension - Use Public Theme not Civi Admin Theme
April 02, 2014, 09:43:39 am
You are a beautiful person - thank you for the direction and for the excellent documentation! (I would have missed that the theme key_compat module needs to be enabled otherwise.)

That the module defaults to the administration theme is most unfortunate; in the meantime, thank you for the workaround!

osarusan

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
  • CiviCRM version: 4.4.2
  • CMS version: Drupal 7.26
  • MySQL version: 5.4.13
  • PHP version: 5.5.31
Re: Event Calendar - Extension - Use Public Theme not Civi Admin Theme
April 22, 2014, 12:28:47 pm
Thanks so much for posting this! I have run into the same exact problem as you, and I even tried to post on Github about it as well.

I'm trying to get it to work the way you have described in your post with ThemeKey, but I am having difficulty. Even though I have set the theme to change based on the drupal path, the theme does not change.

I've gotten the theme to change on other pages using different rules, but for some reason whenever I enter the path for the events calendar, it doesn't have any effect at all. Any ideas?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Event Calendar - Extension - Use Public Theme not Civi Admin Theme

This forum was archived on 2017-11-26.