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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| |
|
#2
| |||
| |||
| 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 |
|
#3
| |||
| |||
| 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 |
|
#4
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| 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 |