Is the meta theme compatible with Drupal 5?? Any plans on making it compatible?

I have no idea what it takes to create a theme or for that matter make it compatible with v5. I have a meta site on v4.7 right now and would like to upgrade it to v5 but I love the theme so much.

take a look at it:
http://canadiannationalteam.ca

CommentFileSizeAuthor
#14 meta_v5.zip568.29 KBmdowsett

Comments

MikeyGYSE’s picture

Would LOVe this theme on Drupal 5.x

diegohermes’s picture

I have the same question, the theme is amazing but my sites are 5x version and i wish to use the meta theme in them.

edegids’s picture

We can't wait... want to update to Drupal 5 but want to keep the meta-theme. Please, is there anyone to make a 5.x release?

SymmetryPower’s picture

Come on.. someone please help on updating one for version 5.. I know there's a lot of us that want to use it. and I personally don't have the skill to do the changes myself.. I read the post about changing from 4.7 to 5.0 and man.. I was lost!

Ken Collins’s picture

I'm sorry everyone... I just do not have the time to take on the work. When I first did the Meta theme I knew absolutly "ZERO" about programming and PHP and only hacked my way thru integrating my XHTML/CSS designs into Drupal.

By know I have learned to program and hold a full time job as a Ruby developer. That combined with my contract jobs makes it impossilble for to work on this. If anyone did take the time to update the PHP in the template and submit patches I would love to commit them.

lopan.eti’s picture

I did try use this version Meta Theme at Drupal 5x. But, a have only one problem, the primary links, i solve this changing on file page.tpl.php:

From:

<?php foreach ($primary_links as $link): ?>
<li><?php print $link?></li>
<?php endforeach; ?>

To:

<?php if (is_array($primary_links)) : ?>
<?php foreach($primary_links AS $links){ echo '<li class="page_item">'. l($links['title'], $links['href']). '</li>'; }
endif; ?>

I don't know if this "pacth" make any insecure code on drupal 5x. But, this work.
Anybody know?

regards,

Lopan

WeRockYourWeb.com’s picture

Lopan, you rock!! Thank you, thank you, thank you!!!

Exactly what I was looking for :):):)

Cheers,
Alex

Ashraf Sufian’s picture

The secondary links in the footer are broken to fix it replace:

 <?php if (count($secondary_links)) : ?>
      <?php foreach ($secondary_links as $link): ?>
        <?php print $link?>&nbsp;&nbsp;&nbsp;
      <?php endforeach; ?>
    <?php endif; ?> 

with:

 <?php if (count($secondary_links)) : ?>
	<?php if(is_array($secondary_links)) :?>
      <?php foreach ($secondary_links as $link): ?>
        <?php print l($link['title'], $link['href'])?>&nbsp;&nbsp;&nbsp;
      <?php endforeach; ?>
	  <?php endif; ?>
    <?php endif; ?> 
camypaj’s picture

Hello everyone!

I had the same problem with tinymce and primary links.

Primary links can be fixed using the instructions from above (thanks to lopan.eti and ashraf-sufian) :)

Tinymce problem is another issue; I've found solution on a Tinymce faq:
http://groups.drupal.org/node/4114
("Q. TinyMCE doesn't show up when using theme X?")

but it did not say precisely where the:

print $scripts

part goes.

Since it took a little experimenting, I would like to share this with you:

in file: page.tpl.php
you should add the code:

print $scripts

in the <head> part of the page, BEFORE the </head> line:

I am not a drupal or php expert but this worked for me.

Regards,
Milan

camypaj’s picture

I guess that these are not the only problems with the theme.
The page looks ok in Firefox, but some parts are messed up in IE.
Finally, I realized that I need to make it fully compatible with drupal 5.2, because this problem is not manifested on meta theme demo site, and I don't have the time to install drupal 4.7 just to test my presumption :)

Anyone want to help?

Regards,
Milan

summit’s picture

Anyone a link to a drupal 5 Meta theme?
Thanks a lot in advance!!

greetings,
Martijn

mdowsett’s picture

I still have a site using meta that's on v4.7...I'd still love to upgrade it.

Ken Collins’s picture

I'd invite someone to pick up on it and convert it over. I was never a PHP fan, just a hack. Now I do full time ruby work the theme was converted to Mephisto some time ago.

http://www.metaskills.net/meta-theme-for-mephisto

If anyone wants to pick up the work... by all means do so.

mdowsett’s picture

Status: Active » Fixed
StatusFileSize
new568.29 KB

geez - after 21 months since posting the original post, I finally got the courage to ashraf-sufian's fix on my altered meta them. It works!

It was almost in desperation as I have to migrate that site from 4.7...and with Drupal 6 being the default version now, I better start on upgrading the theme to 6!

Attached is a zipped working copy of the unaltered (original look) meta theme. I think/hope it works! Now I have to work on upgrading the actual site...

Enjoy!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

peterx’s picture

Hello mdowsett, there is a description of a D5 to D6 theme conversion at http://d-theme.com/candy_corn. If you apply the changes to meta theme, you should have a version that works in D6 to the point where it is useful.

mdowsett’s picture

thx - I'll take a crack at it someday when I'm more motivated...it took me almost two years to do the last conversion so we'll see how long this takes me! :)

I'm sure Drupal9 will be out by then!

MKaiser’s picture

I updated my sites from drupal 4.7 to drupal 6 and had to convert the theme to drupal 6. I tried to implement it as a zen sub-theme. You can have a first look on it on

http://www.mickai.de (looks like the default meta theme) and http://www.familiekaiser.de

Both sites are in german.

Whenever possible i used standard modules like lightbox or external link and did not include these functions in the theme. The theme works with ie6 to ie8, chrome, firefox and safari. There are some smaller css issues to solve.