Guest Posted December 5, 2009 Posted December 5, 2009 Here's my question: For our business, I want to add some pages (e.g. FAQ, Our Story, Get Involved, and several others). I am using an STS template and running 2.2RCA, and have a good knowledge of HTML and CSS but am pretty overwhelmed by this project, which is my first attempt writing PHP documents. Is it as simple as copying the header info from something like "create_new_account.php" or "contact.php" and adjusting the anchors and body content or what? The pages would ideally be surrounded by all the same sidebars, header and footer as the rest of the site. What's the proper method here? Again, I beg you forgive my relative lack of know how here, OSC is my first venture into PHP (excluding WordPress I guesss, but that is just silly easy). Having a ball learning this all, any guidance is vastly appreciated. SAM
Guest Posted December 5, 2009 Posted December 5, 2009 Did I say "writing PHP documents"? I meant editing! Anyway. Word.
phour19 Posted December 5, 2009 Posted December 5, 2009 For me here is what I did. In your catalog/ open that contact.php and at the top near line 15 change the contact us part to what ever you want. require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONTACT_US); Save as what ever you want. Upload that file. Open catalog/includes/filenames.php. At the bottom add, before ?> add the following: define('FILENAME_XXXXXXX', 'ooooooo.php'); XXXXXXX = the name you used in the last step ooooooo = the name of the file you are going to create in next step Save filenames.php and upload Open catalog > includes > languages > english > conditions.php and change to meet you needs. Rename it to the name you used in the last step. Save and upload. Now you can reference that file (ooooooo.php) where ever you want. Hope all that makes sense. :lol: :thumbsup: Tim How to secure your site. A must read
Guest Posted December 5, 2009 Posted December 5, 2009 Sam, Infopages unlimited will do what you want I believe. http://addons.oscommerce.com/info/1026 Chris
Recommended Posts
Archived
This topic is now archived and is closed to further replies.