Forums / Basic Configuration / disable zen cart outside of the html environment

disable zen cart outside of the html environment

Started by glendo on 3 Feb 2011, 12:13 PM · Views: 1,608

Results 1 to 14 of 14
3 Feb 2011, 12:13 PM
#1
glendo avatar

glendo

New Zenner

Join Date:
Feb 2011
Posts:
7
Plugin Contributions:
0

disable zen cart outside of the html environment

*I have Zen Cart running in an html site but if someone types the store url without the (.html) the store still appears is there some way to prevent this? Thanks *

3 Feb 2011, 12:27 PM
#2
kobra avatar

kobra

Black Belt

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

Re: disable zen cart outside of the html environment

Yes, scrap your html site and re create those pages within ZenCart

Zen-Venom Get Bitten

3 Feb 2011, 2:31 PM
#3
glendo avatar

glendo

New Zenner

Join Date:
Feb 2011
Posts:
7
Plugin Contributions:
0

Re: disable zen cart outside of the html environment

Ok, But how? Which files should I edit to reach the results that I have here see: http://www.seansarvis.com/store.html

3 Feb 2011, 2:36 PM
#4
donal avatar

donal

Zen Follower

Join Date:
Jan 2009
Location:
Ireland
Posts:
442
Plugin Contributions:
0

Re: disable zen cart outside of the html environment

Take zen out of the iframe
go here:
http://(sorry, site offline)/
pick a template close to the style you want
edit it to suit your look
and away you go

3 Feb 2011, 2:44 PM
#5
kobra avatar

kobra

Black Belt

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

Re: disable zen cart outside of the html environment

First off, you will have major issues running ZenCart in a frame as you have done
Frames will break many functional things

Search the tutorial link, above right, for specific elements such as header image and the like and build piece at a time

Check your private messages for an example

Zen-Venom Get Bitten

3 Feb 2011, 3:44 PM
#6
glendo avatar

glendo

New Zenner

Join Date:
Feb 2011
Posts:
7
Plugin Contributions:
0

Re: disable zen cart outside of the html environment

Thanks for your response, however my desire is to maintain the other elements of the main site such as navigation etc.

3 Feb 2011, 4:01 PM
#7
donal avatar

donal

Zen Follower

Join Date:
Jan 2009
Location:
Ireland
Posts:
442
Plugin Contributions:
0

Re: disable zen cart outside of the html environment

glendo:

Thanks for your response, however my desire is to maintain the other elements of the main site such as navigation etc.

you can still maintain all your elements, just build them within the zen framework.

3 Feb 2011, 4:16 PM
#8
glendo avatar

glendo

New Zenner

Join Date:
Feb 2011
Posts:
7
Plugin Contributions:
0

Re: disable zen cart outside of the html environment

Ok, I downloaded one of the templates, which files are the main files to edit?

3 Feb 2011, 4:43 PM
#9
donal avatar

donal

Zen Follower

Join Date:
Jan 2009
Location:
Ireland
Posts:
442
Plugin Contributions:
0

Re: disable zen cart outside of the html environment

depends on which one
but:
css for colours etc
swap images to your ones
then use admin to postion boxes links etc

3 Feb 2011, 4:45 PM
#10
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: disable zen cart outside of the html environment

I downloaded one of the templates, which files are the main files to edit?

Teaching someone how to redesign a template is well outside of the scope of a forum, but you will need to edit the header and footer file at the very least.

For more information please use the Tutorials/FAQs section (link at top of the page).

Vger

4 Feb 2011, 6:23 AM
#11
glendo avatar

glendo

New Zenner

Join Date:
Feb 2011
Posts:
7
Plugin Contributions:
0

Re: disable zen cart outside of the html environment

Ok, Done! I edited: templates/template_default/common/tpl_main_page.php

http://www.seansarvis.com/store/

4 Feb 2011, 10:43 AM
#12
kobra avatar

kobra

Black Belt

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

Re: disable zen cart outside of the html environment

I edited: templates/template_default/common/tpl_main_page.php
I hope you meant a copy...

Never, never edit core files when they can be overridden

Restore the original file there and place your edited copy at

includes/templates/sean/common/tpl_main_page.php

Zen-Venom Get Bitten

4 Feb 2011, 12:46 PM
#13
glendo avatar

glendo

New Zenner

Join Date:
Feb 2011
Posts:
7
Plugin Contributions:
0

Re: disable zen cart outside of the html environment

Thanks Kobra!

4 Feb 2011, 12:56 PM
#14
glendo avatar

glendo

New Zenner

Join Date:
Feb 2011
Posts:
7
Plugin Contributions:
0

Re: disable zen cart outside of the html environment

I created a common folder under the new template directory: /common/tpl_main_page.php