If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Addon Templates / IC Academe No "template_info" file in my installation

IC Academe No "template_info" file in my installation

Locked

Started by organelle67 on 25 Nov 2010, 1:23 PM · Views: 1,608

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
25 Nov 2010, 1:23 PM
#1
organelle67 avatar

organelle67

New Zenner

Join Date:
Nov 2010
Posts:
67
Plugin Contributions:
0

IC Academe No "template_info" file in my installation

I did search the forum before posting this, but found nothing about this. While reading and following article# 142, I noticed that in my installation there there isn't a "template_info" file.

Under the "includes/templates/template_default/" directory, there is no "template_info" file for me to copy and move to my own custom folder.

It just isn't there. There many template files under that directory, but "template_info" is not. And I looked in other directories to see if it had somehow been moved to another directory/folder during installation or something...and it is nowhere.

Any help is appreciated, and please have patience with me. I am a "self-starter" who will take the initiative and read all directions I can get my eyes on first, before posting to this forum.

However, there may be times (I'm sure) that after reading and trying, and searching this forum that I will have to ask for help.

Thanks for your patience and your help! : )
David

25 Nov 2010, 1:40 PM
#2
organelle67 avatar

organelle67

New Zenner

Join Date:
Nov 2010
Posts:
67
Plugin Contributions:
0

Re: IC Academe No "template_info" file in my installation

My installation was done through my hosting provider (Fat Cow) and for some reason didn't have the "template_info" file.

But, I downloaded the installation from the Zen Cart website and found it, then edited it, and then uploaded it to my server.

Now if I can find the Admin Panel, and then go to "tools -> template selection". I'll see if I can edit in the Admin Panel now.

Thanks again!

25 Nov 2010, 1:41 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: IC Academe No "template_info" file in my installation

It should be there - it's there in my stock test installation. It should be the only file in that directory, along with 15 folders.

Check in includes/templates/classic and use that one if it's there.

25 Nov 2010, 2:37 PM
#4
organelle67 avatar

organelle67

New Zenner

Join Date:
Nov 2010
Posts:
67
Plugin Contributions:
0

Re: IC Academe No "template_info" file in my installation

Yeah, I already found the template_info and copied it to my custom directory and edited it and uploaded it....now:

Ok, I logged into my admin and did the following:

"Open your Admin panel and navigate to tools -> template selection. Click the Edit button, then choose CUSTOM from the dropdown menu and click the Update button. Now, navigate to tools -> layout boxes controller and at the bottom of the page click the Reset button"

I then was able to successfully choose the new name of my website (the same name in the template_info file right after the words: "$template_name= ' ' )

But when I click "Preview"..I'm taken to a screen that says:

"Directory has no index file.
Browsing this site or directory without an index file is prohibited."

I figured I would at least still see the Classic Contemporary Green page style since I haven't had the chance to edit any CSS styles, etc....but instead it says the above:

"Directory has no index file.
Browsing this site or directory without an index file is prohibited."

I don't know what's going on, or what I have to do....but something tells me its something simple that I'm overlooking lol

25 Nov 2010, 2:50 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: IC Academe No "template_info" file in my installation

The Preview button there is a little misleading. It doesn't open the site with the selected template - it shows an image, if any has been uploaded to the proper folder. You can click on Online Catalog at the top to open your site in a new tab.

I don't know why you're getting that error.

25 Nov 2010, 3:00 PM
#6
organelle67 avatar

organelle67

New Zenner

Join Date:
Nov 2010
Posts:
67
Plugin Contributions:
0

Re: IC Academe No "template_info" file in my installation

Hey Steve, I really appreciate your help on this Thanksgiving Day man!

Yeah, now that I think about it...of course it wouldn't give me an image screenshot for my custom site/directory because one hasn't been uploaded like you said.

I clicked on Online Catalog like you said and woah! I was taken to this:

http://safetymodesystems.com/zencart/index.php?main_page=

I haven't even edited any CSS or anything yet and it has changed from the Classic Green to this! Weird.

Of course I know I can edit the colors in the CSS, keep some features, get rid of the ones I don't want, etc.

And I may need help down the road editing all that....but will do as much on my own as possible, use search functions, tutorials, etc. before I ask.

Thanks again.

25 Nov 2010, 3:14 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: IC Academe No "template_info" file in my installation

That's the default template.

It's a little confusing. The Classic template is installed by default but it isn't the default template - it's just an example of a custom template.

You probably copied the css files from template_default rather than from Classic. You can copy all the folders under Classic to your custom template folder if you want to start from Classic.

Also check out http://(sorry, site offline)

25 Nov 2010, 3:52 PM
#8
organelle67 avatar

organelle67

New Zenner

Join Date:
Nov 2010
Posts:
67
Plugin Contributions:
0

Re: IC Academe No "template_info" file in my installation

Thanks for the template website link. If I were to use one of these templates, I guess I would put it in my directory, then go to the "template_info" file, and put in a new template name to match the name of the new template...correct?

Of course I could also leave the name in the 'template_info" file the same and change the name of the new template instead to match the name in the template_info as well

Either way...I think that's how you do it...right?

25 Nov 2010, 5:06 PM
#9
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: IC Academe No "template_info" file in my installation

Most have instructions included. Many templates and most mods have all the files and folders in the proper places in a directory 'tree', so all you have to do is drag the 'includes' folder to the root of your site (not includes/templates). Most, if not all, will already have a template_info.php file.

25 Nov 2010, 6:05 PM
#10
organelle67 avatar

organelle67

New Zenner

Join Date:
Nov 2010
Posts:
67
Plugin Contributions:
0

Re: IC Academe No "template_info" file in my installation

That sounds very easy, if all you have to do is just put the whole Zen Cart Directory Tree in the root folder.

Thanks a lot Steve.

25 Nov 2010, 8:53 PM
#11
organelle67 avatar

organelle67

New Zenner

Join Date:
Nov 2010
Posts:
67
Plugin Contributions:
0

Re: IC Academe No "template_info" file in my installation

Well.....I uploaded a template from here: http://(sorry, site offline)/templates.html

called "iC Acadame"

After I unzipped the file onto my local machine, I then uploaded it to my "root" folder on the server. However, when I go to Tools--->Template Selection in my Admin Panel...this template isn't showing up.

I have also made sure that the name of the site in the template_info file is the same as the name of the folder on the server as well...it should be sinced up nicely.

Maybe this template isn't compatible with version 1.3.9 ?

I don't know what's up...but any help you can give would be great. I am trying my best to work this out on my own, but I have hit a road block with this one.

25 Nov 2010, 9:27 PM
#12
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: IC Academe No "template_info" file in my installation

I just installed that template on a test site, and it behaved as advertised.

You do have a folder called includes/templates/iC_AcadameV1.2 and it contains a file named template_info.php ?

Wait a minute. References to the 'root' of your site mean the root of your Zencart installation. In your case, you've installed Zencart into a subdirectory named 'zencart' (a mistake, IMO), so that's where the template folder would go.

25 Nov 2010, 10:08 PM
#13
organelle67 avatar

organelle67

New Zenner

Join Date:
Nov 2010
Posts:
67
Plugin Contributions:
0

Re: IC Academe No "template_info" file in my installation

I already have a live website that points to the "Index" of my root directory.

I didn't want to install Zen Cart into a directory called "Index" because my live existing site is there. I didn't want the root file of my existing website "Index" to be overwritten by the Zen Cart files.

So, I called the sub directory where I installed Zen Cart...."zencart" instead.

I can try to install the files of the new template into the "zencart" files. And if it works....I can then delete my previous live website files under the name "index".....and then rename the "zencart" folder 'index" if need be.

25 Nov 2010, 10:34 PM
#14
organelle67 avatar

organelle67

New Zenner

Join Date:
Nov 2010
Posts:
67
Plugin Contributions:
0

Re: IC Academe No "template_info" file in my installation

stevesh:

I just installed that template on a test site, and it behaved as advertised.

You do have a folder called includes/templates/iC_AcadameV1.2 and it contains a file named template_info.php ?

Wait a minute. References to the 'root' of your site mean the root of your Zencart installation. In your case, you've installed Zencart into a subdirectory named 'zencart' (a mistake, IMO), so that's where the template folder would go.

Now that I think about it....what does it matter what the folder where I installed Zen Cart is called.....I would still have to put the New Template there as well.

Even if the folder where my installation of Zen Cart was called 'Nasty Boogers"...then that is where this new template would have to be installed as well. So...I will try to install the new template in the 'zencart' folder.

25 Nov 2010, 10:54 PM
#15
organelle67 avatar

organelle67

New Zenner

Join Date:
Nov 2010
Posts:
67
Plugin Contributions:
0

Re: IC Academe No "template_info" file in my installation

I installed the IC Academe template into the 'zencart' folder on the server...and it still doesn't show up in my admin as a template.

The folder of the new template is called:
icacadame__css_zen_cart_template_V1-2

and that is what I have in the template_info file as well for this directory. Strange...I don't know what is up with this....still suggestions please...thanks.

David

26 Nov 2010, 7:34 AM
#16
organelle67 avatar

organelle67

New Zenner

Join Date:
Nov 2010
Posts:
67
Plugin Contributions:
0

Re: IC Academe No "template_info" file in my installation

I got it to show up in the drop down under Tools-->Template Selection, but now another problem.

See this thread:

http://www.zen-cart.com/forum/showthread.php?t=168988