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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Location of crm-container div template file
Pages: [1]

Author Topic: Location of crm-container div template file  (Read 429 times)

teja-amil

  • I post occasionally
  • **
  • Posts: 38
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Joomla! 3.2
  • MySQL version: 4
  • PHP version: 5
Location of crm-container div template file
June 08, 2014, 02:52:27 am
Hi

I am trying out Bootstrap integration with CiviCRM. For this, I need to wrap crm-container div in another container. I have been unable to locate the template file containing this div. Where can I find this? Also, is there some documentation on location of various base classes? I am able to locate specific template files from viewing source though.

Thanks

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Location of crm-container div template file
June 11, 2014, 11:36:23 am
It sounds to me like you are not using an IDE, or else you don't know how to use the one you have. If I were you I would start there. A proper IDE (I use PHPStorm but there are also free ones that are good) will literally save you weeks of time getting up to speed with a complex project like CiviCRM.

For example, to answer your question: PHPStorm allows me to click through the class hierarchy in CiviCRM and instantly find any class by typing a few letters of its name. Locating the template file you mentioned (actually there are 10 of them: drupal.tpl, drupal6.tpl, wordpress.tpl, print.tpl, etc.) I was able to do in about 5 seconds using the IDE's fine-grained search functionality.
Try asking your question on the new CiviCRM help site.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Location of crm-container div template file
June 11, 2014, 05:18:27 pm
PHPstorm is $29 for students.

Eclipse is free - but I the learning curve is steeper for eclipse. I know phpstorm has bootstrap plugins - although I haven't tried them
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Location of crm-container div template file

This forum was archived on 2017-11-26.