The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > The Lounge > The UNIX.COM Drupal Experiment
Google UNIX.COM


The UNIX.COM Drupal Experiment Forum for discussing issues related to our experimential CMS site.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Servers you can grow with-The ProLiant 100 series iBot UNIX and Linux RSS News 0 01-17-2008 02:40 PM
See How Trees, Flowers and Grass Grow in Silence iBot Complex Event Processing RSS News 0 12-23-2007 02:50 AM
Windows, Linux grow while Unix stays flat (but undefeated) - Computerworld iBot UNIX and Linux RSS News 0 11-27-2007 10:00 PM
Where to grow up? movx What's on Your Mind? 1 10-19-2006 08:12 PM
VxVM disk/lun grow pressy UNIX for Advanced & Expert Users 3 03-27-2006 01:39 AM

 
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #15  
Old 02-04-2007
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,644
I'm happy with my username, and don't intend to wirite to the DB directly, that makes it way way to easy to break things. I might do some reading to get stat at some stage but I'll let you know before I try anything and I'm not ready for that yet. I need to look at the tables and how they are indexed etc. before I try anything.

I'll have to try IE 6 tomorrow. I don't have a computer at home with it installed. There are lots of CSS bugs in older versions of IE ( ie pre IE 7 ) so I'm guessing it is the result of one of these, but they are well documented so I should be able to find something.
Forum Sponsor
  #16  
Old 02-04-2007
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,493
Hi Reborg,

I "fixed the problem" by modifying the user.module (not a very clean way):

Adding this code:

Code:
 $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
After this code in user.module:

Code:
function theme_user_profile($account, $fields) {
  $output = '<div class="profile">';
  $output .= theme('user_picture', $account);
  foreach ($fields as $category => $items) {
    if (strlen($category) > 0) {
      $output .= '<h2 class="title">'. $category .'</h2>';
    }
    $output .= '<dl>';
    foreach ($items as $item) {
      if (isset($item['title'])) {
        $output .= '<dt class="'. $item['class'] .'">'. $item['title'] .'</dt>';
      }
      $output .= '<dd class="'. $item['class'] .'">'. $item['value'] .'</dd>';
    }
    $output .= '</dl>';
  }
  $output .= '</div>';
To read:

Code:
function theme_user_profile($account, $fields) {
  $output = '<div class="profile">';
  $output .= theme('user_picture', $account);
  foreach ($fields as $category => $items) {
    if (strlen($category) > 0) {
      $output .= '<h2 class="title">'. $category .'</h2>';
    }
    $output .= '<dl>';
    foreach ($items as $item) {
      if (isset($item['title'])) {
        $output .= '<dt class="'. $item['class'] .'">'. $item['title'] .'</dt>';
      }
      $output .= '<dd class="'. $item['class'] .'">'. $item['value'] .'</dd>';
    }
    $output .= '</dl>';
  }
  $output .= '</div>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';
  $output .= '<br>';

  return $output;
}
  #17  
Old 02-04-2007
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,493
Of course, my "fix" is not a good way to do it, LOL.... for obvious reasons (other modules like search.module).... more importantly, theme info should not be in modules.

A CSS or template fix is preferred....
  #18  
Old 02-04-2007
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,493
Quote:
Originally Posted by reborg
I'll have to try IE 6 tomorrow. I don't have a computer at home with it installed. There are lots of CSS bugs in older versions of IE ( ie pre IE 7 ) so I'm guessing it is the result of one of these, but they are well documented so I should be able to find something.
I think it might be better not to worry about IE6, considering all the CSS bugs.

What do you think?
  #19  
Old 02-04-2007
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,644
If I can figure out a workaround that works for all it would be good. There are a lot of people still using IE 6, especially in controlled corporate desktop land. It should be possible, and will probably just be a case of getting a "display: inline;" in the right place.
  #20  
Old 02-05-2007
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,493
Good idea, but don't work too much for IE6 CSS.. since it is so buggy and does not support the full CSS standard.

I updated to IE7, and wish I did not! IE6 was faster and cleaner.... anyway, I mostly use Firefox these days.
  #21  
Old 02-05-2007
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,644
I have to say I felt the same, but the "Updates are ready for your system" message was more annoying than the change. I quite like netscape 8, and it can use the IE rendering engine for those badly designed websites.
Google The UNIX and Linux Forums
 

« Page Not Found | - »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:14 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0