I have a HTML conference website witch I have migrated to drupal, using COD package. I have very little knowledge of programming so I simply copied html code to page.tpl.php onto a zen subtheme. However I am unable to get my logo right.
Could any one tell me easiest way of fixing my menu. I want it to be dynamic.

Right now its static, and looks something like this:-

<nav class="navbar navbar-fixed-top wowmenu" role="navigation">
	<div class="container">
		<div class="navbar-header">
			<a class="navbar-brand logo-nav123" href="index.html"><img src="img/logo.png" alt="rACE 2016"></a>
		</div>
		<ul id="nav" class="nav navbar-nav pull-right">
			<li class="active"><a href="index.html">Home</a></li>
			<li class="dropdown">
			<a href="#" class="dropdown-toggle" data-toggle="dropdown">About <i class="icon-angle-down"></i></a>
			<ul class="dropdown-menu">
				<li><a href="organizing-committee.html">Organizing Committee </a></li>
                <li><a href="advisory-board.html">Advisory Board</a></li>
				<li><a href="#">Local Research (AMPL)</a></li>
				<li><a href="#" target="_blank">Department</a></li>
				<li><a href="#" target="_blank">ISMALL</a></li>
                <li><a href="#" target="_blank">ISAMPLL</a></li>
            </ul>
			</li>
            <li><a href="speakers.html">Speakers</a></li>
            <li><a href="#">Program </a></li>
            <li class="dropdown">
			<a href="#" class="dropdown-toggle" data-toggle="dropdown">Registration <i class="icon-angle-down"></i></a>
			<ul class="dropdown-menu">
				<li><a href="#">Pre-registration</a></li>
			</ul>
			</li>
            <li><a href="#">Abstract</a></li>
            <li class="dropdown">
			<a href="#" class="dropdown-toggle" data-toggle="dropdown">General Info <i class="icon-angle-down"></i></a>
			<ul class="dropdown-menu">
				<li><a href="#">Venue</a></li>
				<li><a href="#">How to get here?</a></li>
				<li><a href="#">Other information</a></li>
			</ul>
			</li>
			<li><a href="sponsors.html">Sponsors</a></li>
            <li><a href="contact.html">Contact</a></li>
		</ul>		
	</div>	
	</nav>

Comments

ravibarnwal’s picture

You can print the logo like this

<img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" class="header__logo-image" />

You should check all available variable in page.tpl.php in base theme templates.

page.tpl.php

John_B’s picture

Often it is better not to print the menu in page.tpl.php, but to remove it from the template and find the menu block, and position it on the site using the Blocks configuration page.

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors