shaunklink Posted August 11, 2005 Posted August 11, 2005 many there are a few techniques though... what I've done, mind you while using STS template (which makes this much easier because you just remove the content from the page, but it still has loaded all the application_top files etc), is to take a simple page, like conditions strip out all the code that displays stuff the actual "conditions" language text. first, I would find the line of code, somewhere near the top... require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONDITIONS); now change it to something related to the page you want to add.. say: require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DANCE_FEVER); save it as 'dance_fever.php' (this should be in the main catalog directory BTW) now, go into include>languages>(your language)>conditions.php copy all the code, and rename it to "dance_fever.php" go into the new "dance_fever.php" (in languages, not the one in main catalog) file and add or change whatever text calls you want to make. ok, now go into includes>filenames.php add a line, anywhere you want really that says this: define('FILENAME_DANCE_FEVER', 'dance_fever.php'); thats pretty much it, now when you go to store.com/dance_fever.php, you will have a page that retains all the correct sessions vars, etc. if you need more help on actually putting content inside, post back.
shaunklink Posted August 11, 2005 Posted August 11, 2005 Ohh also, whenever you want to link to the page, you would just use "FILENAME_DANCE_FEVER". I forgot to mention, you would also want to change the $breadcrumb. personally, I would really scour the forums here. It is a headache and a half though to really find exact answers. I attribute this to the really bad search engine built into this forum. use quotes to find a phrase your looking for, like "usps not working" or use +usps +error +work I got sucked way to far into OSC before I realized how hard it is to get answers to certain questions. the biggest reponse I get is "Pay someone to fix it!"....hell, Im the one being paid to do it in the first place!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.