Business-Enterprise Theme is a very modern and professional Drupal theme that is perfect for all sorts of corporate and small business websites.The theme is not dependent on any core theme. Its very light weight with modern look and feel. Business's clean layout and light weight code make it a great theme for small or medium-sized business to get up and running quickly.

Simple and Clean Design
1-column and 2-columns layout
Implementation of JS Slideshow
Drupal standards compliant
Supported standard theme features: site logo, site name, site slogan, user pictures in comments, User pictures in nodes, favicon

Git repository:

git clone http://git.drupal.org/sandbox/shanidkv/1843836.git business_enterprises

Project page:

https://drupal.org/sandbox/shanidkv/1843836

Reviews of other projects:

https://drupal.org/node/1826698
https://drupal.org/node/1683924
https://drupal.org/node/1825394

http://drupal.org/node/1516436
http://drupal.org/node/1838644
http://drupal.org/node/1826698

https://drupal.org/node/1624760
https://drupal.org/node/1788704
https://drupal.org/node/1713614

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pradbabu’s picture

Hi Shanidkv,

1) Please change "shanidkv@git.drupal.org:sandbox/shanidkv/1781600.git" to
http://git.drupal.org/sandbox/shanidkv/1781600.git

2. As per http://drupal.org/node/1015226, master branch should not be used. Create a branch named '7.x-1.x' and you can work on it.

3. Also, running your code through automated code review:
http://ventral.org/pareview/httpgitdrupalorgsandboxshanidkv1781600git

4. It would be great, if you could upload a screenshot of your theme in the page.

5. There is a file 'desktop.ini' in your repository. Please remove it or ignore it, before committing.

6. It's a best practice to attribute the source for images used, and the superfish plugins used.

zymphonies-dev’s picture

Issue summary: View changes

git url

zymphonies-dev’s picture

Project: Drupal.org security advisory coverage applications » Business-Enterprise-Sandbox
Component: theme » Code
Category: task » bug
Status: Needs review » Active
zymphonies-dev’s picture

Hi,

Please change "shanidkv@git.drupal.org:sandbox/shanidkv/1781600.git" to
http://git.drupal.org/sandbox/shanidkv/1781600.git --fixed

As per http://drupal.org/node/1015226, master branch should not be used. Create a branch named '7.x-1.x' and you can work on it. --fixed

It would be great, if you could upload a screenshot of your theme in the page.--fixed

There is a file 'desktop.ini' in your repository. Please remove it or ignore it, before committing.--fixed

Thanks
shanidkv

zymphonies-dev’s picture

Category: bug » support
Status: Active » Needs review
FileSize
501.12 KB

Hi,

I fixed most of the problems, but something like following I do not know how to fix.

107 | ERROR | Files must end in a single new line character (these error is coming for css/js/php file)
20 | ERROR | CASE keyword must be followed by a single space ( JavaScript error)
20 | ERROR | Blank lines are not allowed after CASE statements ( JavaScript error)
20 | ERROR | Inline control structures are not allowed ( JavaScript error)

Screenshot attached

thanks
shanidkv

zymphonies-dev’s picture

Category: support » task
zymphonies-dev’s picture

Hi,

I have fixed all errors.
please review
http://ventral.org/pareview/httpgitdrupalorgsandboxshanidkv1781600git

thanks
shanidkv

anil614sagar’s picture

Status: Needs review » Reviewed & tested by the community

+1, Looks good ! Marking as RTBC.

anil614sagar’s picture

Status: Reviewed & tested by the community » Needs work

Came across couple of Javascript errors found using firebug. Needs to be fixed !

Uncaught SyntaxError: Unexpected token ) superfish.js:35
Uncaught TypeError: Object #

has no method 'superfish' effects.js:4 Marking it as needs work !
zymphonies-dev’s picture

Status: Needs work » Needs review

Hi Anil,

Fixed Javascript error. please review

thanks
shanid kv

klausi’s picture

Project: Business-Enterprise-Sandbox » Drupal.org security advisory coverage applications
Component: Code » theme

Restoring project application status.

We are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and I'll take a look at your project right away :-)

zymphonies-dev’s picture

Component: theme » module

Hi klausi,

sure, i will review your projects.

thanks
Shanid kv

zymphonies-dev’s picture

Component: module » theme

Hi,

Fixed all issues.
Can you please review the code, Let me know if you find any error.

thanks
shanid kv

zymphonies-dev’s picture

Issue summary: View changes

clone url

zymphonies-dev’s picture

Issue tags: +PAreview: review bonus

Added tag: PAReviews: review bonus as outlined on http://drupal.org/node/1410826

bhosmer’s picture

Status: Needs review » Reviewed & tested by the community

Nice job. Marking as RTBC.

klausi’s picture

Issue tags: -PAreview: review bonus

Removing review bonus tag, you have not done any manual review, you just posted the output of an automated review tool. Make sure to read through the source code of the other projects.

zymphonies-dev’s picture

sure, i will review some other theme projects

zymphonies-dev’s picture

Issue summary: View changes

Reviews of other projects

zymphonies-dev’s picture

Issue tags: +PAreview: review bonus

Adding "PAReview: review bonus" tag.

klausi’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: -PAreview: review bonus +PAreview: security
FileSize
10.22 KB

This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.

manual review:

  1. You must have committed something big to your repository in the past - git clone takes really long. Where do the 21 MB come from?
  2. slides.min.jquery.js appears to be 3rd party code. 3rd party code is not generally allowed on Drupal.org and should be deleted. This policy is described in the getting involved handbook. It also appears in the terms and conditions you agreed to when you signed up for Git access, which you may want to re-read, to be sure you're not violating other terms. The Libraries API module is a recommended method for adding 3rd party dependencies without directly including the code on Drupal.org. Same for superfish.js.
  3. business_enterprise_html_head_alter(): this is a hook implementation and should be documented as such, see http://drupal.org/node/1354#hookimpl . Please fix the doc blocks on all your hook implementations.
  4. page.tpl.php: this is vulnerable to XSS exploits. If I enter "><script>alert('XSS');</script> as twitter of facebook user name in the theme settings I get a nasty javascript popup. You need to sanitize user provided input before printing. Please read http://drupal.org/node/28984 again.

Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.

zymphonies-dev’s picture

FileSize
79.21 KB
66.22 KB

i stuck with git push issue. i am not able to push to live.
21 MB come from .git hidden folder (.git\objects\pack)
Recently i was formatted my system files
can you help me how to fix these git problems

thanks
shanidkv

bhosmer’s picture

From your screenshot, it looks like you have a typo where you are trying to push to 7xx-1.x, but your git repo in your sandbox has a branch that is called 7.x-1.x

What does the output of git remote -v show?

zymphonies-dev’s picture

FileSize
49.54 KB

I tried with git push origin 7.x-1.x. still have issue ( screenshot attached )

bhosmer’s picture

You're trying to push over http, and I suspect you are using a non-maintainer. You need to use your maintainer link which should have the format of shanidkv@git.drupal.org:sandbox/shanidkv/1781600.git

You've cloned the public and can't push to that. You need to use the maintainer link for your origin.

Do this:

git remote rm origin
git remote add origin shanidkv@git.drupal.org:sandbox/shanidkv/1781600.git 
git push origin 7.x-1.x

Edit:
To answer your question about git remote -v, it shows where your remote is. Origin is a shortcut so you don't have to type the full address. It tells you how you are authenticating and what origin is actually linked to.

zymphonies-dev’s picture

Its working fine now :) thanks for your support
Can you help me how to reduce .git hidden file size ( explained in #19 comment with screenshot )

https://drupal.org/files/file_size.png

bhosmer’s picture

You must have had some binary files or something in your repo at one point. I do remember when I cloned your repo, it took a long time.

This might help shed some light on your issue:http://stackoverflow.com/questions/1029969/why-is-my-git-repository-so-big

zymphonies-dev’s picture

@bhosmer
yes, i tried with those all steps but still have same file size

zymphonies-dev’s picture

Issue summary: View changes

PAReview: review bonus

zymphonies-dev’s picture

Status: Needs work » Needs review
FileSize
22.86 KB

@klausi
Fixed all Coder Sniffer issues (screenshot attached)
1) 21 MB come from .git hidden folder (.git\objects\pack\.pack) -- still i didn't get the proper solution to fix
2) Removed all 3rd party JS files (suggested to use superfish and Nivo slider module)
3) Fixed
4) removed social links code (awesome social links modules are available in drupal.org)

zymphonies-dev’s picture

reduced git file size. i have created new git (524 KB)
please review

zymphonies-dev’s picture

Issue summary: View changes

Git url changes

zymphonies-dev’s picture

Issue tags: +PAreview: review bonus

Reviewed 3 projects
Added tag: PAReviews: review bonus as outlined on http://drupal.org/node/1410826

klausi’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: -PAreview: review bonus
FileSize
844 bytes

There is still a master branch, make sure to set the correct default branch: http://drupal.org/node/1659588 . Then remove the master branch, see also step 6 and 7 in http://drupal.org/node/1127732
Review of the 7.x-1.x branch:

This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.

manual review:

  1. there are two info files in the repository?
  2. business_enterprises_form_alter(): this is a hook implementation and should be documented as such, see http://drupal.org/node/1354#hookimpl . Please fix the doc blocks on all your hook implementations.

But that are not blockers, otherwise looks RTBC to me. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.

zymphonies-dev’s picture

Hi klausi,

1) fixed http://ventral.org generated errors
2) removed unwanted info file
3) fixed doc blocks hook implementations.
Please review

thanks
shanidkv

zymphonies-dev’s picture

Issue summary: View changes

3 issues review

zymphonies-dev’s picture

Issue tags: +PAreview: review bonus

Added tag: PAReviews: review bonus
Reviewed 3 more projects and added sandbox url in summary

https://drupal.org/node/1624760
https://drupal.org/node/1788704
https://drupal.org/node/1713614

klausi’s picture

Status: Reviewed & tested by the community » Fixed

No objections for more than a week, so ...

Thanks for your contribution, shanidkv!

I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.

Here are some recommended readings to help with excellent maintainership:

You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!

Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

Thanks to the dedicated reviewer(s) as well.

zymphonies-dev’s picture

Thank you for all the reviews :)

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

Anonymous’s picture

Issue summary: View changes

3 more manual review