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) »
  • HTML 'content' id overlaps with id from Joomla template
Pages: [1]

Author Topic: HTML 'content' id overlaps with id from Joomla template  (Read 1229 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
HTML 'content' id overlaps with id from Joomla template
November 06, 2009, 09:41:00 pm
I am having an issue with an id used in the CiviCRM-generated HTML matching with an id that is also used in the Joomla template. This is causing very funky layouts for CiviCRM pages in the front-end.  I would like to change the following HTML generated by CiviCRM:

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/js/Common.js"></script>
<table border="0" cellpadding="0" cellspacing="0" id="content">

to

<table border="0" cellpadding="0" cellspacing="0" id="civicrm_content">

Which CiviCRM tpl file do I need to edit?  I turned on debugging, but I still can't tell which file I should edit.
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

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: HTML 'content' id overlaps with id from Joomla template
November 07, 2009, 07:31:44 am

CRM/common/joomla.tpl

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

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: HTML 'content' id overlaps with id from Joomla template
November 07, 2009, 05:56:32 pm
I've committed a change for both upcoming 3.0.3 and 3.1 releases:
http://issues.civicrm.org/jira/browse/CRM-5361

I've used id="crm-content" since that is more consistent with our other conventions (crm-container, etc.).
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • HTML 'content' id overlaps with id from Joomla template

This forum was archived on 2017-11-26.