|
CMS - Content Management Systems
|
|
Wednesday, 21 October 2009 11:28 |
|
I have written down some important info, that you might need when installing new Drupal site.
creating theme.info file ---------------------------------------------------------------------- name = reno description = Tabled, multi-column theme in blue and orange tones. version = VERSION core = 6.x engine = phptemplate
stylesheets[all][] = css.css
regions[sidebar] = Sidebar regions[page_title] = Page title regions[content_top] = Content top regions[content] = Content
TEMPLATE MARKUP ------------------------------ <?php print $content ?>
<?php if ($logged _in): ?> <?php endif; ?>
<?php if ($links): ?> <div class="links"><?php print $links; ?></div> <?php endif; ?>
basic tpl.php FILES ---------------------------- page.tpl.php block.tpl.php node.tpl.php box.tpl.php comments.tpl.php
node-blog.tpl.php node-story.tpl.php page-front.tpl.php
default page.tpl.php - where you can find default page.tpl.php and use the markup --------------------------------- modules/system/page.tpl.php
MARKUP IN HTML --------------------------------- <?php print $front_page; ?> print the link to home page - usable for banner href <?php print $site_name; ?> print the site name, for example in title tag <?php print $site_slogan; ?> print the site name, for example in title tag <?php print $breadcrumb; ?> <?php print $search_box; ?> <?php print theme('links', $primary_links, array('class' => 'links primary-links')); ?> - print primary links <?php print theme('links', $secondary_links, array('class' => 'links secondary-links')); ?> - print secondary links <?php print $footer_message; ?> <?php print $closure; ?> put before </body> - needed by some modules
|
Dragon Naturally Speaking I complete...
Newly Updated Bookmarking Sites 2012 ...
Great thanks, looks like i have alot ...
I totally agree that the taxonomy suc...
Hey There. DId you resolve your p...
yes you are right, this company is ho...
For years and years now I have been r...
Thanks for posting this great article...
I just bought this dvd 1 week ago and...
Excellent read, I just passed this on...
Really meaningful picture
whats wrong with taxonomy, yes Joomla...
I love drupal in-fact I have now desi...
great work, how much you charge per p...
I agree that "the profiles are of...