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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Disable left sidebar on frontend in standalone
Pages: [1]

Author Topic: Disable left sidebar on frontend in standalone  (Read 822 times)

kammac

  • Guest
Disable left sidebar on frontend in standalone
October 20, 2009, 08:23:23 pm
Is there anyway to disable the left sidebar on the standalone contribution page without using the snippet code?

I can edit main.tpl, but that obviously doesn't impact the left sidebar.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Disable left sidebar on frontend in standalone
October 20, 2009, 08:45:31 pm

u will need to modify the code at:

CRM/Core/Invoke.php, line 90 (CRM_Core_Standalone::sidebarLeft( );)

to disable the sidebar for certain urls. you can also do it in the sidebarLeft function similar to joomla (CRM/Core/Joomla.php, line 53)

however standalone does not have the frontend/backend concept like joomla

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

kammac

  • Guest
Re: Disable left sidebar on frontend in standalone
October 20, 2009, 09:00:31 pm
thanks. since the invoke edit removed the left sidebar on the backend as well, i thought there might be a workaround. Thanks for your help

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Disable left sidebar on frontend in standalone

This forum was archived on 2017-11-26.