synthetic.bear Posted January 13, 2004 Share Posted January 13, 2004 Ok. Is it customary to redirect to the catalog directory for an Oscommerce site? Or should I have just installed the contents of catalog to my root? Quote Link to comment Share on other sites More sharing options...
DiamondSea Posted January 13, 2004 Author Share Posted January 13, 2004 (edited) Ok. Is it customary to redirect to the catalog directory for an Oscommerce site? Or should I have just installed the contents of catalog to my root? There are a couple different ways. Probably the best way is to make your catalog directory the same as your web's home page and have your web hosting provider enable (if they don't have it already) index.php as a valid default filename. This will cause your home page to be your catalog page. You can also do the index.php trick above to redirect to your catalog page, but this will hurt your search rankings (if that's an issue) because there will be no text or links to navigate and index on your home page, only the redirection. You can do a similar trick with and index.html and a redirect option (which I don't remember the syntax for off the top of my head). - Brian Edited January 13, 2004 by DiamondSea Quote Simple Template System (STS) Layout your site with 1 (or more) HTML file! Download STS: http://www.oscommerce.com/community/contributions,1524 Support: http://www.oscommerce.com/forums/index.php?showtopic=58541 Link to comment Share on other sites More sharing options...
synthetic.bear Posted January 14, 2004 Share Posted January 14, 2004 Ok, I'll play around with it, thanks for the info :) Quote Link to comment Share on other sites More sharing options...
Kristofor Posted January 14, 2004 Share Posted January 14, 2004 Hi, has anyone had problems with the banners showing up in STS, because my banners dont display at all even though i added them int he admin. wat could be going on, im thinking its something with sts? Quote Don't die with the music in you!!! Failure is just another boundary to sucess!!! But that doesn't mean your getting somewhere... Link to comment Share on other sites More sharing options...
trendyfashion Posted January 14, 2004 Share Posted January 14, 2004 I haven't tried a banner with an image but mine work fine as text. Quote The Wiki Docs: Read them, live them and be thankful for them! Link to comment Share on other sites More sharing options...
Jazz33 Posted January 14, 2004 Share Posted January 14, 2004 Please help! myself and a friend uploaded a new clean install of osc then added the sts_template and evething need with it...now it will not allow us to view the large image nor add to the cart.....please help........... Quote Link to comment Share on other sites More sharing options...
DiamondSea Posted January 14, 2004 Author Share Posted January 14, 2004 Please help! myself and a friend uploaded a new clean install of osc then added the sts_template and evething need with it...now it will not allow us to view the large image nor add to the cart.....please help........... Did you start with the MS2.2 release? - Brian Quote Simple Template System (STS) Layout your site with 1 (or more) HTML file! Download STS: http://www.oscommerce.com/community/contributions,1524 Support: http://www.oscommerce.com/forums/index.php?showtopic=58541 Link to comment Share on other sites More sharing options...
helohelo Posted January 14, 2004 Share Posted January 14, 2004 hello, anyone has experience with setting up sts 1.8, then simple header tag controller (so far so good) end then: osaffiliate? I got realy messed up: what does this error message mean? Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/optimizekit.com/httpdocs/shop/oscommerce-2.2ms2/catalog/admin/includes/affiliate_application_top.php on line 62 Fatal error: Failed opening required 'includes/languages/affiliate_english.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/optimizekit.com/httpdocs/shop/oscommerce-2.2ms2/catalog/admin/includes/affiliate_application_top.php on line 62 Quote Keesjan Link to comment Share on other sites More sharing options...
updmike Posted January 14, 2004 Share Posted January 14, 2004 Hi, i am using the latest version of sts and I just noticed that when authorize.net sends back an error code to my checkout_process.php page the template is actually showing all the boxes, images in the right order yet no images are available (just showing the red x in IE) and the style sheets are not apparently being called. I am not sure if it has anything to do with this contribution or not but if anyone has had or solved this problem i would love to know.. thanks.. Mikey Quote Link to comment Share on other sites More sharing options...
trendyfashion Posted January 14, 2004 Share Posted January 14, 2004 I changed my template for includes/sts_templates/product_info.php.html that has a javascript button menu. Now my popup image doesnt work. I know its the new page because if I upload old style it works fine. This is the major difference in the page is in the <head> thats seems to be the problem. Other than this the template runs fine on other pages. <script language=JavaScript> <!-- if (document.images) { image1on = new Image(); image1on.src = "images/b1on.gif"; image2on = new Image(); image2on.src = "images/b2on.gif"; image3on = new Image(); image3on.src = "images/b3on.gif"; image4on = new Image(); image4on.src = "images/b4on.gif"; image5on = new Image(); image5on.src = "images/b5on.gif"; image6on = new Image(); image6on.src = "images/b6on.gif"; image7on = new Image(); image7on.src = "images/b7on.gif"; image8on = new Image(); image8on.src = "images/b8on.gif"; image9on = new Image(); image9on.src = "images/b9on.gif"; image10on = new Image(); image10on.src = "images/buttonon1.gif"; image11on = new Image(); image11on.src = "images/buttonon2.gif"; image12on = new Image(); image12on.src = "images/buttonon3.gif"; image13on = new Image(); image13on.src = "images/buttonon4.gif"; image14on = new Image(); image14on.src = "images/buttonon5.gif"; image1off = new Image(); image1off.src = "images/b1.gif"; image2off = new Image(); image2off.src = "images/b2.gif"; image3off = new Image(); image3off.src = "images/b3.gif"; image4off = new Image(); image4off.src = "images/b4.gif"; image5off = new Image(); image5off.src = "images/b5.gif"; image6off = new Image(); image6off.src = "images/b6.gif"; image7off = new Image(); image7off.src = "images/b7.gif"; image8off = new Image(); image8off.src = "images/b8.gif"; image9off = new Image(); image9off.src = "images/b9.gif"; image10off = new Image(); image10off.src = "images/button1.gif"; image11off = new Image(); image11off.src = "images/button2.gif"; image12off = new Image(); image12off.src = "images/button3.gif"; image13off = new Image(); image13off.src = "images/button4.gif"; image14off = new Image(); image14off.src = "images/button5.gif"; } function changeImages() { if (document.images) { for (var i=0; i<changeImages.arguments.length; i+=2) { document[changeImages.arguments].src = eval(changeImages.arguments[i+1] + ".src"); } } } // --> </SCRIPT> Quote The Wiki Docs: Read them, live them and be thankful for them! Link to comment Share on other sites More sharing options...
innovations Posted January 14, 2004 Share Posted January 14, 2004 Brian, or somebody with the know how, can you please tell me how I might use the following variables on my homepage? $cartcontents: The text version of the "Cart Contents" function.$whatsnewbox: The What's New box$searchbox: The Search box$cartbox: The Shopping Cart box$orderhistorybox: The Order History box (blank if not used on a page, ie: use not logged in)$bestsellersbox: The Best Sellers box$specialfriendbox:$reviewsbox: The Reviews box[code] I know someone has had to of done this by now, so I hope that you might be able to explain to me how it is done, Thanks. Quote If only I was the one helping you... .:::::For complete data-driven and multi-media website creations:::::. http://www.innocentinnovations.com ------------------------ Get instructions, visit the documentation site: http://wiki.oscommerce.com/Top Link to comment Share on other sites More sharing options...
jeremie Posted January 14, 2004 Share Posted January 14, 2004 I love this contribution, i just have a quick question. all things related to a popup are not working, wether its the image popup or anything else that requires a javascript popup. some code somewhere must be broken on my site. http://www.homeocare.com/site could anyone tell me the location of the code responsible for the popup? Thanks, Jeremie Quote Link to comment Share on other sites More sharing options...
trendyfashion Posted January 15, 2004 Share Posted January 15, 2004 Well I don't know what fixed mine but they work now. All I was editing was the template files but I converted my gif buttons to jpg and now the product popup work. Quote The Wiki Docs: Read them, live them and be thankful for them! Link to comment Share on other sites More sharing options...
beardeddone Posted January 15, 2004 Share Posted January 15, 2004 I love this contribution, i just have a quick question. all things related to a popup are not working, wether its the image popup or anything else that requires a javascript popup. some code somewhere must be broken on my site. http://www.homeocare.com/site could anyone tell me the location of the code responsible for the popup? Thanks, Jeremie You need to use the copy to option under catalog/products in the setup to the top then it'll show up, I use wysiwyg and I think a mod to get that option, if this makes any sence. Quote Best Regards Link to comment Share on other sites More sharing options...
jeremie Posted January 15, 2004 Share Posted January 15, 2004 its works now, it was actually the fact that the template needed to be linked to the CSS file. now that it is, its working Quote Link to comment Share on other sites More sharing options...
innovations Posted January 15, 2004 Share Posted January 15, 2004 Brian, or somebody with the know how, can you please tell me how I might use the following variables on my homepage? $cartcontents: The text version of the "Cart Contents" function.$whatsnewbox: The What's New box$searchbox: The Search box$cartbox: The Shopping Cart box$orderhistorybox: The Order History box (blank if not used on a page, ie: use not logged in)$bestsellersbox: The Best Sellers box$specialfriendbox:$reviewsbox: The Reviews box[code] I know someone has had to of done this by now, so I hope that you might be able to explain to me how it is done, Thanks.*BUMP* Quote If only I was the one helping you... .:::::For complete data-driven and multi-media website creations:::::. http://www.innocentinnovations.com ------------------------ Get instructions, visit the documentation site: http://wiki.oscommerce.com/Top Link to comment Share on other sites More sharing options...
trendyfashion Posted January 15, 2004 Share Posted January 15, 2004 Aaron, What are you wanting exactly? Do you want those codes in that order to show up in a colum? If so then build a single colum multi row table and put the $???? codes in. Quote The Wiki Docs: Read them, live them and be thankful for them! Link to comment Share on other sites More sharing options...
innovations Posted January 15, 2004 Share Posted January 15, 2004 Actually Frank, what I have is a main site and the oscommerce catalog is only one part of the site ( in other words my file directory for the shopping cart is something like: public_html/mainsite/catalog). What I would like to do is use some of those variables, or at somehow get those infoboxes on the homepage of my mainsite. I am not looking for any particular order, I just want to find out how I can have them on it. Thanks, and I hope that clears it up a bit (if not, visit my site an get a feel for what I am talking about: http://www.propheticministries.net) Quote If only I was the one helping you... .:::::For complete data-driven and multi-media website creations:::::. http://www.innocentinnovations.com ------------------------ Get instructions, visit the documentation site: http://wiki.oscommerce.com/Top Link to comment Share on other sites More sharing options...
innovations Posted January 15, 2004 Share Posted January 15, 2004 About placing infoboxes on my main page, I got this contribution and tried it out but is not working exactly right: http://www.oscommerce.com/community/contri...ons,1075/page,3 If you think you could help, here is what it is supposed to look like: http://www.propheticministries.net/Demo.htm and here is what it looks like with the contrib: http://www.propheticministries.net/Demo.php Thanks to whoever figures it out and let's me know! Quote If only I was the one helping you... .:::::For complete data-driven and multi-media website creations:::::. http://www.innocentinnovations.com ------------------------ Get instructions, visit the documentation site: http://wiki.oscommerce.com/Top Link to comment Share on other sites More sharing options...
paulm2003 Posted January 15, 2004 Share Posted January 15, 2004 (edited) Recently I heard from several people that are using the STS, that they are putting there tables (like the infoboxes) inside <p> tags. The way I learned it, block elements (like tables are) within <p> tags aren't allowed. I don't know the STS at all but if possible I would replace the <p> tags with <div>'s. You will need to set new margins and padding values then (since <p>'s have some by default because it is ment for text paragraphs and <div>'s don't because they are ment for layout, like positioning) Again i don't know the STS at all so it might be nonsense what I just said. Only wonder why suddenly people (who use the STS) start using <p> tag this way. :huh: Edited January 15, 2004 by paulm2003 Quote Link to comment Share on other sites More sharing options...
SoundsAlarming Posted January 16, 2004 Share Posted January 16, 2004 Can anyone tell me how to modify the $content output on the index page? I have modified the index page using STS, but I want to remove the "welcome guest...." & "new for jan....." and replace it with a simple html page. Is this possible and how do I go about it? Quote Link to comment Share on other sites More sharing options...
donbaker Posted January 18, 2004 Share Posted January 18, 2004 Hello, I am to tired to think straight so please help. I just installed STS 1.8 on a new osC 2.2MS and get thw following error: Fatal error: Failed opening required 'STS_START_CAPTURE' (include_path='.:/usr/local/lib/php') in /homepages/45/d88208047/htdocs/www/catalog/includes/application_top.php on line 511 How do I fix this. Thanks Don Quote Link to comment Share on other sites More sharing options...
pakipenguin Posted January 19, 2004 Share Posted January 19, 2004 Hello There, I have installed STS on OSC 2.2MS2 , and i have got a theme that i want to implement with STS. The ScreenShot is as follows Now in the screenshot at point 1 when i add the tag $categorybox to the template , it prints the whole box with categories .. what i want is that it just print the categories without the title *categories* so i can use mine ...you can also see it also adds a small corner of the box to the end result when i add $categorybox to my table ... how can i remove it and what tag should i use to print just the categories names and also how can i modify the font / sytle / size of the results of the tags .. as they seems to be not affected by the css i add. kindly help me out regards ~uppal Quote Link to comment Share on other sites More sharing options...
swisslyons Posted January 19, 2004 Share Posted January 19, 2004 (edited) if you have problems getting the image popup to work. make sure that you have $headcontent in the template.html between the head tags <HEAD> $headcontent </HEAD> Edited January 19, 2004 by swisslyons Quote Link to comment Share on other sites More sharing options...
trendyfashion Posted January 19, 2004 Share Posted January 19, 2004 I got my image popup problem fixed.....was an bad product_info.php that had an extra space or something. I got original file and uploaded and everything is fine now. Plus whomever posted the tell-a-friend going to shopping cart...thanks a bunch I was pulling my hair out trying to fix that. It worked great! Quote The Wiki Docs: Read them, live them and be thankful for them! Link to comment Share on other sites More sharing options...
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.