- cphill
Has anyone been using the new ASU drupal theme? If yes, has anyone run into any problems using it?
I added the 'event module' and placed a calendar view block in the right column and it only seems to be viewing correctly in the admin role. When I log out and view the site (using firefox on a PC) it seems to get pushed (squished) to the right by the center content.
It seems IE7 (PC) has the opposite effect of squishing the center content and expanding the right column (calendar).
Here are some screenshots:
My department is using Drupal version 5 and have come across a few minor display bugs. ASU has a Drupal consultant to whom issues can be forwared. I'm not sure if it's OK to post his email here so contact me via offline if you want. The issues I have reported with our instance are:
cheers,
Cameron
<p>Ah, good to know. It also looks like the Management box is built into the template and not a separate block item, so you can't customize where it appears in the admin view - it will always get pushed to the bottom of the stack. </p><p>Regarding changes to the ASU theme: I think Rhino (graphic design firm) designed/created the theme so they might be the go to people in regards to refining the code.</p><p>I did however setup a meeting with the Drupal consultant to go over some multi-site setup and user-role-related questions. Can't wait! </p><p>Thanks Cameron!</p>
Couple other small issues CSS we've found and reported. Header tags H3, h4, H5 and H6 aren't formatted. Well, their formatted but they don't seem to make a lot of sense regarding the font size or color. Also there is no space before or after lists.  You are correct in that Rhino can change these if directed to do so.
cheers,
Cameron
I put up instructions for removing the management box - Remove All Content Styling. You can play around with page.tpl.php and move divs around. You'll have to style your changes, but you probably wanted to anyway. One caution: eventually the style sheets are going to be served from a central place, so create a separate style sheet where you can overwrite existing styles.
The theme comes without tabs. I re-enabled them for this site. Could you have downloaded a CSS file from this site? That would mess up your theme files--write to me and I'll send you a new zip file.
About the problem with margins and padding on content: Rhino did not style the content, per their contract. If you look at global.css, you'll see the first rule is:
* {margin: 0; padding: 0;
}
That universal selector removes padding and margins from all elements. Every browser has their own default sets of margins and padding. By removing these, you're bringing all browsers back to a baseline of 0. This ensures that if you add, say, 3px of padding around an element, that padding will be displayed the same across all browsers.
Unfortunately (or not), it also means you have to put margins and padding back in around all elements. The most common elelments affected are body, h1, h2, h3, h4, h5, h6, p, blockquote, pre, code, dl, ol, ul. You can plop them into a "Global" section in the CSS file and add margins and padding there.
You can also swipe the code from someone else whose code and abilities you respect and trust. I usually swipe from Eric Meyer because he has an honest face. :) Here's how he puts padding and margins back in--
body {margin: 0;
padding: 0;
}
h1 {
margin: 2em 0 0.5em;
padding: 0.25em 0;
}
h2 {
margin: 2em 0 0.33em;
padding: 0.25em 0;
}
h3 {
margin: 2em 0 0.25em;
padding: 0.125em 0;
}
h4 {
margin: 0.5em 0 0;
}
h5 {
margin: 0.5em 0 0;
}
h6 {
margin: 0.5em 0 0;
}
p {
margin: 0.33em 0 1em 0;
}
ul, ol, ul ul, ol, ol {
margin: 1em 0;
padding-left: 2.5em;
}
dt {
margin: 0.5em 0 0;
}
dd {
margin: 0.25em 0 0.5em 2.5em;
}
pre, code, tt {
margin: 1em 0;
}
Hope that answers some of your questions.
In my drupal site (http://deac.asu.edu) I attempted to use the Site Configuration tool to add a new link named "Internships" to my Site Navigation menu. the link was created but when I click on it I get the error trace below.
Also, is there a defect tracking / online trouble reporting system for drupal at ASU or do we go through the same trouble ticket interface that we go through for all IT services? Seems these web application facilities are supported in a different manner?
Thanks, replies to kgary@asu.edu are appreciated
Kevin Gary, Asst Prof., DCS
Kevin A. Gary, Ph.D.
Assistant Professor
Division of Computing Studies
Arizona State University at the Polytechnic Campus
(480)727-1373
http://dcst2.east.asu.edu/~kgary
kgary@asu.edu