Zen Cart Logo
Forums / General Questions / How do I fit a new site in with an old admin area?

How do I fit a new site in with an old admin area?

Locked

Views: 1,024

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
29 Sep 2010, 12:55 PM
#1
keitosan avatar

keitosan

New Zenner

Join Date:
Sep 2010
Posts:
7
Plugin Contributions:
0

How do I fit a new site in with an old admin area?

Hi,

A few years ago, someone built me a site using zen cart. I am still able to access the admin.

However I've got a lot better at designing and coding since then so I wanted to code it myself, but I don't know how I can tie this in to the existing admin area.

Is it best I start over from scratch?

I know nothing about PHP but I do know CSS

I have bought the zen cart manual but I can't how to do this.

Kind regards

Kate

29 Sep 2010, 1:08 PM
#2
afo avatar

afo

Totally Zenned

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

Re: How do I fit a new site in with an old admin area?

Give us a better idea of what you're trying to accomplish and we can give you advice about it.

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

29 Sep 2010, 1:32 PM
#3
keitosan avatar

keitosan

New Zenner

Join Date:
Sep 2010
Posts:
7
Plugin Contributions:
0

Re: How do I fit a new site in with an old admin area?

I have a domain name: https://www.cutecreations.co.uk

However this does not tie in with the Zencart CMS that I have from my previous site which was built by someone else.

I am going to be creating a new design so that I can sell products but I need to tie this in somehow with the CMS.

Is it best to delete the CMS I have and start over again? I don't have the template that the guy used to design my site.

29 Sep 2010, 1:38 PM
#4
vger avatar

vger

Past Contributor

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

Re: How do I fit a new site in with an old admin area?

You change the design of a Zen Cart site by building a new template for it and adding it to the includes/templates folder (the quick and simplified version of what you need to do).

The template needs to be a Zen Cart template, with the Zen Cart structure intact. To get an idea take a look at some of the free templates which you can download from this site.

Vger

29 Sep 2010, 1:41 PM
#5
gjh42 avatar

gjh42

Black Belt

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

Re: How do I fit a new site in with an old admin area?

You want to redo your existing site? You can create a new template folder/structure and do your work in that, leaving the existing template as is for now.

What you really need to do if your existing site is live is to copy its entire file structure to a subfolder (/test/ or something) and its database to a new blank database; that way you can work without disturbing the live site. See tutorials on moving a site, and making a testing/development copy.

Using a new domain simplifies this in one way, that there will be no interference with the existing one. If your site is established, it is probably not a good idea to change domains unless you really want the new name instead of the existing one. You will lose recognition, and search engine rankings (that can be helped with a 301 redirect to the new site when it is ready).

29 Sep 2010, 1:49 PM
#6
gjh42 avatar

gjh42

Black Belt

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

Re: How do I fit a new site in with an old admin area?

I don't have the template that the guy used to design my site.

Actually, you do have it - the template is the files in the /custom/ template folder, whatever that is named in your case.

/includes/templates/your_template/

There should also be in the /templates/ folder two other template structures:

/includes/templates/template_default/
/includes/templates/classic/

29 Sep 2010, 2:06 PM
#7
keitosan avatar

keitosan

New Zenner

Join Date:
Sep 2010
Posts:
7
Plugin Contributions:
0

Re: How do I fit a new site in with an old admin area?

Just found these :) However I tried opening the css in the Dreamweaver and it won't let me view the design, just the code.

29 Sep 2010, 2:07 PM
#8
keitosan avatar

keitosan

New Zenner

Join Date:
Sep 2010
Posts:
7
Plugin Contributions:
0

Re: How do I fit a new site in with an old admin area?

Will I have to delete all the files on the ftp server relating to my current site? I can't get the old site to show up.

29 Sep 2010, 2:12 PM
#9
vger avatar

vger

Past Contributor

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

Re: How do I fit a new site in with an old admin area?

Dreamweaver is useless for what you need to do. Zen Cart is a dynamic PHP + MySQL based website, and it needs a web server for it to work on.

You can turn your PC into an offline web server (Intranet) which you can install a local copy of Zen Cart on. I recommend you install XAMPP (http://www.apachefriends.org/en) - it's a 1-click install which will install all elements you need (an Apache web server, PHP, MySQL, phpMyAdmin etc.)

You then modify files using a plain text editor, like PS Pad or Crimson Editor. You don't use Dreamweaver or Word or Word Pad etc.

You modify the code and can then refresh your website on your local web server and see the results.

Vger

29 Sep 2010, 2:17 PM
#10
keitosan avatar

keitosan

New Zenner

Join Date:
Sep 2010
Posts:
7
Plugin Contributions:
0

Re: How do I fit a new site in with an old admin area?

Vger:

Dreamweaver is useless for what you need to do. Zen Cart is a dynamic PHP + MySQL based website, and it needs a web server for it to work on.

You can turn your PC into an offline web server (Intranet) which you can install a local copy of Zen Cart on. I recommend you install XAMPP (http://www.apachefriends.org/en) - it's a 1-click install which will install all elements you need (an Apache web server, PHP, MySQL, phpMyAdmin etc.)

You then modify files using a plain text editor, like PS Pad or Crimson Editor. You don't use Dreamweaver or Word or Word Pad etc.

You modify the code and can then refresh your website on your local web server and see the results.

Vger

Thanks Vger, I'll see if I can get this working :)

29 Sep 2010, 2:28 PM
#11
keitosan avatar

keitosan

New Zenner

Join Date:
Sep 2010
Posts:
7
Plugin Contributions:
0

Re: How do I fit a new site in with an old admin area?

Hmm just noticed that there are 2 includes folders on my FTP server.

There is one in /public_html and another in /www

What would be the correct one? I need to clean out my ftp server.

29 Sep 2010, 3:22 PM
#12
gjh42 avatar

gjh42

Black Belt

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

Re: How do I fit a new site in with an old admin area?

Do they have different contents? /public_html/ is the usual location for site files/folders, but they could also be in /www/. There are about a dozen other Zen Cart folders in the same level as /includes/.

29 Sep 2010, 3:26 PM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: How do I fit a new site in with an old admin area?

Many websites have a "www" alias that is literally just a pointer to the physical public_html folder. Stick with public_html.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

29 Sep 2010, 3:27 PM
#14
keitosan avatar

keitosan

New Zenner

Join Date:
Sep 2010
Posts:
7
Plugin Contributions:
0

Re: How do I fit a new site in with an old admin area?

A lot of what is /public_html is also in /www but there are more files in /www

Should I delete /www or is it a bad idea?

29 Sep 2010, 3:47 PM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: How do I fit a new site in with an old admin area?

You need to ask your hosting company.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

29 Sep 2010, 4:10 PM
#16
acedweb avatar

acedweb

New Zenner

Join Date:
Sep 2010
Posts:
19
Plugin Contributions:
0

Re: How do I fit a new site in with an old admin area?

Lucky for you, Zen Cart can work with files at one place and the admin area located absolutely on another server if you must!

Just edit the admin/includes/configure.php file and you can set the address for the admin area!

Hope I helped.

Victor
Web Solutions
Solving problems, as usual!

29 Sep 2010, 4:11 PM
#17
acedweb avatar

acedweb

New Zenner

Join Date:
Sep 2010
Posts:
19
Plugin Contributions:
0

Re: How do I fit a new site in with an old admin area?

keitosan:

A lot of what is /public_html is also in /www but there are more files in /www

Should I delete /www or is it a bad idea?

No need to delete it, its just a symlink (a link) to public_html.

You don't have 2 folders, you have just one and a shortcut to it :)

Just ignore it and use public_html.

Victor
Web Solutions
Solving problems, as usual!