Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Help- trying to get template.

Help- trying to get template.

Locked

Views: 6,241

Results 21 to 34 of 34
This thread is locked. New replies are disabled.
20 Apr 2007, 4:13 PM
#21
digidollardays avatar

digidollardays

New Zenner

Join Date:
Apr 2007
Posts:
59
Plugin Contributions:
0

Help- trying to get template.

gjh42:

Well, you do have the right folders in your /custom/ folder. I presume one of the templ... files there is template_info.php? That is essential for getting your template recognized. What does it say about the template name etc?

I just checked my ftp and yes, I have the template_info.php..I just logged back in to admin and it shows only the contemporary green as a dropdown no other choices.

20 Apr 2007, 4:23 PM
#22
digidollardays avatar

digidollardays

New Zenner

Join Date:
Apr 2007
Posts:
59
Plugin Contributions:
0

Re: Help- trying to get template.

gjh42:

You say you're not getting any tempate choice beside Classic. The current template is all that shows in the main display, but below the edit button you should see

Templates Installed
Preview Your_Template_Name

Is it there?
I click on the dropdown box and the only choice is the classic-contemporary green

20 Apr 2007, 4:26 PM
#23
digidollardays avatar

digidollardays

New Zenner

Join Date:
Apr 2007
Posts:
59
Plugin Contributions:
0

Re: Help- trying to get template.

digidollardays:

I click on the dropdown box and the only choice is the classic-contemporary green

For some reason-it is installed twice....

20 Apr 2007, 5:28 PM
#24
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Help- trying to get template.

digidollardays:

For some reason-it is installed twice....

One of them is your template. Edit includes/templates/YOUR_TEMPLATE/template_info.php and change the information to make it unique to your template. Upload (FTP) it to the correct folder on your server. The drop down menu should change.

20 Apr 2007, 6:14 PM
#25
digidollardays avatar

digidollardays

New Zenner

Join Date:
Apr 2007
Posts:
59
Plugin Contributions:
0

Re: Help- trying to get template.

afo:

One of them is your template. Edit includes/templates/YOUR_TEMPLATE/template_info.php and change the information to make it unique to your template. Upload (FTP) it to the correct folder on your server. The drop down menu should change.

I did that-I changed the name to 'digi dollar days' but now instead of two-there is only the contemporary green and NO Digi Dollar Days.

20 Apr 2007, 6:18 PM
#26
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Help- trying to get template.

Exactly what do you have in your template_info.php?
From descriptions of behavior so far, there has to be some missing or incorrect info there.
And exactly what is the path to your template, starting at /includes/?

20 Apr 2007, 6:50 PM
#27
digidollardays avatar

digidollardays

New Zenner

Join Date:
Apr 2007
Posts:
59
Plugin Contributions:
0

Re: Help- trying to get template.

gjh42:

Exactly what do you have in your template_info.php?
From descriptions of behavior so far, there has to be some missing or incorrect info there.
And exactly what is the path to your template, starting at /includes/?

Here is my template_info.php...

<?php /** * Template Information File * * @package templateSystem * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: template_info.php 4226 2006-08-24 02:23:25Z drbyte $ */ $template_name = 'TEST'; $template_version = ''; $template_author = 'Jen'; $template_description = 'test for digidollardays.net'; $template_screenshot = ''; ?>

It is in includes-templates-CUSTOM-templates-then template_info_test.php

20 Apr 2007, 6:55 PM
#28
digidollardays avatar

digidollardays

New Zenner

Join Date:
Apr 2007
Posts:
59
Plugin Contributions:
0

Re: Help- trying to get template.

Here is a screenshot of my admin-in the dropdown box...the only one there is Contemporary Green.....

20 Apr 2007, 6:58 PM
#29
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Help- trying to get template.

$template_name = 'TEST';
$template_version = '';
$template_author = 'Jen';
$template_description = 'test for digidollardays.net';
$template_screenshot = '';
?>

Change $template_name to 'Custom", just because that is more relevant.

The big thing is that the path and filename MUST be exactly what the code expects:

/includes/templates/CUSTOM/template_info.php

(And on another note, it is generally better practice to use all lowercase in file and folder names. Uppercase may sometimes cause problems with certain kinds of systems... or so I hear.)

20 Apr 2007, 10:18 PM
#30
avlis avatar

avlis

New Zenner

Join Date:
Apr 2007
Location:
Texas
Posts:
16
Plugin Contributions:
0

Re: Help- trying to get template.

gjh42:

$template_name = 'TEST';
$template_version = '';
$template_author = 'Jen';
$template_description = 'test for digidollardays.net';
$template_screenshot = '';
?>

Change $template_name to 'Custom", just because that is more relevant.

The big thing is that the path and filename MUST be exactly what the code expects:

/includes/templates/CUSTOM/template_info.php

(And on another note, it is generally better practice to use all lowercase in file and folder names. Uppercase may sometimes cause problems with certain kinds of systems... or so I hear.)
Case (upper case / lower case) definitely makes a difference for folder names on our web sites. I learned the hard way.

I created a folder name Items and later, for some reason, while adding pages, I typed it items. Still later, I tried to update, and published the updated pages over and over and over but the changes didn't show up. I finally spotted the problem: I was updating to /items but the folder that the web pages were linking to was /Items.

Pretty hard to tell the difference when your eyes are worn out after 60 years of overuse.

21 Apr 2007, 1:52 AM
#31
digidollardays avatar

digidollardays

New Zenner

Join Date:
Apr 2007
Posts:
59
Plugin Contributions:
0

Re: Help- trying to get template.

gjh42:

$template_name = 'TEST';
$template_version = '';
$template_author = 'Jen';
$template_description = 'test for digidollardays.net';
$template_screenshot = '';
?>

Change $template_name to 'Custom", just because that is more relevant.

The big thing is that the path and filename MUST be exactly what the code expects:

/includes/templates/CUSTOM/template_info.php

(And on another note, it is generally better practice to use all lowercase in file and folder names. Uppercase may sometimes cause problems with certain kinds of systems... or so I hear.)

:clap: :clap: Thanks so much! It was the capatilzation,. It is there now-now I can have fun.

21 Apr 2007, 1:54 AM
#32
digidollardays avatar

digidollardays

New Zenner

Join Date:
Apr 2007
Posts:
59
Plugin Contributions:
0

Re: Help- trying to get template.

Avlis:

Case (upper case / lower case) definitely makes a difference for folder names on our web sites. I learned the hard way.

I created a folder name Items and later, for some reason, while adding pages, I typed it items. Still later, I tried to update, and published the updated pages over and over and over but the changes didn't show up. I finally spotted the problem: I was updating to /items but the folder that the web pages were linking to was /Items.

Pretty hard to tell the difference when your eyes are worn out after 60 years of overuse.

Thank you :) I finally got it:D

21 Apr 2007, 2:16 AM
#33
motti avatar

motti

Zen Follower

Join Date:
Feb 2007
Location:
Los Angeles
Posts:
348
Plugin Contributions:
0

Re: Help- trying to get template.

Congrat :clap:

was folowing u , u been thru alot with this one , hope the rest will be easy for u

:smile:

22 Apr 2007, 1:26 PM
#34
digidollardays avatar

digidollardays

New Zenner

Join Date:
Apr 2007
Posts:
59
Plugin Contributions:
0

Re: Help- trying to get template.

motti:

Congrat :clap:

was folowing u , u been thru alot with this one , hope the rest will be easy for u

:smile:

Thanks for your help