Follow

GoMobile Theme Guide

Below you'll find a list of theme files for the GoMobile Drupal mobile theme. This list illustrates where you can find certain functionality and information within the theme itself.

Theme guide is for:

http://www.themesnap.com/premium-drupal-themes/gomobile.html

--------------------------------------------------------------------------------------------------

Functional structure of the GoMobile theme:

1. Purpose of certain theme files

/sites/all/themes/gomobile/gomobile.info

Contains information about theme name, default settings, available regions, and enabling of stylesheet files and scripts

/sites/all/themes/gomobile/html.tpl.php

Contains template structure, title and content section

/sites/all/themes/gomobile/page--front.tpl.php.

Contains template of appearance design for the main page. Included here are the social media icons - search for div class="footer_socials"

/sites/all/themes/gomobile/page.tpl.php

Contains template of appearance design for internal pages of a site. Included here are the social media icons - search for div class="footer_socials"

/sites/all/themes/gomobile/node.tpl.php

Contains template of appearance design for all node of all content types except portfolio

/sites/all/themes/gomobile/node--portfolio.tpl.php

Contains template of appearance design for nodes of portfolio content type

/sites/all/themes/gomobile/block.tpl.php

Contains template of appearance design for blocks except block region Home Portfolio

/sites/all/themes/gomobile/block--home_portfolio.tpl.php

Contains template of appearance design for block region Home Portfolio

/sites/all/themes/gomobile/search-block-form.tpl.php

Contains template of appearance design for serach form block

/sites/all/themes/gomobile/views-view--recent-works--block.tpl.php

/sites/all/themes/gomobile/views-view-fields--recent-works--block.tpl.php

/sites/all/themes/gomobile/views-view-unformatted--recent-works--block.tpl.php

Contain templates of appearance design for Views block Recent Works

/sites/all/themes/gomobile/views-view-fields--home-testimonials--block.tpl.php

Contain templates of appearance design for Views block Home Testimonials

/sites/all/themes/gomobile/views-view-fields--latest-blog-posts--block.tpl.php

Contain templates of appearance design for Views block Latest Blog Posts

/sites/all/themes/gomobile/views-view-fields--portfolio--page.tpl.php

Contain templates of appearance design for Views page Portfolio

/sites/all/themes/gomobile/views-view-fields--portfolio-categories--block.tpl.php

/sites/all/themes/gomobile/views-view-unformatted--portfolio-categories--block.tpl.php

Contain templates of appearance design for Views block Portfolio Categories

/sites/all/themes/gomobile/views-view-fields--slide-show--block.tpl.php

/sites/all/themes/gomobile/views-view-unformatted--slide-show--block.tpl.php

Contain templates of appearance design for Views block Slide Show

/sites/all/themes/gomobile/views-view-fields--testimonials--block.tpl.php

Contain templates of appearance design for Views block Testimonials

/sites/all/themes/gomobile/template.php

Contains auxiliary php code required for functioning of the theme

/sites/all/themes/gomobile/theme-settings.php

Contains description of additional fields of the theme settings form

/sites/all/themes/gomobile/screenshot.png

Screenshot of the theme

/sites/all/themes/gomobile/author-picture.gif

Default user's avatar

/sites/all/themes/gomobile/css/style.css

The main stylesheets file of a site design

/sites/all/themes/gomobile/css/flexslider.css

Stylesheets design file for FlexSlider

/sites/all/themes/gomobile/css/font.css

/sites/all/themes/gomobile/css/font.woff

Files of additional Terminal Dosis font and its enabling

/sites/all/themes/gomobile/prettyphoto/prettyPhoto.css

Stylesheets design file for view photo functionality support

/sites/all/themes/gomobile/images/

The given folder contains image files for the theme design including logo

/sites/all/themes/gomobile/js/custom.quicksand.js

Javascript file that performs preliminary activation of different functions. Part of the functions is activated in file

/sites/all/themes/gomobile/template.php

/sites/all/themes/gomobile/js/jflickrfeed.min.js

Javascript file for working with flickr.com

/sites/all/themes/gomobile/js/jquery.easing.1.3.js

/sites/all/themes/gomobile/js/jquery.elastislide.js

Javascript file for Views block Recent Works functionality

/sites/all/themes/gomobile/js/jquery.fitvids.js

Javascript file for support of automatic video blocks size change

/sites/all/themes/gomobile/js/jquery.flexslider-min.js

Javascript file for Slide Show functionality support

/sites/all/themes/gomobile/js/jquery.prettyPhoto.js

Javascript file for view photo functionality support

/sites/all/themes/gomobile/js/jquery.tweet.js

Javascript file for working with twitter.com

/sites/all/themes/gomobile/js/menu.js

Javascript file for dropdown menu functionality support

2. Site structure

Main page consists of the following regions:

  • Slide Show
  • Home Content first
  • Home Content second
  • Home Content three
  • Home Portfolio
  • Home Tweets
  • Home Testimonials
  • Footer Message

Internal pages consist of the following regions:

  • Sidebar Hidden Top
  • Sidebar Hidden Search
  • Sidebar Right
  • Content
  • Footer Message

With the exception of pages of Full Width content type that consist of the following regions:

  • Sidebar Hidden Top
  • Sidebar Hidden SearchContent
  • Footer Message

Content types:

  • Basic page is used for separate pages like "About Us"
  • Blog entry is used for articles of blog section
  • Portfolio is used for placing portfolio in the appropriate section
  • Testimonial is used for posting website reviews/testimonials
  • Full Width is used for separate full width pages without the right block, e.g. "Full Width" page 
  • Article can be used at your own discretion.
  • Blog section is based on standard Blog module.
  • Portfolio section is implemented using Views module.

Blocks About Us, Flickr photos, Text Info, Our locations, Responsive Web Design, A flexible foundation, Recent Tweets, Footer Message are standard custom blocks.

It's not recommended to make any modifications to blocks Flickr photos and Recent Tweets.

Blocks View: Testimonials, View: Portfolio Categories, View: Slide Show, View: Latest blog posts, View: Recent Works, View: Home Testimonials are created using Views module.

Special functions for top and bottom menus output are described in file /sites/all/themes/gomobile/template.php

Settings for these menus are available in "Main menu" and "Footer Menu".

Taxonomy vocabulary "Tags" is used for Blog section.

Taxonomy vocabulary "Categories" is used for Portfolio section.

3. Warnings

It's necessary to make a backup of all files and a database before updating any modules, theme or Drupal core.

Updating of Video Embed Field module can be done at your own risk.

0 Comments

Please sign in to leave a comment.