osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

linking to index.htm

This is a discussion on linking to index.htm within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hello again...I am working on html page and planning to have it as the home page. I figured out that ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-19-2003, 04:41 PM
Active Member
 
Join Date: Nov 2003
Posts: 120
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
Christy
Default linking to index.htm

Hello again...I am working on html page and planning to have it as the home page. I figured out that it wont be a problem. however, when a customer finishes a purchase he is directed to index.php. how can I direct the customer to index.htm instead.

Also,in general , is it possible to intergrate html pages into the cart.
Thank you for your help...you guys are great!
Christy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 11-20-2003, 09:00 AM
Anonymous
Guest
 
Posts: n/a
Default

The OUTPUT DISPALY of ALL PHP files is ALWAYS HTML.....

Adding HTML is not that hard to a php page - insert into the code out side of the <?php ... ?> tags - or add your own break

ie:

$Somephpcode = somephpfuction($someothercode);
/* begin adding your HTML - after this line */ ?>
<b>This is My HTML code to be displayed!</b> I hope you like it. <br>
<?php // Add code above this line
#Contunuemorephpcode = #somotherphpcodeect;


ps:
/* this is a php inline comment code after or before will be processes */
// this is a line comment - only code before the slashes will be processed - the balance will be ignored....

PSS - I posted this - jpf
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-21-2003, 05:30 PM
Anonymous
Guest
 
Posts: n/a
Default

I think I wasnt clear.... I wasnt talking about adding html content to a php page....I wanted to know if an exclusively html page could be integrated with oscommerce...
Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-21-2003, 06:06 PM
Lurker
 
Join Date: Nov 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
gobayview
Default

Absolutely. But you do need to use internal HTML to link to it. In the appropriate template file, outside of the <?....?> tags, use a normal link tag (i.e. <a href="http://www.spicerules.com">...</a>) and point to any HTML file. In fact, if you view the source of any osCommerce page, you could copy and paste it into a file and treat it as normal HTML. However, every time you changed a category or product or whatever, you would need to update the html file. That is, after all, why we use PHP in the first place.

Spice
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Linking an external product to store. deviantla osCMax v2 Customization/Mods 3 03-15-2006 01:42 AM
Having problems linking images to products SDancer osCommerce 2.2 Modification Help 3 12-04-2004 06:49 PM
Linking to Categories from index.htm billybeag osCMax v1.7 Discussion 1 02-25-2004 06:16 AM
linking issues Dumb_Question osCMax v1.7 Discussion 0 12-28-2003 07:28 PM
Linking order number to cc transation. seanrice osCommerce 2.2 Modification Help 0 10-08-2003 01:00 PM


All times are GMT -8. The time now is 11:47 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax