ASP newbie - How-to assistance needed |
Post Reply |
Author | |
MGatESS
Groupie Joined: 12-July-2006 Location: United States Status: Offline Points: 73 |
Post Options
Thanks(0)
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! |
|
MarkCoyle
Senior Member Joined: 06-June-2006 Location: United Kingdom Status: Offline Points: 0 |
Post Options
Thanks(0)
|
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 |
|
MGatESS
Groupie Joined: 12-July-2006 Location: United States Status: Offline Points: 73 |
Post Options
Thanks(0)
|
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? |
|
MarkCoyle
Senior Member Joined: 06-June-2006 Location: United Kingdom Status: Offline Points: 0 |
Post Options
Thanks(0)
|
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 |
|
netprofits
Certified ProductCart Developers Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
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. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |