Skip to content
Snippets Groups Projects
Commit da617451 authored by Panagiotis Adamopoulos's avatar Panagiotis Adamopoulos
Browse files

Drupal Application Theme Initial Commit

parents
No related branches found
No related tags found
No related merge requests found
Showing
with 300 additions and 0 deletions
; $Id: DrupalApp.info $
name = DrupalApp
description = Theme created by DNA Creative Group for the needs of creating drupal based web applications
screenshot = screenshot.png
version = 1.0
core = 7.x
engine = phptemplate
regions[sidebar_left] = First sidebar
regions[vnavigation_left] = First vertical menu
regions[art_header] = Header
regions[content] = Content
regions[navigation] = Menu
regions[banner1] = Banner 1
regions[banner2] = Banner 2
regions[banner3] = Banner 3
regions[banner4] = Banner 4
regions[banner5] = Banner 5
regions[banner6] = Banner 6
regions[user1] = User 1
regions[user2] = User 2
regions[user3] = User 3
regions[user4] = User 4
regions[extra1] = Extra 1
regions[extra2] = Extra 2
regions[copyright] = Copyright
regions[top1] = Top 1
regions[top2] = Top 2
regions[top3] = Top 3
regions[bottom1] = Bottom 1
regions[bottom2] = Bottom 2
regions[bottom3] = Bottom 3
regions[footer_message] = Footer
stylesheets[screen][]= style.css
stylesheets[all][]= style.responsive.css
stylesheets[undefined][]= favicon.ico
Drupal Application Theme
===========
Contents
===========
* Installing Drupal Themes
* Utilizing Menus
* Customizing the Footer
*** Installing Drupal Themes
---------------------------------------
1. Access your Web server using an FTP client or Web server administration tools.
2. Create a folder for your specific theme under "<YourSiteFolder>/themes/" folder within Drupal installation.
For example: <YourSiteFolder>/themes/<MyNewTheme>
4. Login to your Drupal Administer.
5. Go to Drupal Administer -> Site Building -> Themes (www.YourSite.com/?q=admin/build/themes)
6. Select your newly uploaded theme from the list of available themes for your site.
7. Click the "Save configuration" button to save your changes.
For more information please visit: http://drupal.org/node/456
*** Utilizing Menus
---------------------------------------
Please use the following steps to utilize menu style:
1. Go to Drupal Administer -> Site Building -> Menus (www.YourSite.com/?q=admin/build/menu)
2. Edit an existing menu or create a new one.
3. Go to Drupal Administer -> Site Building -> Blocks (www.YourSite.com/?q=admin/build/block)
4. Place menu into the "Menu" region.
NOTE: the "Menu" region can contain only a single menu, or none.
For more information please visit http://drupal.org/node/102338
*** Customizing the Footer
---------------------------------------
To customize the theme footer via Drupal Administer place one or multiple blocks into the "Copyright" region.
Here are sample steps to configure custom footer:
1. Go to Drupal Administer -> Site configuration -> Site information
(www.your-site.com/?q=admin/settings/site-information)
2. Edit the Footer message field.
3. Save your changes.
<?php
/**
* @file
*
* Theme implementation: Template for forum topic header.
*
* - $node: Node object.
* - $search: Search box to search this topic (Requires Node Comments)
* - $reply_link: Text link / button to reply to topic.
* - $total_posts_count: Number of posts in topic.
* - $new_posts_count: Number of new posts in topic.
* - $first_new_post_link: Link to first unread post.
* - $last_post_link: Link to last post.
* - $pager: Topic pager.
*/
?>
<?php if (isset($node) && isset($node->title)): ?>
<?php echo DrupalApp_art_node_title_output($node->title, '', true); ?>
<?php endif; ?>
<div id="forum-topic-header" class="forum-topic-header clearfix">
<?php if (!empty($search)): ?>
<?php print $title.$search; ?>
<?php endif; ?>
<div class="topic-post-count">
<?php print $total_posts_count; ?> / <?php print t('!new new', array('!new' => $new_posts_count)); ?>
</div>
<?php if (!empty($reply_link)): ?>
<div class="topic-reply-link">
<?php print $reply_link; ?>
</div>
<?php endif; ?>
<?php if (!empty($first_new_post_link)): ?>
<div class="topic-new-post-link">
<?php print $first_new_post_link; ?>
</div>
<?php endif; ?>
<?php if (!empty($last_post_link)): ?>
<div class="last-post-link">
<?php print $last_post_link; ?>
</div>
<?php endif; ?>
<a id="forum-topic-top"></a>
</div>
<div class="<?php if (isset($classes)) print $classes; ?>" id="<?php print $block_html_id; ?>"<?php print $attributes; ?>>
<?php print render($title_prefix); ?>
<?php if (!empty($block->subject)): ?>
<h2><?php print $block->subject ?></h2>
<?php endif;?>
<?php print render($title_suffix); ?>
<div class="content">
<?php print $content ?>
</div>
</div>
<div class="<?php if (isset($classes)) print $classes; ?>" id="<?php print $block_html_id; ?>"<?php print $attributes; ?>>
<?php print render($title_prefix); ?>
<?php if (!empty($block->subject)): ?>
<h2><?php print $block->subject ?></h2>
<?php endif;?>
<?php print render($title_suffix); ?>
<div class="content">
<?php print $content ?>
</div>
</div>
<div class="<?php if (isset($classes)) print $classes; ?>" id="<?php print $block_html_id; ?>"<?php print $attributes; ?>>
<?php print render($title_prefix); ?>
<?php if (!empty($block->subject)): ?>
<h2><?php print $block->subject ?></h2>
<?php endif;?>
<?php print render($title_suffix); ?>
<div class="content">
<?php print $content ?>
</div>
</div>
<div class="<?php if (isset($classes)) print $classes; ?>" id="<?php print $block_html_id; ?>"<?php print $attributes; ?>>
<?php print render($title_prefix); ?>
<?php if (!empty($block->subject)): ?>
<h2><?php print $block->subject ?></h2>
<?php endif;?>
<?php print render($title_suffix); ?>
<div class="content">
<?php print $content ?>
</div>
</div>
<div class="<?php if (isset($classes)) print $classes; ?>" id="<?php print $block_html_id; ?>"<?php print $attributes; ?>>
<?php print render($title_prefix); ?>
<?php if (!empty($block->subject)): ?>
<h2><?php print $block->subject ?></h2>
<?php endif;?>
<?php print render($title_suffix); ?>
<div class="content">
<?php print $content ?>
</div>
</div>
<div class="<?php if (isset($classes)) print $classes; ?>" id="<?php print $block_html_id; ?>"<?php print $attributes; ?>>
<?php print render($title_prefix); ?>
<?php if (!empty($block->subject)): ?>
<h2><?php print $block->subject ?></h2>
<?php endif;?>
<?php print render($title_suffix); ?>
<div class="content">
<?php print $content ?>
</div>
</div>
<div class="<?php if (isset($classes)) print $classes; ?>" id="<?php print $block_html_id; ?>"<?php print $attributes; ?>>
<?php print render($title_prefix); ?>
<?php if (!empty($block->subject)): ?>
<h2><?php print $block->subject ?></h2>
<?php endif;?>
<?php print render($title_suffix); ?>
<div class="content">
<?php print $content ?>
</div>
</div>
<div class="<?php if (isset($classes)) print $classes; ?>" id="<?php print $block_html_id; ?>"<?php print $attributes; ?>>
<?php print render($title_prefix); ?>
<?php if (!empty($block->subject)): ?>
<h2><?php print $block->subject ?></h2>
<?php endif;?>
<?php print render($title_suffix); ?>
<div class="content">
<?php print $content ?>
</div>
</div>
<div class="<?php if (isset($classes)) print $classes; ?>" id="<?php print $block_html_id; ?>"<?php print $attributes; ?>>
<div class="dna-article content">
<?php print $content; ?>
</div>
</div>
<div class="<?php if (isset($classes)) print $classes; ?>" id="<?php print $block_html_id; ?>"<?php print $attributes; ?>>
<div class="dna-article content">
<?php print $content; ?>
</div>
</div>
<?php echo DrupalApp_art_hmenu_output($content);?>
<div class="<?php if (isset($classes)) print $classes; ?>" id="<?php print $block_html_id; ?>"<?php print $attributes; ?>>
<div class="dna-box dna-post">
<div class="dna-box-body dna-post-body">
<article class="dna-post-inner dna-article">
<?php print render($title_prefix); ?>
<?php if ($block->subject): ?>
<h2 class="dna-postheader"><?php print $block->subject ?></h2>
<?php endif;?>
<?php print render($title_suffix); ?>
<div class="dna-postcontent">
<div class="dna-article content">
<?php print $content; ?>
</div>
</div>
<div class="cleared"></div>
</article>
<div class="cleared"></div>
</div>
</div>
</div>
<div class="<?php if (isset($classes)) print $classes; ?>" id="<?php print $block_html_id; ?>"<?php print $attributes; ?>>
<div class="dna-box dna-post">
<div class="dna-box-body dna-post-body">
<article class="dna-post-inner dna-article">
<?php print render($title_prefix); ?>
<?php if ($block->subject): ?>
<h2 class="dna-postheader"><?php print $block->subject ?></h2>
<?php endif;?>
<?php print render($title_suffix); ?>
<div class="dna-postcontent">
<div class="dna-article content">
<?php print $content; ?>
</div>
</div>
<div class="cleared"></div>
</article>
<div class="cleared"></div>
</div>
</div>
</div>
<div class="<?php if (isset($classes)) print $classes; ?>" id="<?php print $block_html_id; ?>"<?php print $attributes; ?>>
<div class="dna-box dna-post">
<div class="dna-box-body dna-post-body">
<article class="dna-post-inner dna-article">
<?php print render($title_prefix); ?>
<?php if ($block->subject): ?>
<h2 class="dna-postheader"><?php print $block->subject ?></h2>
<?php endif;?>
<?php print render($title_suffix); ?>
<div class="dna-postcontent">
<div class="dna-article content">
<?php print $content; ?>
</div>
</div>
<div class="cleared"></div>
</article>
<div class="cleared"></div>
</div>
</div>
</div>
<div class="<?php if (isset($classes)) print $classes; ?>" id="<?php print $block_html_id; ?>"<?php print $attributes; ?>>
<div class="dna-box dna-post">
<div class="dna-box-body dna-post-body">
<article class="dna-post-inner dna-article">
<?php print render($title_prefix); ?>
<?php if ($block->subject): ?>
<h2 class="dna-postheader"><?php print $block->subject ?></h2>
<?php endif;?>
<?php print render($title_suffix); ?>
<div class="dna-postcontent">
<div class="dna-article content">
<?php print $content; ?>
</div>
</div>
<div class="cleared"></div>
</article>
<div class="cleared"></div>
</div>
</div>
</div>
<div class="<?php if (isset($classes)) print $classes; ?>" id="<?php print $block_html_id; ?>"<?php print $attributes; ?>><?php echo DrupalApp_art_vmenu_output(isset($block->subject) ? $block->subject : '', isset($content) ? $content : '');?></div>
<div class="<?php if (isset($classes)) print $classes; ?>" id="<?php print $block_html_id; ?>"<?php print $attributes; ?>><?php echo DrupalApp_art_vmenu_output(isset($block->subject) ? $block->subject : '', isset($content) ? $content : '');?></div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment