Print Page | Close Window

ASP ’newbie’ - How-to assistance needed

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=309
Printed Date: 23-November-2024 at 2:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ASP ’newbie’ - How-to assistance needed
Posted By: MGatESS
Subject: ASP ’newbie’ - How-to assistance needed
Date Posted: 12-July-2006 at 4:21pm
My only experience has been to make static pages.  I am a total newbie to all this ASP stuff!  Basically, I'm just using the pages that ProductCart has made and am running the entire site via the "/pc" folder.

However, I want to make a few extra pages OUTSIDE the ProductCart folder.  ProductCart has a function to create a static HTML page of the Store Map (StoreMap.html) which puts in the header, left-side links, and footer.

What I want to do is make the static page dynamically generated so that it will display the current code of the header.asp & footer.asp pages, as well as the sidebar links.  That way, when I make changes to the header & footer .asp pages, all pages will be changed the next time a browser requests the page.

Thing is, I want to put these dynamically generated, non-Store pages in other subfolders and/or root.  I tried to copy the MainIndex.asp page and monkey with the code - had disasterous results!  Not being a programmer, I don't fully grasp how ASP works or how to build pages with the code.

Help would be most appreciated!



-------------
~ Mark G.

ESS, Inc. - http://www.endoscopy.com/" rel="nofollow - www.endoscopy.com



Replies:
Posted By: MarkCoyle
Date Posted: 13-July-2006 at 4:47pm
Version 3 I think will sort this for you.

You can now edit more easily which content pages are shown on the front page.

So you should be able to put all your non-store page content as 'content pages' and then just display them in your usual menu structure and hyperlink to them.

This will automatically pick up the dynamic header  / footage without any coding requried at your end.

The content pages can include HTML and therefore you should be able to paste it in and then view it in the HTML editor within ProductCart to make any visual refinements needed.

I'll give a more technical answer on hand crafting it once I've done the forthcoming V3 upgrade....

cheers
Mark



Posted By: MGatESS
Date Posted: 08-August-2006 at 10:20am
Originally posted by MarkCoyle MarkCoyle wrote:

Version 3 I think will sort this for you.


Well, unfortunately, using ver 3 is NOT an option.  I've got v 2.76 to work with and that's ALL I'll have, probably for a long time.

Anyone out there got a suggestion on what to do in version 2.76?


-------------
~ Mark G.

ESS, Inc. - http://www.endoscopy.com/" rel="nofollow - www.endoscopy.com


Posted By: MarkCoyle
Date Posted: 08-August-2006 at 10:25am

I remember this being more fiddly in 2.76.

A good way will be to check out some of the pages listed in the forum that are working or at the stores EarlyImpact promote on their site which will almost all be 2.76 based.

Then do 'view source' and you should be able to find some working pages that do what you want so you can copy and play around with the source code.  If you don't know HTML/ASP at all, this might be a bit tricky though.

When using 2.76 I used to keep my non store pages outside ProductCart but use the same looking header for consistency.

cheers

Mark



Posted By: netprofits
Date Posted: 08-August-2006 at 1:45pm

There are quite a bit of changes that need to be made to support the header.asp and footer.asp in folders other than the pc folder. It would be easiest if you could keep your content pages in the pc folder.

If you definately want to move the new pages to other folder(s), you'll ned to modify the header.asp and footer.asp files to use full paths to all files and images so they are referenced correctly, i.e. productcart/pc/filename.asp or productcart/pc/images/pic.jpg based on the location of the files you are creating.

Be careful not to use http:// for image location URLs since that will cause problems when you display the header/footer on checkout pages that use SSL. Users will get a message about some items not being secure.



-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net