CVS edit link for timothykc

I have benefited greatly from the contributions of the Drupal community ,and would like to give back.

One of the main difficulties I had when first starting several years ago, was finding a contributed theme that fit what I wanted to do. Years of learning how to theme myself later, I would like to contribute a new theme I have created for Drupal 7.x.

Based on the original Bartik theme, I have created a table-less, superfish menu'd, and extremely color module friendly theme, I would like to call "Color Tiger." You can see the theme at honortracy.com (a website I'm building for my son).

Comments

timothykc’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new156 KB

Drupal 7.x theme I would like to contribute.

avpaderno’s picture

Status: Needs review » Needs work
Issue tags: +Theme review

This is a short review of the proposed module.

  1. Files available from third-party sites should not committed in drupal.org repository.
  2. The license file should not be included, as it is already included from the packaging script.
  3. <?php if ($block->subject): ?>
      <h2<?php print $title_attributes; ?> class="block-title"><?php print $block->subject ?></h2>
    <?php endif;?>
    

    There should be a semicolon after each PHP statement.

  4. ; Information added by drupal.org packaging script on 2010-12-14
    version = "7.x-1.0"
    core = "7.x"
    project = "Color Tiger"
    datestamp = "1292299363"
    

    Those lines should be removed, for the reason reported in the comment.

  5. There is an extra directory that should be removed.
timothykc’s picture

hi kiamlaluno

First, thank you for your time and due diligence.

Before I make some of the corrections, I would like to clarify: When you refer to 3rd party files, do you mean scripts such as superfish.js? And if so, is the correct protocol to provide instructions for users to download and place the files themselves?

Otherwise, I'm new to this, so I will probably continue to make more mistakes.

Thanks again for your time and consideration.

avpaderno’s picture

Hello, timothykc.

When you refer to 3rd party files, do you mean scripts such as superfish.js? And if so, is the correct protocol to provide instructions for users to download and place the files themselves?

That is correct; users should get instructions on where to download the files, and where to copy them.

timothykc’s picture

Status: Needs review » Needs work
StatusFileSize
new144.35 KB

I think I've addressed the main points brought up in preliminary review. 3rd party javascript removed.

Also made some adjustments to the default main menu, such that a user who chooses not to download superfish will still have a functional theme.

EDIT: Please download file at post #7

avpaderno’s picture

Status: Needs work » Needs review
timothykc’s picture

StatusFileSize
new144.39 KB

More clean up. Please review this attachment, not #5.

tlattimore’s picture

Status: Needs work » Needs review

After a brief overview of your theme, here are a couple of things that need to be changed.

  1. Your CVS headers should changed from:
    // $Id: block.tpl.php,v 1.3.4.1 2010/11/11 13:52:44 timothykc Exp $
    

    To look like.

    //$Id$
    

    All this info is added by Drupal.org when a commit is made.

  2. As per the Drupal coding standards document here: http://drupal.org/node/318#semicolon, you are asked to place a semicolon after all variables.
    Example:
    Line 43 of page.tpl.php.
    <?php print $base_path ?>
    

    Should be replaced with.

    <?php print $base_path; ?>
    

    Great job on this theme, really like the color module support.

tlattimore’s picture

Status: Needs review » Needs work
timothykc’s picture

Component: Miscellaneous » co-maintainer application
Status: Needs work » Needs review
StatusFileSize
new143.83 KB

Thanks to the community for taking the time to review. Will continue to work on tidying up the code and conventions in future projects.

Latest revision attached.

avpaderno’s picture

Component: co-maintainer application » new project application
zzolo’s picture

Status: Needs review » Postponed

Hi. Please read all the following and the links provided as this is very important information about your CVS Application:

Drupal.org has moved from CVS to Git! This is a very significant change for the Drupal community and for your application. Please read the following documentation on how this affects and benefits you and the application process:
Migrating from CVS Applications to (Git) Full Project Applications

  • The status of this application will be put to "postponed" and by following the instructions in the above link, you will be able to reopen it.
  • Or if your application has been "needs work" for more than 5 weeks, your application will be marked as "closed (won't fix)". You can still reopen it, by reading the instructions above.
avpaderno’s picture

Issue summary: View changes
Status: Postponed » Closed (won't fix)

As per previous comment, I am setting this issue as Won't fix.
Since new users can now create full projects, applications have a different purpose and they are handled on a different issue queue. See Apply for permission to opt into security advisory coverage for more information.