I know it was probably a long time ago, but there was mention of a port when Drupal 7 beta came out. Any idea on the current timeline (if any?)

Comments

ilya1st’s picture

subscribe

Garrett Albright’s picture

During the (admittedly far too little) time I've spent on upgrading my modules to D7, I've been mostly focusing on Pathologic, since it's by far the most widely-used of my modules. However, I hope to get a Zenophile release done after that, assuming the D7 port of Zen has come far enough along to make it worthwhile (has it?).

thoth’s picture

subscribe here as well, I thought your zenophile module was a joy to work with in Drupal 6!

luco’s picture

+1

qu4rk’s picture

+Another 1

Garrett Albright’s picture

Version: 6.x-2.x-dev » 7.x-1.x-dev
Priority: Minor » Normal

Okay, I had a breakthrough with Pathologic last night and got it to the point where I was comfortable releasing a 1.0 release of the D7 branch (of course, this morning, I found a nasty bug waiting for me in the issue queue and had to make a 1.1 release, but these things happen), so tonight I took a stab at porting Zenophile to Drupal 7. I'm kind of apprehensive since Zen itself still doesn't even have a beta release for D7 yet, so I may be coding against a moving target, but clearly there's some interest in it and I want to use it on my own neglected D7 projects too, so let's do this.

So I made a D7 branch and seem to have successfully ported Zenophile to D7, with these caveats;

  • I've removed Drush support. I never really used it much, preferring to use the graphical interface, though I do use Drush for lots of other things. If there's lots of demand to see this return and/or someone can step forward to maintain this part of Zenophile, it may come back.
  • The bundled submodules (Zenophile Midnight and Zenophile Sidebars) haven't been ported yet, but they will.
  • The "Switch to theme after creation" feature has been temporarily disabled. How themes are switched in D7 has changed and I'm gonna have to do some research to figure out how to re-implement this. Shouldn't be too tough, though.

Everything else should still work, so please download and test if you can, and report back on any issues you may find. Thanks!

luco’s picture

@Garrett Albright that's pathologically great news, hehehe.

well I'm all over Zenophile. should I test something specific? please let me know. thanks for your contribution, I've been expecting it.

cheers

Garrett Albright’s picture

luco: Just download the D7 devel release (should now be available on the project page; forgot to enable it this morning) and use it as normally as you can.

I did some initial conversion of the zenophile_sidebars submodule, so that should be working-ish now, though there seem to be CSS issues if you try to put both sidebars to one side of the main content area (I think these bugs are present in the D6 version too, actually…)

rickmanelius’s picture

Thanks Garrett. Will try on my personal site when time permits today... been SUPER excited for this module because I use it with every client!

rickmanelius’s picture

Awesome, so far everything works great! Will let you know if anything comes up, but I'm super happy that you did this so quickly. Thanks again!

rickmanelius’s picture

Status: Active » Needs review
luco’s picture

@Garrett Albright working for me as well. I was even able to include an extra CSS with little effort :] I'll let you know if I come across anything odd.

arthur wong’s picture

Hi,

New to Drupal and Zenophile and I'm just after some really simply advice.

I installed the Zen theme on Drupal 7.
I installed Zenophile and enabled the permissions for Administrators.

Where do I go to start using Zenophile? I looked in the Appearance section but couldn't find any links or references to Zenophile.

Apologies in advance for the dumb question, I did look in the doco but it wasn't obvious.

Arthur

Garrett Albright’s picture

Arthur;

After going to the Appearance page (which lists the themes), look for a "Create Zen subtheme" tab. If you're using the "Seven" administration theme, the tabs should be in the upper-right corner of the window.

arthur wong’s picture

Hi Garrett

Thanks for the quick reply. At least you have confirmed that I am looking in the right place, but no tab appears there. I will try re-installing Zenophile to see if it solves the problem.

Update: I've un-stalled Zenophile, and totally deleted the module from the file system. I've tried re-installing it. The install works but when I try to enable Zenophile, I get an error 500 internal server error. The Zenophile modules appear in the list of modules and they have the enabled checkboxes checked. I can also set the permissions on the Zenophile module.

BUT...there is no extra tab in the Appearance admin screen to allow me to use Zenophile.

I do use a shared server but in desperation I have chmod the entire test drupal directory to all full permission to all for every directory and file but this has not helped.

Would love to hear any suggestions on how to overcome this problem.

Thank you.

luco’s picture

StatusFileSize
new19.09 KB
new4.2 KB

@arthur wong, chmodding your entire drupal folder is pretty risky. restoring original folder permissions is so much work that you should reinstall everything from scratch ASAP.

copy the contents of sites/default/settings.php and you might be able to re-use your DB without having to wipe it too.

as for where you create a Zen Subtheme, check out the screenshot. it's the upper-right corner of example.com/node#overlay=admin/appearance (or example.com/admin/appearance, for that matter).

keep in mind that Drupal 7 is full of features that haven't been ported yet, so don't let all these issues scare you :]

arthur wong’s picture

@luco, thanks for taking the time to answer my post, it is very kind of you. Thanks also for the screenshots, it confirms that my install of zenophile failed because I definitely don't have the tab that allows me to create the zen sub-theme.

I'm at a loss as to what to do now. I'm trying to install the zenophile theme the same way as all the other modules that I have successfully installed but it just won't install.

Yes, I know CHMOD is risky but this is just a test Drupal 7 site and I have been taking a back-up of DB and Drupal after each install of the module as I have found V7 to be little unstable. I can at least low away the directory and restore it before zenophile and the chmod changes.

UPDATE: I decided to run a local version of Drupal on XAMP, I installed zenophile on it and it works fine now. Thanks again for all your support.

rickmanelius’s picture

So as far as I can tell, this is working... perhaps an official release?

Garrett Albright’s picture

The Midnight submodule hasn't been ported yet. Once that is done, I'll make a beta.

Garrett Albright’s picture

Okay, I've just made a beta release Zenophile for D7. Thanks for the encouragement, everyone! Now go make some sweet themes!

luco’s picture

@arthur wong you're welcome; we're all noobs from time to time ;]

now I came across the same error many times. when something goes off and you've chmodded anything, it's usually because you've messed up permissions for files and directories. so it's easier to erase whatever you've chmodded and get fresh copies.

but since you've chmodded the whole D7, you have to reinstall it - and even test sites can make your host vulnerable, which is why I advised you to reinstall everything, ok?

cheers

Garrett Albright’s picture

StatusFileSize
new38.59 KB

Okay, Zenophile Midnight needs some CSS for vertical tabs. Ew.

rickmanelius’s picture

Fresh.css is not being added to the the .info file in the latest version...

Not a big deal. Just need to make sure to add
stylesheets[all][] = css/fresh.css
when the new subtheme is created!

I'm using dev versions of zenophile and zen. It worked recently, so I don't know if this is just a fluke.

Garrett Albright’s picture

rickman, looks like there's a separate issue open for that. I'll address the problem there.

fuzzy76’s picture

Subscribing

Taxoman’s picture

Title: Drupal 7 port? » D7 port of Zenophile
Category: feature » task
Status: Needs review » Fixed

Any point keeping this issue open now after 7.x-1.1 is released?

Status: Fixed » Closed (fixed)

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