Theme and Site Setup

This guide will help you set up your theme files and your site.

Setup theme files

  1. Duplicate and Rename pisces_subtheme_template files
    -sites/all/themes/pisces_dev_subtheme_template
  2. Edit and Rename pisces_subtheme.info file
  3. Subtheme template functions need to be renamed inside this file:
    -sites/all/themes/THEMENAME/template.php
  4. Fill in all the style variables inside subtheme-vars.css.less
  5. Use style.css sparingly to add any extra styles.

Logos

  1. sites/all/themes/THEMENAME/logo.png (* create a gif version of all logos for IE6 if png32 alpha transparency is used)
  2. sites/all/themes/THEMENAME/images/logo.png
  3. sites/all/themes/THEMENAME/images/logo-mobile.png
  4. sites/all/themes/THEMENAME/images/logo-subscribe.png
  5. sites/all/themes/THEMENAME/images/logo-blog.png
  6. favicon.ico - save a 32x32 image as a .bmp, then rename to favicon.ico

Site Configuration

  1. Site Name in <title> + Webmaster email + Footer Copyright text + default front_page name
    • Site Configuration -> site info - admin/settings/site-information
  2. Block Title Configurations - admin/build/block/list
    • Nice Menu 1
      • removes "Primary Links"
      • admin/build/block/configure/nice_menus/1
    • Utility Nav
      • admin/build/block/configure/menu/menu-utility-nav
    • nodequeue_1: Featured Hero"
      • removes "Queue 'Home Page Featured - hero'"
      • admin/build/block/configure/views/nodequeue_1-block_1
    • Queue 'Home Page Featured'
      • admin/build/block/configure/views/nodequeue_1-block
    • Queue 'Home Page List' (plain list of internal links, unused by editors)
      • admin/build/block/configure/views/nodequeue_3-block
    • Media Library: More About QT Block
      • admin/build/block/configure/quicktabs/3
         
  3. Configurations - admin/build/menu/list
    • Pisces-Penton.com
      • renames footer category navigation header
      • admin/build/menu-customize/menu-main-footer-nav
    • Site Features
      • admin/build/menu-customize/menu-site-features
    • Pisces-Penton Corporate
      • admin/build/menu-customize/menu-footer
    • Follow Us
      • admin/build/block/configure/block/10
    • Search Pisces-Penton.com
      • admin/build/mini-panels/list/footer_columns/content
    • Site Logo + "Penton Media" (previously "Subscribe to Sitename.com")
      • admin/build/block/configure/block/11
    • Penton Pisces Platforms
      • admin/build/menu-customize/menu-new-hope-sources
  4. Configurations - Mobile
    • Make sure mobile, categories, and topics features are turned on. Also make sure that all the features are in Default / Disabled state. Features shouldn't be in Overridden / Conflict state.
      • admin/build/features
    • enable PISCES Core Mobile theme (do not select as default)
      • admin/build/themes
    • Mobile Settings:
      • admin/settings/mobile-tools
        • General Configuration > change Mobile URL
        • Theme Switching: Switch theme based on URL
        • select "pisces_core_mobile" as Mobile theme
    • add 168_1 position, ad dimension 168x28
      • admin/settings/pm_doubleclick/adblocks-add
      • admin/build/context/list/mobile-structure-global-sitewide/edit
        • after creating the ad block - add it to the mobile footer. It should be in this order:
          • Mobile Content Footer
            168_1
            Mobile Footer
    • configure all 4 mobile menus:
      • admin/build/menu
        • Categories
        • Mobile Content Footer
        • Mobile Footer
        • Mobile More Information
      • admin/build/menu-customize/menu-mobile-footer
        • configure "View Full Site" link
      • admin/build/menu-customize/menu-site-features
        • configure "View Mobile Site" link

Templates

  1. Sign Up for Newsletter Link
    • sites/all/themes/THEMENAME/newsletter-sign-up.tpl.php

Images

  • sites/all/themes/THEMENAME/images/bg.png <---background of header area
  • sites/all/themes/THEMENAME/images/nav_bg.png <---background of navigation bar
  • sites/all/themes/THEMENAME/images/default_video_thumb.gif <---site logo as default thumbnail image for media
  • sites/all/themes/THEMENAME/images/sprite-must-reads.png <---must reads buttons
  • sites/all/themes/THEMENAME/images/title_bg.png <---must reads header background

Random Notes

  • Mobile favicon? 57 x 57