Drupal is up and running but how do I ...?

Cant find installed themes in administration screen...

I've installed drupal ok and am trying to config the site but there are no themes listed. There are themes in the themes folder and I did install smarty template and php template as well. But none of the themes, default ones that come with drupal or Smarty themes show up in the list. Not sure what to do.. Any thoughts?!!?

Thanks in advance!!
Cheers

Cant find installed themes in administration screen...

I've installed drupal ok and am trying to config the site but there are no themes listed. There are themes in the themes folder and I did install smarty template and php template as well. But none of the themes, default ones that come with drupal or Smarty themes show up in the list. Not sure what to do.. Any thoughts?!!?

Thanks in advance!!
Cheers

Alternating colors in

How can I produce results similar to this: http://www.activefarming.com/hay-directory ?

I have looked in:

* The source code of that page --> no use!
* Sample code from the net such as:

      $rowcolor1 = '#0000FF';
      $rowcolor2 = '#FF0000';
       echo '  
   <table style="caption-side:top; border-collapse:collapse">';  
       for ($n = 0; $n < count(DISTINCT($nid)); $n++)  
       {  
           if($n % 2 == 1)  
           {  
                 $style = $rowcolor1;  
           }else{  
                $style = $rowcolor2;   
           }  
           echo '  
       <tr style="background:'.$style.';">........ etc.
    

and:

      $color1 = '#FF0000';
      $color1 = '#0000FF';
      <? $row_count=0; ?>
      <table>
      <? $row_color = ($row_count % 2) ? 'color1' : 'color2'; ?>
      <tr class="<?=$row_color; ?>"><td>sample</td></tr>
      <? $row_count++; ?>
      </table>
    

* The source code of other modules (e.g. watchdog module) such as:

      $n = count($header);
      for ($i = 0; $i < $n; $i++) {
      $output .= '<tr class="' . ($i % 2 == 0 ? 'even' : 'odd') . '"><th>' . $header[$i] . '</th><td>' . $data[$i] . '</td></tr>';
      }
    

The code works, but the problem is that the node-flexinode-n.tpl.php file is run each every time a new record is brought from the database, which means that each time the variable will take the value of the first color.

theme search results

I just tried using the node-search.tpl.php to theme search results be cant get it working

any ideas on theming search results

entity conversion spook

somehow entities have started "un"-escaping themselves over the past week, affecting the entire site: menus, pages, etc...

Accented characters are coming out garbled... without any previous changes except for a seemingly innocent banner module installation.

Editing seems to restore things to their natural order (using tinyMCE). Olé!!

Any ideas what could cause such an autonomous db character conversion??

Textile module won't show up

I tried to install the textile module, but it just won't show up in the modules list, so I can't enable it. (The module list skips directly from 'taxonomy' to 'throttle'.) I've tried both installing it into a subdirectory of 'modules' and directly into 'modules', and neither one works. I tried both the CVS version and the version marked 4.7.0. But no matter what I do, it's just not showing up.

Earlier I installed the poormanscron and the pathauto modules without difficulty, so I know that the basic module installation mechanism is working. What might be the problem here?

Pages

Subscribe with RSS Subscribe to RSS - Post installation