If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / sorry, i'm lost.....

sorry, i'm lost.....

Locked

Started by overmyhead on 24 Jun 2007, 2:42 AM · Views: 1,157

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
24 Jun 2007, 2:42 AM
#1
overmyhead avatar

overmyhead

New Zenner

Join Date:
Jun 2007
Posts:
26
Plugin Contributions:
0

sorry, i'm lost.....

I know just enought to be a danger to myself and others....

I have filezilla, notepad++, zencart installed on by my host godaddy...
Zencart 1.3.7 http://shadycreekonline.com/zcart

Tried to upload a template, that didn't work...I tried to upload the whole file to zcart from filezilla, it went thru, but guess it's in the wrong place...

I understand changing code a little in notepad. I have made some changes, but where exactly to I load this file back to? The left hand side of filezilla, has so many files!

I think I might have already messed up, the admin templates lists green and default, but the default doesn't work properly. Should I reinstall? or it doesn't matter?

Sorry to bother, I've been working for days now and have read and read, print out sheet after sheet, I just can't grasp the basics! Everything says upload, ok..but where to exactly or does it not matter?
Thank you in advance for any help.:frusty:

endeavour to persevere!

my site: **shadycreekonline.com**

24 Jun 2007, 3:03 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: sorry, i'm lost.....

If you also expand Zen Cart in a local directory you can see that there are files in particular folders...If you edit one of them - where did you retreive this file from to edit? Basically that is where you upload it to.

Templates: most are pre-packaged in the Zen cart file structure and after expanding on your local you can FTP the "includes" folder to your host when you can see the host "includes" folder and all files and folders will be transfered to the correct locations

Zen-Venom Get Bitten

24 Jun 2007, 3:10 AM
#3
afo avatar

afo

Totally Zenned

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

Re: sorry, i'm lost.....

Just to reinforce what Kobra has said, download a copy of ZC to your computer and unzip it. You can see the file structure and be able to follow it.

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

Any where you see a /classic/ folder, you can create a folder for your custom template. Copy the files you need from /classic/, /template_default/ or the parent directory.

Edit includes/templates/YOUR_TEMPLATE/template_info.php to give your template identifying info (you'll understand when you open the file).

Always use a text editor like Notepad or Crimson Editor to edit php files.

Once you've built your template, go into your admin under tools->template selection and select it from the pull down menu.

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

24 Jun 2007, 3:16 AM
#4
overmyhead avatar

overmyhead

New Zenner

Join Date:
Jun 2007
Posts:
26
Plugin Contributions:
0

Re: sorry, i'm lost.....

what do you mean by local directory? You see, I'm not understanding how to get the files from my website to my computer to edit them. I did accidentally find some in the notepad, but I don't know how they got there lol

templates: do i go thru the file manager (at godaddy) of zencart and add a folder next to classic (everywhere it says classic)that says custom and upload template componants to these? if that is so, how do i make subfolders? the readme file of the template said to upload the includes file to the store root folder. so i highlighted the zencart file in filezilla and transferred the the 'includes folder' but no new template..

hope this makes some sense...

endeavour to persevere!

my site: **shadycreekonline.com**

24 Jun 2007, 3:18 AM
#5
overmyhead avatar

overmyhead

New Zenner

Join Date:
Jun 2007
Posts:
26
Plugin Contributions:
0

Re: sorry, i'm lost.....

afo i have that exact post from another topic on my desk in front of me! That is where i think i need to make all these subfolders, but i don't know how. sorry, total idiot here. I will download a zencart to my pc, in case i need to know, any certain program to open it in?

endeavour to persevere!

my site: **shadycreekonline.com**

24 Jun 2007, 4:13 AM
#6
blind1 avatar

blind1

Zen Follower

Join Date:
Dec 2006
Location:
Victoria, Australia
Posts:
351
Plugin Contributions:
0

Re: sorry, i'm lost.....

overmyhead:

what do you mean by local directory? You see, I'm not understanding how to get the files from my website to my computer to edit them. I did accidentally find some in the notepad, but I don't know how they got there lol

templates: do i go thru the file manager (at godaddy) of zencart and add a folder next to classic (everywhere it says classic)that says custom and upload template componants to these? if that is so, how do i make subfolders? the readme file of the template said to upload the includes file to the store root folder. so i highlighted the zencart file in filezilla and transferred the the 'includes folder' but no new template..

hope this makes some sense...
You may have replaced the whole includes folder with this smaller one.
When you get a template you need to look where the files are in the folders supplied and place them in the same place located in your web site or you may loose original files in your site.
And you must alter the template_info.php file to read your template name

I would have a read through the tutorials on setting up and the override system to understant it better before adding any additions.

The template wont register unless you add the appriate files in the right place and then go into Aministration and select it as your default template.

To run zen cart on your pc you will need a virtual host.
You only need a text editor to edit files though.
I hope that helps

'E-Start your web store' book - I Got it and now ..... I GET IT !....Well alot more of it anyway (-:

25 Jun 2007, 1:16 PM
#7
afo avatar

afo

Totally Zenned

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

Re: sorry, i'm lost.....

If you have an FTP client (and you need one to send files to/from your website), you can download your site to your local drive. Filezilla is a good free FTP client. You can also download the zip file of the latest version of ZC and unzip that on your computer. It'll automatically give you the folder/file structure.

You don't need to actually run ZC locally. You can simply edit the files and upload your changes.

You don't have to create the folders separately on your website. If you create them locally and upload them with FTP, the folders will be created automatically. You simply need to follow the folder/file structure ZC uses. Having a copy unzipped locally will help you understand the structure.

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

25 Jun 2007, 2:05 PM
#8
gjh42 avatar

gjh42

Black Belt

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

Re: sorry, i'm lost.....

"You may have replaced the whole includes folder with this smaller one."

When you overwrite a folder like that, any file that has the exact same specs (name and folder location) will replace its namesaake; but a template structure will have the files in their override folders so they just drop in alongside the originals. Nothing will be deleted by this. You also don't need to manually create folders on your site before uploading the template, as the required folders are part of the template structure. It is safer and gives less opportunity for mistakes to simply upload the whole template /includes/ folder from your pc to your site.

3 Jul 2007, 8:09 AM
#9
overmyhead avatar

overmyhead

New Zenner

Join Date:
Jun 2007
Posts:
26
Plugin Contributions:
0

Re: sorry, i'm lost.....

Thank you all for the helpful posts. :smile:
I do have it installed properly now.
I hope :huh:

I believe the solution was to drop the whole folder in. Although now I do understand the file structure much better and have uploaded some things by following the file structure with success.

Thanks again!

endeavour to persevere!

my site: **shadycreekonline.com**