I just installed drupal 4.6 and had problems with the display on the first page. I read the following,
http://www.google.com/search?q=%7Bhead%7D%20%7Bstyles%7D%20drupal
which suggested to install PHPTemplates, which I did according to this:
I logged out, restarted apache and mysql, logged in, and went to administration -> themes. All I see are the original 4 themes and none of the new PHPtemplate themes.
What do I need to do to enable the PHPTemplate themes?
Thanks from a new drupal user - Member for: 33 min 27 sec
Mark Phillips wrote:
I just installed drupal 4.6 and had problems with the display on the first page. I read the following,
http://www.google.com/search?q=%7Bhead%7D%20%7Bstyles%7D%20drupal
which suggested to install PHPTemplates, which I did according to this:
I logged out, restarted apache and mysql, logged in, and went to administration -> themes. All I see are the original 4 themes and none of the new PHPtemplate themes.
What do I need to do to enable the PHPTemplate themes?
is the phptemplate engine in the engine directory and the new phptemplate theme in the theme directory?
/|\
Terry Richards wrote:
Mark Phillips wrote:
I just installed drupal 4.6 and had problems with the display on the first page. I read the following, http://www.google.com/search?q=%7Bhead%7D%20%7Bstyles%7D%20drupal
which suggested to install PHPTemplates, which I did according to this:
I logged out, restarted apache and mysql, logged in, and went to administration -> themes. All I see are the original 4 themes and none of the new PHPtemplate themes.
What do I need to do to enable the PHPTemplate themes?
is the phptemplate engine in the engine directory and the new phptemplate theme in the theme directory?
if you placed the new phptemplate bluemarine theme in the themes directory then it looks the similar there
/|\
Terry,
These are the instructions I followed at http://drupal.org/node/15285 (Installing PHPTemplate):
1. Download the latest release of the PHPTemplate Engine 2. Upload this folder into the drupal_base/themes/engines directory on your site.
These are the files in the PHPTemplate folder I unpacked - LICENSE.txt box.tpl.php default.tpl.php phptemplate.engine template.php block.tpl.php comment.tpl.php node.tpl.php readme.txt
I am supposed to copy all the *.tpl.php files to drupal_base/themes directory? What about the template.php file?
Also, the readme file did not include this crucial step, either.
Thanks!
Mark
On Wednesday 12 April 2006 09:40 am, Terry Richards wrote:
Mark Phillips wrote:
I just installed drupal 4.6 and had problems with the display on the first page. I read the following,
http://www.google.com/search?q=%7Bhead%7D%20%7Bstyles%7D%20drupal
which suggested to install PHPTemplates, which I did according to this:
I logged out, restarted apache and mysql, logged in, and went to administration -> themes. All I see are the original 4 themes and none of
the
new PHPtemplate themes.
What do I need to do to enable the PHPTemplate themes?
is the phptemplate engine in the engine directory and the new phptemplate theme in the theme directory?
/|\
-- [ Drupal support list | http://lists.drupal.org/ ]
Mark Phillips wrote:
Terry,
These are the instructions I followed at http://drupal.org/node/15285 (Installing PHPTemplate):
- Download the latest release of the PHPTemplate Engine
- Upload this folder into the drupal_base/themes/engines directory on your
site.
These are the files in the PHPTemplate folder I unpacked - LICENSE.txt box.tpl.php default.tpl.php phptemplate.engine template.php block.tpl.php comment.tpl.php node.tpl.php readme.txt
I am supposed to copy all the *.tpl.php files to drupal_base/themes directory? What about the template.php file?
FYI, drupal_base isn't a literal directory name. It's whatever directory you put your drupal into. Not sure if that's a problem or not, but it seemed like a good idea to make sure it was pointed out.
Earl,
Thanks for the thought!
I figured out that the template engine did not contain any templates. doh! I found the templates and installed them and it now works!
Mark
On Wednesday 12 April 2006 11:13 am, Earl Miles wrote:
Mark Phillips wrote:
Terry,
These are the instructions I followed at http://drupal.org/node/15285 (Installing PHPTemplate):
- Download the latest release of the PHPTemplate Engine
- Upload this folder into the drupal_base/themes/engines directory on
your
site.
These are the files in the PHPTemplate folder I unpacked - LICENSE.txt box.tpl.php default.tpl.php phptemplate.engine template.php block.tpl.php comment.tpl.php node.tpl.php readme.txt
I am supposed to copy all the *.tpl.php files to drupal_base/themes
directory?
What about the template.php file?
FYI, drupal_base isn't a literal directory name. It's whatever directory you put your drupal into. Not sure if that's a problem or not, but it seemed like a good idea to make sure it was pointed out. -- [ Drupal support list | http://lists.drupal.org/ ]
On Wednesday 12 April 2006 10:55 am, Mark Phillips wrote:
Terry,
These are the instructions I followed at http://drupal.org/node/15285 (Installing PHPTemplate):
- Download the latest release of the PHPTemplate Engine
- Upload this folder into the drupal_base/themes/engines directory on your
site.
These are the files in the PHPTemplate folder I unpacked - LICENSE.txt box.tpl.php default.tpl.php phptemplate.engine template.php block.tpl.php comment.tpl.php node.tpl.php readme.txt
I am supposed to copy all the *.tpl.php files to drupal_base/themes directory? What about the template.php file?
No. Once the engine is in place, Drupal just starts using it w/any themes that require it. Any themes that modify the base have their own copies of those files in their directory. Did you download and install any PHPTemplate themes? Druapl 4.6 only includes XTemplate based themes (which is why you got the {head} {styles}).
The PHPTemplate version of Bluemarine: drupal/themes/bluemarine: block.tpl.php box.tpl.php comment.tpl.php LICENSE.txt logo.png node.tpl.php page.tpl.php README.txt screenshot.png style.css
The XTemplate version of Bluemarine: drupal/themes/bluemarine: logo.png screenshot.png style.css xtemplate.xtmpl
The contents of the theme engines directory: drupal/themes/engines: phptemplate xtemplate