Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Please nudge me in the right direction

Please nudge me in the right direction

Locked

Views: 842

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
26 Jun 2009, 1:07 PM
#1
alnaad avatar

alnaad

New Zenner

Join Date:
Jun 2009
Location:
Melbourne Australia
Posts:
54
Plugin Contributions:
0

Please nudge me in the right direction

Hi everyone,

What i want to achieve with zencart is very basic. I have downloaded version -v1.3.8a-full-fileset-12112007. Got that going with MAMP_1.7.2 on the Mac(osx10.4.11). So it is there on my local server.
Next i want to customize it and after following tut by Dr Byte i was expecting to see my template in the template manager but it is not there. Obviously i need to understand something... What is it ?:huh:
And please don't tell me to go and revisit the threads. Spent hours trying to find an answer.

Thank you in advance for any help

26 Jun 2009, 1:21 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Please nudge me in the right direction

Next i want to customize it and after following tut by Dr Byte i was expecting to see my template in the template manager but it is not there. Obviously i need to understand something... What is it ?
What Tutorial???

Most likely you have either omitted the correct template_info.php file or correct editing of same in your template dir

26 Jun 2009, 3:27 PM
#4
kobra avatar

kobra

Black Belt

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

Re: Please nudge me in the right direction

So did you create and edit the template_info.php file?
Has it been uploaded to the correct place?

26 Jun 2009, 4:39 PM
#5
alnaad avatar

alnaad

New Zenner

Join Date:
Jun 2009
Location:
Melbourne Australia
Posts:
54
Plugin Contributions:
0

Re: Please nudge me in the right direction

Thank you Kobra,

I'll just tell you where is what ok?
In the Sites folder of the Mac i have zen-cart.
in zen-cart/includes/templates i have created a folder i named TEST and that's where i placed template_info.php
This is the content:

<?php /** * Template Information File * * @package templateSystem * @copyright Copyright 2003-2005 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: template_info.php 2306 2005-11-05 21:34:28Z wilt $ */ $template_name = 'TEST'; $template_version = 'Version 1.0'; $template_author = 'Alnaad (c) 2009'; $template_description = 'This template set is designed by me, Alnaad to be easily modified using only the style sheet to change colors, fonts, and the store logo. Three images are required; logo.jpg, header_bg.jpg, and tile_back.jpg.'; $template_screenshot = ''; ?>

Now i am aware that i am going to have to make edits to other files but i thought that i should at least be able to see "TEST" as a choice in the template manager. Obviously wrong but where?

Hopefully that will help you help me:unsure:

26 Jun 2009, 6:50 PM
#6
kobra avatar

kobra

Black Belt

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

Re: Please nudge me in the right direction

In the Sites folder of the Mac i have zen-cart.
in zen-cart/includes/templates i have created a folder i named TEST and that's where i placed template_info.php
What you posted looks OK but I would insure that you only use a "Plain Text editor" for this and other php file edits....check that there are no extra lines or spaces at the end or the beginning.

If no errors to file and it is at
/includes/templates/test/template_info.php then you should be seeing it.

On the off chance, get rid of the capitals and make them all lower case

27 Jun 2009, 12:19 AM
#7
alnaad avatar

alnaad

New Zenner

Join Date:
Jun 2009
Location:
Melbourne Australia
Posts:
54
Plugin Contributions:
0

Re: Please nudge me in the right direction

No go my friend. :frusty:

when i work locally there is not any upload procedure(?) remember i don't work on a remote server.
btw, i use dreamweaver to edit php.

27 Jun 2009, 2:46 AM
#8
kobra avatar

kobra

Black Belt

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

Re: Please nudge me in the right direction

btw, i use dreamweaver to edit php.
A very expensive code editor for php....
Never have trusted it

27 Jun 2009, 5:04 AM
#9
alnaad avatar

alnaad

New Zenner

Join Date:
Jun 2009
Location:
Melbourne Australia
Posts:
54
Plugin Contributions:
0

Re: Please nudge me in the right direction

ok what should i use ?

Somehow i don't think that it is the problem since you told me that you couldn't see anything wrong with the edit to template_info.php .

How am i going to sort this one out?

Thanks for your replies.

27 Jun 2009, 5:41 AM
#10
alnaad avatar

alnaad

New Zenner

Join Date:
Jun 2009
Location:
Melbourne Australia
Posts:
54
Plugin Contributions:
0

Re: Please nudge me in the right direction

Here you go Kobra i got it working.
I realized that as i am using MAMP which is in my applications directory that i had to copy my own template to Applications/MAMP/htdocs/zencart138/includes/templates/test:blush:

Well next is for me to work on a new skin. Am sure i will have questions later but for now thanks for your support.