This forum is for assistance with theme development.

How to have a custom login form in a xtemplate based theme

Hi all,
in Drupal handbook I found a snippet of PHP code that creates a custom login form that you can put close primary links.
since this code is made for PHPtemplate based themes, I would like to know WHERE to put this code inside an xtemplate based theme; in a few words, I would like to understand which is the right place to put such code (a module, inside engine, or whereever else ??).

thanks for your help

Matteo

Cantincoro

Pushbutton theme, better Peekaboo bug fix

The background arrow was still overlaping titles. Using z-index: -1 fixes it.

segment of style.css =>

#main {
/* padding in px not ex because IE messes up 100% width tables otherwise */
padding: 30px 35px 50px 35px;
/*background: transparent url(background.png) no-repeat center; */
background-image: url(background.png);
background-repeat: no-repeat;
background-attachment: scroll;
background-position: center;

/* fix background overlapping text in IE (aka Peekaboo Bug) */
/* position: relative; */

circuit

Hey everybody!

Check out my site. It has just started out a couple of days ago, but I'm sure it will grow into a huge community. Currently I only have 2 users, so please join to my community. My site features mostly on tech news and news from around the world. I complie news about softwares, games, tech, science, etc. from a lot of different sites, so I do have a lot of those. It also has games, and other things, please join!

circuit - get connected.

which themeing system to use ?

Hello

I am in the process of creating a website using Drupal. There are several options to develop themes, but I'd like to know which one I should be using. With all the Drupal upgrades, I'd like to develop my theme using something that will be supported in the future.

thanks
Leo

Output a specific block outside of the default block-regions in page.tpl.php

Is it possible to do something ~like this in page.tpl.php (outside of either of the two default block regions)?

<?php if (block_exists('block-45')) : ?>
     <div id="banner"><?php print block-45() ?></div>
<?php endif; ?>

warning: fetch(): Failed opening 'themes/leaf/page.tpl.php' for inclusion

I got the following error when I add in new themes to /srv/www/htdocs/drupal/themes/
I even tried changing the include path in php.ini but still got the following errors:

warning: fetch(themes/leaf/page.tpl.php): failed to open stream: No such file or directory in /srv/www/htdocs/drupal/themes/engines/phptemplate/template.php on line 92.

warning: fetch(): Failed opening 'themes/leaf/page.tpl.php' for inclusion (include_path='.:/srv/www/htdocs/drupal/includes') in /srv/www/htdocs/drupal/themes/engines/phptemplate/template.php on line 92.

Thanks!

Pages

Subscribe with RSS Subscribe to RSS - Theme development