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

Help- trying to get template.

Locked

Views: 6,241

Results 1 to 20 of 34
This thread is locked. New replies are disabled.
19 Apr 2007, 12:10 AM
#1
digidollardays avatar

digidollardays

New Zenner

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

Help- trying to get template.

I recently did all steps in this tutorials...

https://www.zen-cart.com/tutorials/index.php?article=142

When it says to upload /custom folder to server. I already have it on my FTP. I don't know how to upload it to my server any other way. When I log in and go to Tools-Template-my default (contemporary green) is there...no other template.

Can anyone help?

Thanks

19 Apr 2007, 12:23 AM
#2
motti avatar

motti

Zen Follower

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

Re: Help- trying to get template.

digidollardays:

I recently did all steps in this tutorials...

https://www.zen-cart.com/tutorials/index.php?article=142

When it says to upload /custom folder to server. I already have it on my FTP. I don't know how to upload it to my server any other way. When I log in and go to Tools-Template-my default (contemporary green) is there...no other template.

Can anyone help?

Thanks

Hi
i am a new to web site , but from what i already learn is whan the say custom the mean your template , and you should create this custom folder in to your-template ( what ever you call it )
"Open includes/templates/ and create a new folder. You can call it anything you like, though it is best not to make it too long and to use underscores instead of spaces. We will call it /CUSTOM here, so everywhere we write /CUSTOM from now on, you should replace it with your own folder name. "

hope i helpd

19 Apr 2007, 12:47 AM
#3
digidollardays avatar

digidollardays

New Zenner

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

Re: Help- trying to get template.

motti:

Hi
i am a new to web site , but from what i already learn is whan the say custom the mean your template , and you should create this custom folder in to your-template ( what ever you call it )
"Open includes/templates/ and create a new folder. You can call it anything you like, though it is best not to make it too long and to use underscores instead of spaces. We will call it /CUSTOM here, so everywhere we write /CUSTOM from now on, you should replace it with your own folder name. "

hope i helpd

Yes, thank you. I had already done that. At the end of the tutorial it says to move /custom folder to your server. How do I do that?

TIA

19 Apr 2007, 12:54 AM
#4
motti avatar

motti

Zen Follower

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

Re: Help- trying to get template.

digidollardays:

Yes, thank you. I had already done that. At the end of the tutorial it says to move /custom folder to your server. How do I do that?

TIA

Hi

i use file call filezile this is how i move file or anything from my computer to the server
you can get it here download this program and if you need help setting it up let me know
http://downloads.sourceforge.net/filezilla/FileZilla_2_2_31_setup.exe?modtime=1172667588&big_mirror=0

19 Apr 2007, 1:58 AM
#5
digidollardays avatar

digidollardays

New Zenner

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

Re: Help- trying to get template.

motti:

Hi

i use file call filezile this is how i move file or anything from my computer to the server
you can get it here download this program and if you need help setting it up let me know
http://downloads.sourceforge.net/filezilla/FileZilla_2_2_31_setup.exe?modtime=1172667588&big_mirror=0

Thank you:)

I do have an FTP program to move the files, but it hasn't worked:(

19 Apr 2007, 2:09 AM
#6
motti avatar

motti

Zen Follower

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

Re: Help- trying to get template.

Sorry

as i say on my first post i am limited on my knowledge in web site , just wait and hope some one will answer you quick

myself i am waiting for days for some help on some problems i have myself :smile:

Good Luck

19 Apr 2007, 3:34 AM
#7
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.

It is extremely difficult to say without being able to see.

Exactly what folders/files did you create and upload to your website? Please list them.

19 Apr 2007, 5:53 PM
#8
digidollardays avatar

digidollardays

New Zenner

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

Re: Help- trying to get template.

motti:

Sorry

as i say on my first post i am limited on my knowledge in web site , just wait and hope some one will answer you quick

myself i am waiting for days for some help on some problems i have myself :smile:

Good Luck

Thank you:) I appreciate your help:)

19 Apr 2007, 7:49 PM
#9
digidollardays avatar

digidollardays

New Zenner

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

Re: Help- trying to get template.

afo:

It is extremely difficult to say without being able to see.

Exactly what folders/files did you create and upload to your website? Please list them.

I created the CUSTOM folders as in the tutorial and copied the classic folders into the CUSTOM, Am I supposed to move my classic folder under templates to my C drive inorder for the server to recognize the CUSTOM folder as primary?

My admin Zen Cart under tools-templates still only has my contemorary green as a choice. No other choices.

TIA~

Jen

19 Apr 2007, 7:54 PM
#10
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.

I'm still not sure what you did.

Where did you create the folders? On your local computer or on your server?

If you created them locally, did you upload them to the correct places on your server?

You don't need to copy the entire contents of the /classic/ folder to create a custom template. Only copy the files you need to change. It makes updating/upgrading easier because you've isolated the files you actually modified.

To create a very basic custom template (you can build from there), you need:
includes/languages/YOUR_TEMPLATE/english.php
includes/languages/english/YOUR_TEMPLATE/index.php
includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
includes/templates/YOUR_TEMPLATE/template_info.php
includes/templates/YOUR_TEMPLATE/common/tpl_header.php
includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
includes/templates/YOUR_TEMPLATE/images/logo.gif
includes/templates/YOUR_TEMPLATE/css/stylesheet.css

Anywhere you see a /classic/ folder, you can create a folder for your custom template. You can copy the necessary files from either the /classic/ folder, the /template_default/ folder or the parent folder.

19 Apr 2007, 7:54 PM
#11
gjh42 avatar

gjh42

Black Belt

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

Re: Help- trying to get template.

Did you edit the template_info.php file to reflect your custom name etc?
Leave your /custom/ folders exactly where they are, next to the /classic/ folders.

If you are using the Classic template for a base, you do need all the /classic/ files, as any that are not found in your /custom/ folders will be taken from /template_default, not from /classic/.

19 Apr 2007, 8:13 PM
#12
digidollardays avatar

digidollardays

New Zenner

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

Re: Help- trying to get template.

afo:

I'm still not sure what you did.

Where did you create the folders? On your local computer or on your server?

If you created them locally, did you upload them to the correct places on your server?

You don't need to copy the entire contents of the /classic/ folder to create a custom template. Only copy the files you need to change. It makes updating/upgrading easier because you've isolated the files you actually modified.

To create a very basic custom template (you can build from there), you need:
includes/languages/YOUR_TEMPLATE/english.php
includes/languages/english/YOUR_TEMPLATE/index.php
includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
includes/templates/YOUR_TEMPLATE/template_info.php
includes/templates/YOUR_TEMPLATE/common/tpl_header.php
includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
includes/templates/YOUR_TEMPLATE/images/logo.gif
includes/templates/YOUR_TEMPLATE/css/stylesheet.css

Anywhere you see a /classic/ folder, you can create a folder for your custom template. You can copy the necessary files from either the /classic/ folder, the /template_default/ folder or the parent folder.

I created them on myserver. And yes,

19 Apr 2007, 8:14 PM
#13
digidollardays avatar

digidollardays

New Zenner

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

Re: Help- trying to get template.

digidollardays:

I created them on myserver. And yes,

Under includes/languages/classic-it is empty. Could that be my problem?

19 Apr 2007, 8:15 PM
#14
digidollardays avatar

digidollardays

New Zenner

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

Re: Help- trying to get template.

digidollardays:

Under includes/languages/classic-it is empty. Could that be my problem?

Here is the page as it looks with the Zen Cart template...

http://digidollardays.net/store/index.php?main_page=

19 Apr 2007, 8:43 PM
#15
gjh42 avatar

gjh42

Black Belt

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

Re: Help- trying to get template.

I understand that the latest version of the Classic template only has a stylesheet, a couple of images, and maybe one or two other files, so it's ok for many of those folders to be empty. They serve mainly as markers for where to put override folders.

20 Apr 2007, 12:08 AM
#16
digidollardays avatar

digidollardays

New Zenner

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

Re: Help- trying to get template.

gjh42:

I understand that the latest version of the Classic template only has a stylesheet, a couple of images, and maybe one or two other files, so it's ok for many of those folders to be empty. They serve mainly as markers for where to put override folders.

Okay-

Thank you. So, I have all my files correct and I still am not getting a choice in my admin for another template besides my contemporary green.

20 Apr 2007, 12:51 PM
#17
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.

It's highly unlikely you've gotten everything correct. Please humor me and try the list of folders/files I posted earlier. Call the template "test" or something like that. Don't forget to edit includes/templates/YOUR_TEMPLATE/template_info.php to give your template some identifying information.

I made that list when I created the template you can see here.

20 Apr 2007, 1:59 PM
#18
digidollardays avatar

digidollardays

New Zenner

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

Re: Help- trying to get template.

I am not understanding what you mean-so here are some screenshots...

Sorry to be so lost on all this..CUSTOM is the name of my folder and Clasic is the folder from Zen Cart

20 Apr 2007, 2:32 PM
#19
gjh42 avatar

gjh42

Black Belt

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

Re: Help- trying to get template.

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?

20 Apr 2007, 3:00 PM
#20
gjh42 avatar

gjh42

Black Belt

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

Re: Help- trying to get template.

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?