|
FrontPage Once you've opened Frontpage choose
File>Open Web from the top menu. Browse to the location
where you extracted your ecommerce template to (by
default this should be C:\Frontpage Templates\FP Store
Template). You may want to make a back up of the
original before making any changes - remember it's
always better to publish FrontPage templates rather than
using an FTP program so once you've opened the web you
might want to publish it to another location on your
hard drive, alternatively save a copy of the .exe on CD
or disc, just in case.
Version PHP
There are a couple of issues with the FrontPage
version when using PHP only. FrontPage extensions do not
work with pages with the .php extension, so this means
that FrontPage Includes and FrontPage Navigation do not
work. We have found a neat way around these issues, but
there are a couple of things to bear in mind.
First, for include pages, we have just used PHP
includes. It's already set up for you, and you will find
the included pages in the includes folder. Unlike
FrontPage includes however, all links will be relative
to the file that is doing the including. So, for this
reason we recommend you use links relative to the site
root if you want to use the same include files in
folders and sub folders.
Examples of different ways to link pages are...
- This is a relative link: mypage.php
- This is a link relative to the site root: /mypage.php
- This is an absolute link: http://www.mysite.com/mypage.php
Because FrontPage Navigation is not available, you
will have to make up and over buttons for the
navigation. (This does not apply to templates which use
DHTML PopOut menus as navigation of course.) To change
navigation, open the page which contains the navigation.
(Normally includes/leftnavigation.htm.) You will see
some lines of code such as . . .
addrollover('special.php','images/special.gif','images/specialov.gif');
To add buttons to the navigation, just add extra lines
here, or edit the existing ones. The parameters are:
- The link.
This can be relative: mypage.php
or relative to the site root: /mypage.php
or absolute: http://www.mysite.com/mypage.php
- The "normal" state of the image
- The "mouseover" state of the image
The same rules apply about relative links as for the
FrontPage Includes however.
If Frontpage doesn't recognize the .PHP pages, you'll
need to configure it like this:
- In Frontpage go to Tools>Options>Configure
Editors
- Choose "Add"
- Put PHP for file type
- Put the same information as you have for htm,
html etc. - this is usually
Editor Name: FrontPage
Command: frontpg.exe
- Save
Now that has been explained the rest is pretty
similar to the ASP version.
- Get your general design done, more or less the
look you need for the site - don't worry about the
products and links for the moment. Publish to your
sever regularly to see everything looks fine or work
"live" on the server. The ecommerce templates come
with .png files so changing colours, titles and
company name etc. is simple -
Macromedia have a 30 day free trial available
for Fireworks if you don't already have the program.
- There's nothing you need to add to the pages in
the vsadmin folder for the time being as you'll be
the only one using those pages for adding product
information, shipping stuff, categories, credit card
processors etc once the site is on the server.
- Now you can start on the admin side - you'll
probably want to get some categories and products on
your store so you'll have to log into the admin
section - chances are that first of all you'll need
to change the path to your database in the file
vsadmin/db_conn_open.php - your host should be able
to help you there if you run into problems.
- Now that's done log into your online admin
control panel at www.yourdomain.com/vsadmin/admin.php
- and the first thing to do is change the default
username and password so no-one else can get in.
- Take a look around the various options, the
ecommerce templates come with some sample products,
categories and descriptions and although they will
need to be deleted, they should give you a good idea
of how the system works.
- That's about it, you can now start setting up
your store - check the instructions for the
ecommerce
plus templates and if you run into difficulties,
take a look through the support
forum.
|