I've attached a pic of how the MySite content looks on a Drupal site with the default style selected, and I have a pic for the default style too. They look nothing alike.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

agentrickard’s picture

You have a CSS conflict somewhere.

Are you using a default Drupal theme, like Garland?

stevemagruder’s picture

A customized theme is being used. What kinds of things should I check for to determine a conflict? Could it be just issues in style.css?

agentrickard’s picture

Category: bug » support

Most likely it is that the #mysite div id is not being inserted into the page output. This might also account for the 'missing add content' links issue.

My advice is to try it in Garland, and then compare the Garland HTML output to your custom theme's output.

Also make sure that the CSS files are being loaded properly. That could also be an issue.

stevemagruder’s picture

Thanks for the advice. Very appreciated!

stevemagruder’s picture

It turns out there was significant differences in what page.tpl.php printed in the center area. The page.tpl.php in our custom theme left out a lot of that (probably for a good reason by a previous developer), but I created a custom page-mysite.tpl.php to incorporate back what was needed to fix both of these problems.

Before: if ($messages): print $messages; endif;

I added back:

if ($mission): print '<div id="mission">'. $mission .'</div>'; endif;

if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif;
if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif;
if ($tabs): print $tabs .'</div>'; endif;

if (isset($tabs2)): print $tabs2; endif;

if ($help): print $help; endif;

and After: echo $content;

I added back:

print $feed_icons

Thanks again for the suggestions!

agentrickard’s picture

Status: Active » Closed (fixed)

Custom themes often do things like that. I was afraid the old coder had left out print $styles; which would have meant no stylesheet loading.

Module developers almost always test against Garland, so if things disappear from your page, try switching themes. The problem is that modules have to dump their data into $content most of the time.