I just uploaded the new PHPTemplate version of Slash to cvs. It should work with both Drupal 4.6 and 4.7 but I have only tested it with 4.6. Please report any problems so I can fix them before 4.7 is released.

The upgrade of Slash to a PHPTemplate theme will make it easier for site owners to adjust it and make it a lot easier to upgrade the theme for new Drupal version.

I removed a lot of the tables so now tables are only used for the three column layout. Everything else is done with CSS.

Primary and Secondary links are now "modern" tabs, the Secondary links could probably look a lot nicer, I don't use them myself. Feel free to submit a patch with nicer looking tabs, design is not my strong point.

I made it easy for site owners to add a background image to the header. Just replace the included "header_bg.png".

I put common CSS code for all styles in "common.css".

Comments

hadishon’s picture

Category: task » bug

I just tried to install cvs Slash to a cvs drupal and it doesn't work. But versions (drupal and Slash) are from about 10 minutes ago so they should both be current.

In admin/themes after I choose "enable" and "default" and then click save, the template appears to load well. Everything looks good. I can see slash just find. But as soon as I try to view another page, I can only view the center column and the styles are gone. I then get many "Duplicate entry " php errors.

Any help would be appreciated.

frjo’s picture

I think you where to quick and got the old plain PHP version of the theme. The *.tar.gz files are rebuilt something like every 6 or 12 hours I believe.

If you now download http://drupal.org/files/projects/slash-cvs.tar.gz you will get the new PHPTemplate version.

hadishon’s picture

Thanks for the reply. That may have been my problem. I think it may also be my problem on some other modules as well. I'll have to learn to wait and be patient.

I downloaded and installed the file you gave. This works better. I can get the default Slash (red) and Blue to work. Green and Black do not work. I only get the center column and no styles.

I needed the green colors (farming website) so I copied the styles and corners to the default (red) directory. Now green (in red's spot) works.

Also, now that I installed Slash, I get a lot of "Duplicate entry" errors relating to the themes. Any help on this? I searched drupal and found a lot of people having similar errors for other things but not themes and I didn't find a solution.

hadishon’s picture

Another strange thing happened that I hope doesn't happen again. I wasn't doing anything in the admin area. I was just making sure things were looking good on the site when all of a sudden I no longer could see the styles and all I could see is the center column again. After typing admin/themes in the url bar (since I couldn't see the nagivation) I found that slash was not enabled but was still default. How did it disable itself and still be default? Is this a bug with slash, drupal, or ?

hadishon’s picture

I just tried installing slash on a serperate installation of drupal for a differant domain. The drupal version is current cvs. and the Slash version is the link about.

I installed both drupal and slash through ssh.

I am having the original problem on all versions of slash: Only the center column shows and no styles.

hadishon’s picture

When I compared sources of a page on the domain that works with a page on the domain that wouldn't work I noticed that the slash style tags were not in HEAD of the one that wouldn't work.

I also noticed that I had tinymce enabled on the domain that slash wouldn't work on and that there was a lot of java script code in the head.

I disabled tinymce and then slash worked.

The result is that I can't have both slash and tiny mce enabled at the same time. Is this a bug in slash, tinymce, or drupal?

I am also still getting a lot of "Duplicate entry 'themes/slash/slash_green/style.css' " php errors. How do I fix this?

frjo’s picture

Category: bug » support

You need to have the "slash" theme activated for "slash_black" etc. to work. Besides that I can't reproduce your problems.

I run a standard drupal cvs with slash cvs without any errors or problems.

Sorry I can't be of more help.

frjo’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)
Sulamita’s picture

I'm having the same "centre column" issue, but on a Drupal 4.7.3 version. What should I do?