Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Template not showing in Template Selection

Template not showing in Template Selection

Views: 7,832

Results 1 to 13 of 13
14 Sep 2006, 9:11 PM
#1
moon060 avatar

moon060

New Zenner

Join Date:
Sep 2006
Posts:
1
Plugin Contributions:
0

Template not showing in Template Selection

I just tried uploading the folders for a custom template but when I go to the admin Template Selection the custom template doesn't show up for me to update, it just shows the default templates. I went over the How do I create a new custom template FAQ and I did everything it said to do. So I'm having trouble figuring out why the template isn't showing up in the Template Selection?

15 Sep 2006, 1:48 AM
#2
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: Template not showing in Template Selection

Did you remember to include a template_info.php(template information file) into your new template folder ?

15 Sep 2006, 1:52 AM
#3
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,440
Plugin Contributions:
3

Re: Template not showing in Template Selection

What version are you using?
Is your template compatible with that version?

The folder should be uploaded to:
includes/templates/ --------- is it there? are ALL the folders and files there? At least you need a css folder and an images folder, plus you need the template info file.

IDEASLady
IDEAS Creative Studio

Your image... our business!

13 Jul 2010, 6:52 PM
#4
amoun avatar

amoun

New Zenner

Join Date:
Feb 2009
Posts:
11
Plugin Contributions:
0

Re: Template not showing in Template Selection

Just getting some life back into this as

a) there's no indication that it was resolved and
b) I have this problem in version 1.3.8 July 2010

13 Jul 2010, 7:00 PM
#5
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Template not showing in Template Selection

amoun:

Just getting some life back into this as

a) there's no indication that it was resolved and
b) I have this problem in version 1.3.8 July 2010

There is nothing to "resolve" really. The procedure for creating/installing a new template are logically explained in the Tutorials/FAQ:-
https://www.zen-cart.com/tutorials/index.php?article=142

If this relatively simple procedure is followed, then your new tempalte will be featured and can then be developed according to the principles of the over-ride system.

20 years a Zencart User

13 Jul 2010, 7:08 PM
#6
amoun avatar

amoun

New Zenner

Join Date:
Feb 2009
Posts:
11
Plugin Contributions:
0

Re: Template not showing in Template Selection

Thanks schoolboy

The template is easy enough to make i.e copy classic, rename folder and then amend template_info.php

but nothing shows. in [ tools -> template selection. Click the Edit button, then choose CUSTOM from the dropdown menu ]

I wondered if there could be a database setting that stops alternative templates being used?

13 Jul 2010, 7:21 PM
#7
amoun avatar

amoun

New Zenner

Join Date:
Feb 2009
Posts:
11
Plugin Contributions:
0

Re: Template not showing in Template Selection

More info

For example, if if edit the classic/template_info.php as follows

<?php
$template_name = 'my template';
$template_version = 'Version xxx';
$template_author = 'me and some';
$template_description = 'this doesn't show';
$template_screenshot = 'scr_template_default.jpg';
?>

none of changes show when I check the tools - template etc.

Seems as though the template_info.php file isn't being read

13 Jul 2010, 7:25 PM
#8
afo avatar

afo

Totally Zenned

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

Re: Template not showing in Template Selection

Are you saving the changed file to your custom folder? Something like includes/templates/YOUR_TEMPLATE/template_info.php (where YOUR_TEMPLATE is the name of your custom template).

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

13 Jul 2010, 7:48 PM
#9
amoun avatar

amoun

New Zenner

Join Date:
Feb 2009
Posts:
11
Plugin Contributions:
0

Re: Template not showing in Template Selection

afo:

Are you saving the changed file to your custom folder? Something like includes/templates/YOUR_TEMPLATE/template_info.php (where YOUR_TEMPLATE is the name of your custom template).

Hi afo
Thanks

Yes I created a new custom folder and amended the template_info.php
and i copied the classic folder and renamed it, changing its template_info.php

so each new custom folder in the includes/templates/custom folder has it's own template_info.php

I just don't seem to get them recognised,

plus there's the fact that amending info in the classic/template_info.php doesn't get picked up

so I think the zen cart just isn't checking the template folder and gets its info somewhere else

13 Jul 2010, 8:29 PM
#10
amoun avatar

amoun

New Zenner

Join Date:
Feb 2009
Posts:
11
Plugin Contributions:
0

Re: Template not showing in Template Selection

so I think the zen cart just isn't checking the template folder and gets its info somewhere else

What I mean is the template_info.php files are not being accessed as clearly files in the classic folder are being accessed (css etc)

13 Jul 2010, 9:32 PM
#11
amoun avatar

amoun

New Zenner

Join Date:
Feb 2009
Posts:
11
Plugin Contributions:
0

Re: Template not showing in Template Selection

From https://members.swcp.com/wiki/index.php?title=Zen_Skins

Once you've copied the template to your templates directory you can select it from the admin panel. Go to Tools --> Template Selection. Then press the Edit button. It will give you a pull down menu with all available templates. If you don't find a template you've copied over check to be sure you've copied the correct subdirectory, the one containing template_info.php. If you have then check your file permissions. The directory must be world readable.

Just don't get it why I don't get it :)

I still only have the idea that the template_info.php isn't being read even though permission are ok at 755

15 Jul 2010, 10:51 AM
#12
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Template not showing in Template Selection

What program are you using to edit the template_info.php file?

It may be that your editor is not a Plain Text editor and is fouling up the file.

20 years a Zencart User

17 Aug 2011, 10:51 AM
#13
valhalla1 avatar

valhalla1

New Zenner

Join Date:
Jun 2011
Posts:
16
Plugin Contributions:
0

Re: Template not showing in Template Selection

I am having this problem as well, I copied the whole template folder correctly, /includes/templates/my_template/template_info.php is there, permissions are correct, file format is correct, still can't get it to show up on the drop down menu