If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Just edit the Classic Green template or is there a free blank/clean one available?

Just edit the Classic Green template or is there a free blank/clean one available?

Started by johnnyscience on 22 Mar 2013, 5:15 PM · Views: 2,097

Results 1 to 20 of 24
22 Mar 2013, 5:15 PM
#1
johnnyscience avatar

johnnyscience

Zen Follower

Join Date:
Jan 2013
Posts:
104
Plugin Contributions:
0

Post #1 by johnnyscience

It seems there is an AWFUL lot of information to remove/turn off with the Classic Green template.

Is there a blank/clean one available?

I am pretty good (not super pro) at HTML & CSS so I would just prefer to edit a free & well coded template than pay for one.

What are my options?

Thanks.

22 Mar 2013, 5:24 PM
#2
johnnyscience avatar

johnnyscience

Zen Follower

Join Date:
Jan 2013
Posts:
104
Plugin Contributions:
0

Post #2 by johnnyscience

Where can I browse some free, well coded templates for additional editing?

22 Mar 2013, 5:26 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

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

Post #3 by schoolboy

Don't touch anything relating to CLASSIC.

It is the DEFAULT TEMPLATE and its purpose is to render a ZC store after initial install. It is there for learning and (later) diagnostic purposes mostly.

The FIRST thing you need do when an install is complete, is install a CUSTOM template.

NEVER edit the CLASSIC one.

20 years a Zencart User

22 Mar 2013, 5:27 PM
#4
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,779
Plugin Contributions:
2

Post #4 by picandnix

http://(sorry, site offline)/zc150/

22 Mar 2013, 5:29 PM
#5
schoolboy avatar

schoolboy

Totally Zenned

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

Post #5 by schoolboy

JohnnyScience:

I am pretty good (not super pro) at HTML & CSS

A knowledge of HTML is only marginally useful as templates are mostly coded in PHP.

20 years a Zencart User

22 Mar 2013, 6:02 PM
#6
johnnyscience avatar

johnnyscience

Zen Follower

Join Date:
Jan 2013
Posts:
104
Plugin Contributions:
0

Post #6 by johnnyscience

Ok, yes I know not to edit default template as upgrades will erase everything.

I can edit PHP a little bit, but I think I'm better off just getting a template if zencart is heavy on the PHP. I'd still like to try a free one at this time to see what I can put together.

So I found this one to try out: http://www.picaflor-azul.com/index.php?main_page=document_product_info&cPath=27&products_id=15050

And I downloaded the template, unzipped it, went into the folder includes>templates & there was the yorkshire_clean file.

Via FTP I added it to the includes>templates folder inside of my zencart directory but for some reason when I refresh the templates page under tools in the admin, it's not showing up?

Any idea what I did wrong?

22 Mar 2013, 6:04 PM
#7
schoolboy avatar

schoolboy

Totally Zenned

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

Post #7 by schoolboy

You need to ftp ALL the folders associated with the template.

20 years a Zencart User

22 Mar 2013, 6:12 PM
#8
johnnyscience avatar

johnnyscience

Zen Follower

Join Date:
Jan 2013
Posts:
104
Plugin Contributions:
0

Post #8 by johnnyscience

I tried that at first & it didn't work either. I completely understand FTP file transfer too, I'm not quite sure why the template is not showing up in the admin?

22 Mar 2013, 6:13 PM
#9
johnnyscience avatar

johnnyscience

Zen Follower

Join Date:
Jan 2013
Posts:
104
Plugin Contributions:
0

Post #9 by johnnyscience

I just tried uploading a "Custom" template too & it's not showing up in the admin section?

I'm adding them to the includes>template folder in the main directory too.

22 Mar 2013, 6:18 PM
#10
schoolboy avatar

schoolboy

Totally Zenned

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

Post #10 by schoolboy

If nothing is showing, then you have loaded the template incorrectly.

A template, when unzipped, will almost always be housed in an "includes" folder.

All you need do is FTP that includes folder... the sub-folders inside it will find their way to the correct locations.

I guess that you are loading that entire includes folder into the templates folder on the server.

Hmmm... sounds like you do not know how to use FTP, in spite of your claims. :D

20 years a Zencart User

22 Mar 2013, 6:22 PM
#11
schoolboy avatar

schoolboy

Totally Zenned

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

Post #11 by schoolboy

A competent template designer will MAINTAIN the FOLDER and FILE integrity and hierarchy when they package up their contribution.

You need to make sure that when you send that contribution to the server (in your case a template), you TOO MUST MAINTAIN the FOLDER/FILE hierarchy.

20 years a Zencart User

22 Mar 2013, 6:24 PM
#12
johnnyscience avatar

johnnyscience

Zen Follower

Join Date:
Jan 2013
Posts:
104
Plugin Contributions:
0

Post #12 by johnnyscience

So I need to transfer includes to includes? Not yorkshire_clean to includes>templates?

22 Mar 2013, 6:44 PM
#13
schoolboy avatar

schoolboy

Totally Zenned

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

Post #13 by schoolboy

Keep the directory integrity THE SAME on both sides of the FTP.

After UNZIPPING a Picaflor template, you usually see:

Attachment 12221

Notice how on the SERVER, I am at the level where i see the main INCLUDES folder...

Now, if i DRILL DOWN one level in the LOCAL PANE (ie: open Picaflor's INCLUDES FOLDER)...

... AND DRILL DOWN ONE LEVEL IN THE SERVER PANE (ie: open my includes folder on the server, ) I see:

Attachment 12222

I am retaining the LEVEL INTEGRITY AT EACH STEP.

I just need to make sure I FTP the Folders (and files if present) to the SAME LEVEL on the server, as they are on my LOCAL drive.

20 years a Zencart User

22 Mar 2013, 6:55 PM
#14
johnnyscience avatar

johnnyscience

Zen Follower

Join Date:
Jan 2013
Posts:
104
Plugin Contributions:
0

Post #14 by johnnyscience

Ok that's what I thought, but now when I do that it wants to rewrite all of the files, but I would just want to add these files, not re-write over the ones that are already there right?

22 Mar 2013, 7:08 PM
#15
gjh42 avatar

gjh42

Black Belt

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

Post #15 by gjh42

It will only overwrite files that are already in the correct places for the template, in nearly all cases. When you look at your folder tree in cPanel or whatever, are there extra versions of /includes/ or /templates/ folders lower down in the tree from the originals? There should not be.

22 Mar 2013, 9:21 PM
#16
schoolboy avatar

schoolboy

Totally Zenned

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

Post #16 by schoolboy

You did say you knew all about FTP... :D

Er... perhaps you'd like to rethink that...

As you can see from my images, I use WSFTP Pro by IpSwitch.

Really easy... All I do is SELECT the "includes" folder on the local machine (My Computer), make sure "includes" is visible in the right frame (server), then I click the green arrow pointing right.

Takes about 15 seconds to load a template...

20 years a Zencart User

25 Mar 2013, 5:22 PM
#17
johnnyscience avatar

johnnyscience

Zen Follower

Join Date:
Jan 2013
Posts:
104
Plugin Contributions:
0

Post #17 by johnnyscience

Ahh I'm an idiot, I was uploading them correctly, but didn't see them updating in zencart admin panel since I'm not that familiar with it.

All is good and I'm now using the new template.

It seems I'm having an issue with getting the logo to show up.

The website is http://visionaryscience.net/ and I have uploaded the new logo & edited the code correctly (I thought) but not sure why the logo image isn't showing up? Anyone have any ideas? I followed the Picaflor directions as follows:

Create your logo in your image editing program and upload it to includes/templates/yorkshire_clean/images.

Open includes/languages/english/yorkshire_clean/header.php in a plain text editor. Find this code on or around line 24:

define('HEADER_ALT_TEXT', 'Yorkshire Clean :: Free Template by www.picaflor-azul.com');
define('HEADER_LOGO_WIDTH', '235px');
define('HEADER_LOGO_HEIGHT', '60px');
define('HEADER_LOGO_IMAGE', 'logo.png');

    Replace "Yorkshire Clean :: Free Template by www.picaflor-azul.com" with your site name and tag line here
    Replace "235px" with your logo width
    Replace "60px" with your logo height
    Replace "logo.png" with the name of your logo image

define('HEADER_ALT_TEXT', 'Your store name :: your store tag line');
define('HEADER_LOGO_WIDTH', 'height in px');
define('HEADER_LOGO_HEIGHT', 'width in px');
define('HEADER_LOGO_IMAGE', 'your logo name .png');
25 Mar 2013, 5:54 PM
#18
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,779
Plugin Contributions:
2

Post #18 by picandnix

is your logo image in .png format?

25 Mar 2013, 5:56 PM
#19
johnnyscience avatar

johnnyscience

Zen Follower

Join Date:
Jan 2013
Posts:
104
Plugin Contributions:
0

Post #19 by johnnyscience

It's in .jpg now, I tried .png and was having the same issues. It's not a transparent logo so I figured just keep it as .jpg. I've edited the header code to reflect the .jpg change.

25 Mar 2013, 5:58 PM
#20
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,779
Plugin Contributions:
2

Post #20 by picandnix

and you've loaded the .jpg to the template image folder?