This forum is for assistance with theme development.

Is it possible to create a unique front page template using phptemplate?

I'm trying to create a new theme for my Drupal site, using the phptemplate theme engine. I would like to have the front page of my site have some content that isn't found on the rest of the site, and I'd like to create a template specific to the front page to accommodate this.

Is it possible to create something like an index.tpl.php template that will only be used as the front page of the site, with page.tpl.php used for everything else?

drupal_add_js() PHPtemplate and Drupal 4.7

Hello,

I am trying to use drupal_add_js(base_path() . path_to_theme()."/myscript.js") in the top of my node.tpl.php file for a theme I am developing for Drupal 4.7. No matter what I do I can't make it include any javascript files using this function. The documentation for this function says it will include the .js file and also include the misc/drupal.js file, which I need to make this theme work.

What am I doing wrong?

New to Drupal - Need help with making my own theme. Please help!!!

Hi, I'm new to Drupal and a complete right brain creative (not good with code)
I have a CSS site design and need to know the next step to make it a theme. Can
anyone help?...Please!!! thanks.

E-Commerce pages, templates, etc.; Importing product listings

I am currently building a Drupal E-Commerce site for a parts manufacturer / distributor. I have a few items on my agenda that I need help with ASAP:

How do I get Secondary links displayed on Sidebar

Hi all,

I need to get the Secondary Links (sub-primary links) to be displayed on the Sidebar. After searching for hours, I have been unable to find any help on getting this done. How do I do it? I've tried posting this in a block and setting that on the left sidebar, but nothing appears.

<ul id="menu">
		<?php foreach ($secondary_links as $link): ?>
		<li><?php print $link?></li>
		<?php endforeach; ?>
</ul>

Help!

Sands theme - font size?

Dumb questions but how do I make the font for the body of each article or story smaller. I have looked at each of the .css files but still can't see what I need to change. Looks like I need to change a 1em to a .6em or summin like that ??

TIA
Richard

Pages

Subscribe with RSS Subscribe to RSS - Theme development