ya_dood Posted February 22, 2006 Posted February 22, 2006 I followed this article to create additonal pages such as an about us page. http://www.oscommerce.info/kb/osCommerce/C...g_Area/Boxes/49 It works fine on my site but I've never wrote PHP before. I see that I can add text and links to the following line: define('TEXT_INFORMATION', 'My text can go here '); But how do I add tables and images that were written with HTML? Is it possible? Would I have to use CSS? I couldn't find an answer in the Knowledge base or on the Forums. Thanks Quote
ddp Posted February 22, 2006 Posted February 22, 2006 I followed this article to create additonal pages such as an about us page. http://www.oscommerce.info/kb/osCommerce/C...g_Area/Boxes/49 It works fine on my site but I've never wrote PHP before. I see that I can add text and links to the following line: define('TEXT_INFORMATION', 'My text can go here '); But how do I add tables and images that were written with HTML? Is it possible? Would I have to use CSS? I couldn't find an answer in the Knowledge base or on the Forums. Thanks You can put html into php pages. define('TEXT_INFORMATION', 'your html can go here '); Makes sense? don't forget to keep the the two single quotation marks without them it will not work. Quote Backup before making changes. Backup before making changes! Backup before making changes!! You did do a backup? eh?
ya_dood Posted February 22, 2006 Author Posted February 22, 2006 I tried adding <table> tags but it said "Fatal error: Cannot redeclare tep_db_connect()" for the file catalog/includes/functions/database.php it worked fine with just hyperlinks and basic text. Does it all have to be on one line? I double checked on the close '); as well. Quote
ya_dood Posted February 22, 2006 Author Posted February 22, 2006 what a dummy, i was messing up-it's all set now. thx :lol: Quote
ddp Posted February 23, 2006 Posted February 23, 2006 what a dummy, i was messing up-it's all set now. thx :lol: My pleasure. Quote Backup before making changes. Backup before making changes! Backup before making changes!! You did do a backup? eh?
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.