CVS edit link for maozet

I would like to add a new theme to drupal themes database and my second thought is to add a new module which realted to SEO (dynamic keywords/dynamic page title).

My motivation is from the following reasons:

1) I am using drupal for almost two years now... I really like it and made couple of project using drupl and i think its important to help it grow.
2) I want to share my SEO knowlage with drupal users
3) I want to extend my profile

CommentFileSizeAuthor
#14 Odeta.zip27.95 KBmaozet
#12 Odeta.zip27.87 KBmaozet
#6 Odeta.zip27.86 KBmaozet
#1 0deta.zip17.51 KBmaozet

Comments

maozet’s picture

StatusFileSize
new17.51 KB
avpaderno’s picture

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

Remember to change the status of the report, when you upload new code for the review; differently, the reviewers cannot know if there is code to be review.

avpaderno’s picture

Status: Needs review » Needs work
  1. Theme names (as well as module names) must not start with a number.
  2. The line containing version = "6.x-1.1" needs to be removed, as it is added by the packaging script.
maozet’s picture

Status: Needs work » Needs review

#2 is fixed
For #1, are you sure about that?? There are some Themes starting with numbers.... :-)
We'll have to choose another name if that still apply.

avpaderno’s picture

Status: Needs review » Needs work

There are surely two themes which contain numbers as first characters, but the short name of the project doesn't contain numbers as first characters; the themes are 960 Robots, and 960.gs Fluid, and 960 is a reference to the framework 960.gs.

The attachment link is http://drupal.org/files/issues; it doesn't take to any file.

maozet’s picture

Status: Needs work » Needs review
StatusFileSize
new27.86 KB

Please find attached is a new zip.

avpaderno’s picture

Status: Needs review » Needs work

See my comment about what is a correct name for a theme (both the short, and the normal name).

maozet’s picture

Status: Needs work » Needs review

Sorry, I might missed you. But why this format is incorrect? It starts with a Capital 'o', no numbers.

avpaderno’s picture

I use a font that has an O similar to a 0.
In this case, the theme name is acceptable.

avpaderno’s picture

Status: Needs review » Needs work
  1. Some files miss the CVS ID tag.
  2. In some cases, the indentation is not correct (it passes from 0 to 4).
avpaderno’s picture

Issue tags: +Theme review
maozet’s picture

Status: Needs work » Needs review
StatusFileSize
new27.87 KB

Both are fixed

avpaderno’s picture

Status: Needs review » Needs work
  1. name = 0deta
    description = 0deta theme is ideal for blogs and community sites. Includes 5 flexible content regions(more to come). By <a href="http://www.drupaldir.com">DrupalDir.com</a>. Based on <a href="http://www.askgraphics.com/freetemplates/transblack-wordpress-theme-released/">transblack</a> theme
    

    The reported name is not correct (it begins with a zero).

  2. 					<div id="menu_search_box">
    					 <?php if ($search_box) { ?>
    					 	<div id="search-box">
    							<?php print $search_box; ?>
    						
    						</div><!-- /search-box -->
    					<?php } ?>
    
    

    The indentation should be of two spaces, not tabs. The IF-statement could use the alternative syntax, which has been already used in other part of the code.

  3. 				<?php if (0 && $breadcrumb): ?>
    				<div id="breadcrumb">
    				<?php print $breadcrumb; ?>
    				</div><!-- /breadcrumb -->
                                    <?php endif; ?>
    
    

    The indentation is still incorrect.
    What is the result of if (0 && $breadcrumb)?

  4.   $vars['logged_in'] = ($user->uid > 0) ? TRUE : FALSE;
    

    The code can be simply written as $vars['logged_in'] = ($user->uid > 0).

  5. 	$body_classes = array();
    	$body_classes[] = ($vars['logged_in']) ? 'logged-in' : 'not-logged-in';// Page useris logged in
    	$body_classes[] = ($vars['is_front']) ? 'front' : 'not-front';      // Page is ront page
    	$body_classes[] = ($vars['search_box']) ? 'search' : 'search_no';
    
    	$body_classes = array_filter($body_classes); // Remove empty elements
    

    Which empty elements should the code remove?

  6. function phptemplate_preprocess_search_theme_form(&$vars, $hook) {
    	//print_r($vars);
    	// Modify elements of the search form
    	$vars['form']['search_theme_form']['#title'] = t('');
    

    What is the Chinese translation of an empty string?

  7. 	$vars['form']['search_theme_form']['#attributes'] = array('class' => t('txtSearch s'),
    

    CSS class names are not supposed to be translated.

maozet’s picture

Status: Needs work » Needs review
StatusFileSize
new27.95 KB

#1,4,5,6,7 --> all fixed
#2,3: Strange, I use VIM setting as in http://drupal.org/node/29325 (Indentation). Hope thats ok now.

avpaderno’s picture

Status: Needs review » Fixed

I still see tabs, but that is a minor detail.

Status: Fixed » Closed (fixed)
Issue tags: -Theme review

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

avpaderno’s picture

Component: Miscellaneous » new project application
Assigned: Unassigned » avpaderno
Issue summary: View changes
Status: Closed (fixed) » Fixed

Status: Fixed » Closed (fixed)

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