Forums / Addon Templates / installed template not showing in dropdown list

installed template not showing in dropdown list

Views: 3,097

Results 1 to 16 of 16
1 Jun 2011, 6:12 PM
#1
discoverytdi avatar

discoverytdi

Totally Zenned

Join Date:
May 2011
Location:
Sunny Rossendale (not)
Posts:
562
Plugin Contributions:
0

installed template not showing in dropdown list

Hi just uploaded a different template as per how too found here http://www.geraelindsey.com/zencart-1-3-8-tutorials/installing-new-templates-in-zencart but it's not showing in the dropdown list in template selection. Ive checked in the includes/teplates folder and it is there, have I missed something
Cheers Peter

What ever your doing remember to KISS ( Keep It Simple Stupid )

1 Jun 2011, 7:13 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: installed template not showing in dropdown list

Zencart looks for the template_info.php file in each template's 'home' directory (includes/templates/YOUR_TEMPLATE_NAME) to build the list in admin, so I would suspect that file isn't in that folder for your new template.

1 Jun 2011, 8:25 PM
#3
discoverytdi avatar

discoverytdi

Totally Zenned

Join Date:
May 2011
Location:
Sunny Rossendale (not)
Posts:
562
Plugin Contributions:
0

Re: installed template not showing in dropdown list

stevesh:

Zencart looks for the template_info.php file in each template's 'home' directory (includes/templates/YOUR_TEMPLATE_NAME) to build the list in admin, so I would suspect that file isn't in that folder for your new template.
this is the result in file manager /public_html/zen/includes/templates/Cherry Zen 1.8

What ever your doing remember to KISS ( Keep It Simple Stupid )

1 Jun 2011, 9:09 PM
#4
discoverytdi avatar

discoverytdi

Totally Zenned

Join Date:
May 2011
Location:
Sunny Rossendale (not)
Posts:
562
Plugin Contributions:
0

Re: installed template not showing in dropdown list

Rite made sure the template_info.php is in the template folder still no joy and theres no mentiion of the install proceedure in the manual I downloaded :oops: is there an idiots guide somewhere save me asking dumb questions
Cheers Peter zen vigin

What ever your doing remember to KISS ( Keep It Simple Stupid )

2 Jun 2011, 11:14 AM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: installed template not showing in dropdown list

You need to drag and drop the includes folder from the mod to the root (top) directory of your store, not the folder you referenced. The Cherry Zen template includes a very complete installation guide in a read me file.

2 Jun 2011, 2:24 PM
#6
discoverytdi avatar

discoverytdi

Totally Zenned

Join Date:
May 2011
Location:
Sunny Rossendale (not)
Posts:
562
Plugin Contributions:
0

Re: installed template not showing in dropdown list

stevesh:

You need to drag and drop the includes folder from the mod to the root (top) directory of your store, not the folder you referenced. The Cherry Zen template includes a very complete installation guide in a read me file.

:oops: whose a :censored: muppet ME

What ever your doing remember to KISS ( Keep It Simple Stupid )

2 Jul 2011, 7:58 AM
#7
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

Re: installed template not showing in dropdown list

I thought i would check out the cherry_zen template for fun and it installed okay. I have not done an additional template in years always used my custom_template. So I triple checked where everything went and they were right.

But my custom_template is now gone!
Just Cherry and Classic Contemporary green were the choices?
I rechecked and I had everything where it is supposed to be, so I removed Cherry and its files with no luck.
Now I only have Classic C. Green.
I did no overrides.

Did I break my cart? My custom_template files are still there and yes I tried Admin reset (on classic green).
But I can't choose from list my own tried and true template in admin.
Any clues I may look at?:(

Justwade
Zen 1.5.5f
Zen 1.3.9h*, Zen 1.27 + (did that, done with that)*

2 Jul 2011, 10:17 AM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: installed template not showing in dropdown list

See post #2, and check to see if that file is in the includes/templates/YOUR_CUSTOM_TEMPLATE folder.

2 Jul 2011, 6:47 PM
#9
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

Re: installed template not showing in dropdown list

Yes it is there, always was, I did not accidentally remove it or anything else. The last time it was in my admin list was when I saw the "Choice" of cherry or green classic. When I picked cherry and only looked around for about 5 min. and went back to admin, my Custom_template choice was gone in admin, but none of my files on the server.
I did back up first, I am about to try that for just the catalog files and not the DB hoping the DB did not get changed. (I did not use the SQL option for cherry, just the install files)

Thank you for your response.

Justwade
Zen 1.5.5f
Zen 1.3.9h*, Zen 1.27 + (did that, done with that)*

2 Jul 2011, 7:40 PM
#10
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

Re: installed template not showing in dropdown list

Well, I reinstalled my backup of catalog/.... and still no my_custom_template as choice in admin, just the classic green.
I did not think this type of template install would change the DB, but is that possible?:dontgetit

Justwade
Zen 1.5.5f
Zen 1.3.9h*, Zen 1.27 + (did that, done with that)*

2 Jul 2011, 8:46 PM
#11
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: installed template not showing in dropdown list

Technically, if the template_info.php file is in includes/templates/YOUR_TEMPLATE folder, and its content is correct ($template_name = 'YOUR_TEMPLATE_NAME';) the option has to be there in admin. I'd check that file.

This has nothing to do with the database.

2 Jul 2011, 9:20 PM
#12
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

Re: installed template not showing in dropdown list

I had just tried reinstalling my DB from the Full Cpanel Backup, just done before I installed Cherry. I forgot to do a DB backup from my instruction sheet that I normally do as well (found in the FAQs DB Backups). That is the one that describes what to check off. I hope that "Full Cpanel Backup DB" is okay to use as is(?) I also followed the DB restore from the above FAQ DB.

Anyway that DB restore fixed it, that is my template now is back. But it is not in the admin choices, only Classic green ( I won't be trying a change until I find out what happened).:unsure:

Justwade
Zen 1.5.5f
Zen 1.3.9h*, Zen 1.27 + (did that, done with that)*

2 Jul 2011, 9:29 PM
#13
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

Re: installed template not showing in dropdown list

Forgot to add, did this DB restore before your reply.

I have installed from new 1.39h build;

CSS Flyout Menu
Image Handler_v2 rev 8c
Simple Google Anaytics
super tracker
sitemapxml
all done last year from a rebuild of older version and existing DB

Thank you,

Justwade
Zen 1.5.5f
Zen 1.3.9h*, Zen 1.27 + (did that, done with that)*

2 Jul 2011, 9:43 PM
#14
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

Re: installed template not showing in dropdown list

stevesh:

Technically, if the template_info.php file is in includes/templates/YOUR_TEMPLATE folder, and its content is correct ($template_name = 'YOUR_TEMPLATE_NAME';) the option has to be there in admin. I'd check that file.

This has nothing to do with the database.

Da, my bad, I had to re re re read your post and prior posts to get it. :blush:
template_info.php "was not" in MY_template folder. Never was for years. I never knew I needed to add it but then I never tried to change it.

Now I am not sure about that DB restore I did that made me think I fixed it.

Justwade
Zen 1.5.5f
Zen 1.3.9h*, Zen 1.27 + (did that, done with that)*

3 Jul 2011, 10:47 AM
#15
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: installed template not showing in dropdown list

Partly my mistake, too. When you do select a custom template in admin, it writes the name of the custom folders to the template_select table in the database.

When you restored the database, the name of your custom template was still there, and as long as you have the custom template folders in place, Zencart will use that template. You'll still need to have the template_info.php file in place for it to show up in the admin dropdown.

4 Jul 2011, 12:30 AM
#16
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

Re: installed template not showing in dropdown list

I had put template_info.php copy from the template_default in my_template folder and sure enough there it is in the admin list. I would have never thought of that without your help! All is back to what it was before I got in a creative mood. I need to work on more sales anyway.
Thanks again :cool:

Justwade
Zen 1.5.5f
Zen 1.3.9h*, Zen 1.27 + (did that, done with that)*