Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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 ??).
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!
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.
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.