talon177 Posted April 5, 2004 Share Posted April 5, 2004 Thanks for the fix, that's even better i used NAVBAR_TITLE_2 as that seems more better since it is a Address Book Quote Link to comment Share on other sites More sharing options...
paulm2003 Posted April 5, 2004 Author Share Posted April 5, 2004 As BTS update it's indeed much better to use NAVBAR_TITLE_2 i.s.o. adding a new define. But it's no problem at all to use any other define if someone like it better for some reason. That's the nice thing about this meta tags controller, you can configure it to output almost anything you like, it's very flexible. Â I wonder why NAVBAR_TITLE_1 is being used for the META_TAG_DESCRIPTION and META_TAG_KEYWORDS . I think it is a little mistake too. Off course it's not important at all (nobody cares about those address book meta tags I suppose, only the title is somewhat interesting), but it does seem better to use NAVBAR_TITLE_2 for those as well. Quote Link to comment Share on other sites More sharing options...
talon177 Posted April 5, 2004 Share Posted April 5, 2004 Sounds good. Quote Link to comment Share on other sites More sharing options...
talon177 Posted April 5, 2004 Share Posted April 5, 2004 Hey guys,  Check this site out, http://www.turningbase.com.au  Does anyone happen to know which contribution he's using for the categories and if it'll work with BTS. I think this would be a cool idea especially if you want to go 3 levels deep without getting the site to be long and messy. Quote Link to comment Share on other sites More sharing options...
paulm2003 Posted April 6, 2004 Author Share Posted April 6, 2004 (edited) I looks like a DHTML menu. There is one available for the BTS too I believe, but it you have to make sure that it works in every browser. I have seen a lot of those DHTML navigation menu's that don't work very well in some browsers/circumstances. You can imagine what happens if a costumer can't use the categories navigation ;) . Edited April 6, 2004 by paulm2003 Quote Link to comment Share on other sites More sharing options...
Guest Posted April 6, 2004 Share Posted April 6, 2004 Hi, Â I'm having some problems with the installation and was hoping I could get some help here. Â Forgive me if this is a stupid question/problem; I'm not all that experienced. Â I uploaded all files (including the import in phpMyAdmin) to the correct location (catalog) and now receive the following error: Â Warning: main(DIR_WS_TEMPLATESTEMPLATENAME_MAIN_PAGE): failed to open stream: No such file or directory in /home/gruntge/public_html/catalog/index.php on line 150Â Warning: main(DIR_WS_TEMPLATESTEMPLATENAME_MAIN_PAGE): failed to open stream: No such file or directory in /home/gruntge/public_html/catalog/index.php on line 150 Â Fatal error: main(): Failed opening required 'DIR_WS_TEMPLATESTEMPLATENAME_MAIN_PAGE' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gruntge/public_html/catalog/index.php on line 150 Â Any ideas what's causing this? Advice would be welcomed. I haven't modified any of the files. Â Thanks, Kris Quote Link to comment Share on other sites More sharing options...
paulm2003 Posted April 6, 2004 Author Share Posted April 6, 2004 Hi Kris, Â there is something wrong with the defines, I would re?nstall the BTS if I were you. Make sure the BTS files really overwrite any existing ones. Â These defines are in "includes/configure_bts.php", but if you get the error message usually something really went wrong during installation somehow. Quote Link to comment Share on other sites More sharing options...
Guest Posted April 6, 2004 Share Posted April 6, 2004 Great, thanks for the reply. Â I reinstalled and it is working much better. Â I still get errors when I click on boxes and content, but everything else appears to work. Â The errors I get are as follows: Â Warning: main(templates/boxes/main_page.tpl.php): failed to open stream: No such file or directory in /home/gruntge/public_html/catalog/index.php on line 150Â Warning: main(templates/boxes/main_page.tpl.php): failed to open stream: No such file or directory in /home/gruntge/public_html/catalog/index.php on line 150 Â Fatal error: main(): Failed opening required 'templates/boxes/main_page.tpl.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gruntge/public_html/catalog/index.php on line 150 Â I realize it looks quite similar, but this time I'm sure I've uploaded all the files and deleted the old ones. Â Thanks in advance for any help, Kris Quote Link to comment Share on other sites More sharing options...
talon177 Posted April 7, 2004 Share Posted April 7, 2004 I looks like a DHTML menu.There is one available for the BTS too I believe, but it you have to make sure that it works in every browser. I have seen a lot of those DHTML navigation menu's that don't work very well in some browsers/circumstances. You can imagine what happens if a costumer can't use the categories navigation ;) . Thanks for the info, i'll check it out and see if the one for the BTS works in all browsers. Quote Link to comment Share on other sites More sharing options...
paulm2003 Posted April 7, 2004 Author Share Posted April 7, 2004 Hi Talon, Â It's not at osC contribs yet I believe. If you tested it and it works in all major browsers I think it should be uploaded to osC contribs. Â Paul Quote Link to comment Share on other sites More sharing options...
paulm2003 Posted April 9, 2004 Author Share Posted April 9, 2004 (edited) Hi Matt/Talon, I was also wondering, when using the BTS how would people make a "Top of Page" anchor, using the normal  <a name="TOP"></a>  <a href="#TOP">Top of Page</a> It certainly isn't a BTS specific problem but I read about a perfect solution for this today *edit* <a href="<?php echo $_SERVER['REQUEST_URI']; ?>#top">Top</a> no need for tep_href_link() or whatever, session data is remembered. And the best of all no page reloads!  hth, Paul  *edit* Edited June 7, 2004 by Johnson Quote Link to comment Share on other sites More sharing options...
afterdigital Posted April 9, 2004 Share Posted April 9, 2004 Hi Paul,  I'm really appreciating the time you all have taken to share these notes with others. I've gotten plenty from it. Thanks.   I am curious about the design of fields and boxes, but before i continue, i must warn you, i am no PHP guru. In fact, i've gotten by with the topics on in this discussion fine but i owe it to the clear explanations and that's it.  Let me continue, i've purchased a template which i'm very happy with as is. I want to design the fields of OSC in the different areas of the template. I'll explain, but first have a look at the site for a clearer picture:  http://www.lordofdiamonds.com  There are many areas of the template i would like to insert functions of OSCommerce into. Such as the menu boxes at the top of the page. The date. The bread crumbs i would like to design in style sheets (drop down menu) if i could. Languages and Currency.  There are four boxes down the page which are static. I would like to insert such things as:  - new products (maybe one product to replace the pearl box) - review area to replace the box which starts with "visit our collection...." - specials area to replace the box with the butterfly jewel  at this point i hope you get the picture.....  I would like to know how i can do this?  I don't have a link to the original template for you to look at but i can have it in a day --- this may give you and others an idea of what the 'perfect template' looks like  Again, many thanks for the elaborate notes on this forum.  AD Quote Link to comment Share on other sites More sharing options...
paulm2003 Posted April 9, 2004 Author Share Posted April 9, 2004 Hi AD, Â you have a lot of questions which aren't very easy to answer. To show those boxes in that way won't be easy at the moment. Â Did you already try the tutorial at the BTS forums? If you did and you know some CSS you should be able to do at least the main layout. Some of the details might be very difficult to achieve though (for me too). It certainly isn't someting I can explain in one (or some) posts. Quote Link to comment Share on other sites More sharing options...
talon177 Posted April 10, 2004 Share Posted April 10, 2004 Thanks Paul, the code above worked great, got rid of 1 of my headches. LOL Quote Link to comment Share on other sites More sharing options...
afterdigital Posted April 10, 2004 Share Posted April 10, 2004 Did you already try the tutorial at the BTS forums? If you did and you know some CSS you should be able to do at least the main layout. Hey Paul, Â Other than this forum, i'm not familiar with a BTS forum(s). Do you have any links i can visit? Â Well, nevertheless, thanks for this forum. It helped a great deal! Â I will continue to dissect OSC. Great potential. Â Â Regards, Â AD Quote Link to comment Share on other sites More sharing options...
talon177 Posted April 10, 2004 Share Posted April 10, 2004 Just click on paul's www link in his profile and it'll bring you to the forums Quote Link to comment Share on other sites More sharing options...
femto2nd Posted April 12, 2004 Share Posted April 12, 2004 I'm having some problems with the install of BTS. After I over write all the files and the do the sql update oscommerce will not run, it looks like it does not have the correct password for connecting to the database. where do you set the database user and password? Quote Link to comment Share on other sites More sharing options...
talon177 Posted April 12, 2004 Share Posted April 12, 2004 Femto2nd: That's in your includes/config.php and admin/includes.php  The BTS doesn't touch those files. First you have to install osC 2.2 MS2 then setup the site, then install the BTS and run the bts.sql file.  HTH Quote Link to comment Share on other sites More sharing options...
femto2nd Posted April 12, 2004 Share Posted April 12, 2004 OK, so i installed OScommerce and checked to see that it worked i then uploaded the files from BTS and then used phpmyadmin to run the BTS.sql file. and i get the following. Â Warning: main(includes/database_tables.php): failed to open stream: No such file or directory in /home/nosrak/public_html/osc/includes/application_top.php on line 56 Â Fatal error: main(): Failed opening required 'includes/database_tables.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nosrak/public_html/osc/includes/application_top.php on line 56 Â Â the admin page seems to be working. Â thanks for the quick reply before Quote Link to comment Share on other sites More sharing options...
femto2nd Posted April 12, 2004 Share Posted April 12, 2004 (edited) I can't seem to locate the database_tables.php file. Â So I probably do not have the proper version of oscommerce installed. what i have is osCommerce 2.2-CVS that is included with cpanel. Is this different than the 2.2MS2 release? It probably is and that will fix my problems Edited April 12, 2004 by femto2nd Quote Link to comment Share on other sites More sharing options...
paulm2003 Posted April 12, 2004 Author Share Posted April 12, 2004 (edited) Hi femto2nd, Â the BTS is only made for osC2.2MS2, and i don't think it will ever work with any other versions. Â It probaly would be a waist of time to make it work with any future osC version, because it's an awfull lot of work, and an official template stucture is expected to be introduced even before MS3. So if you start using the BTS on osc2.2MS2 now, you will already get used to using a template structure for osC, and you will probably be able to convert your template(s) to MS3 easyly (unless this new osC template structure won't make any sense of course, but I have confidence it will be great). Edited April 12, 2004 by paulm2003 Quote Link to comment Share on other sites More sharing options...
Stryker Posted April 19, 2004 Share Posted April 19, 2004 (edited) Hi Paul, Sorry if this has been asked before but I looked in the thread without any luck. (Who knows maybe I didn't look close enough) I been trying to make a custom version of the template you included (ClosedOneTable) and ran into 1 problem. My background.gif doesn't work correctly in the "New Products For Month" box. It repeats the background image file 4 times (like its being tiled with then streched). To understand what im talking about please visit this real quick and look at New Products (bottom middle): www.superfastbuys.com  In the style sheet it has an example how to apply styles to specific boxes. Well I figured this would be my fix but I tried everything I can think of for this line "table#shopping_cartBoxLT {" such as "table#products_newBoxLT {" and I don't think I am doing it correctly.  Any help would be appreciated :)  Thanks, Stryker Edited April 19, 2004 by Stryker Quote Link to comment Share on other sites More sharing options...
Stryker Posted April 19, 2004 Share Posted April 19, 2004 Oh ya, I forgot to specify, when you visit SuperFastBuys.com you will need to click on the template "SFB" to see the error. Quote Link to comment Share on other sites More sharing options...
paulm2003 Posted April 19, 2004 Author Share Posted April 19, 2004 (edited) Hi Stryker, My background.gif doesn't work correctly in the "New Products For Month" box. It repeats the background image file 4 timesit's repeated because ther's a repeat-x in the stylesheet: td.infoBoxHeadingLT , .infoBoxHeading , .productListing-heading  { background : #fee662 url(images/background.jpg) repeat-x; } using an image like you are using, you should remove the repeat or change it to a repeat-y (if you use the repeat you can use a smaller image and stil fill the whole space independant of the size)  In the style sheet it has an example how to apply styles to specific boxes. Well I figured this would be my fix but I tried everything I can think of for this line "table#shopping_cartBoxLT {" such as "table#products_newBoxLT {"Sometimes I forget to mention, but only the small side infoboxes have classes and id's assigned. It is possible to assign classes/id's to the content boxes in several ways. Some boxes are easy to edit in the "templates/../content/" template files. Others need changes to the box class, or you can wrap a <div> around it in "templates/../content/" and assign a class/id to the <div> to make styling specific boxes a little easyer. Actually easy styling of the all content info boxes should be included in a next BTS version. Allthough this should not be extremely difficult, it always is quite timeconsuming, so if anybody reading this has some spare time and likes to to it....... :)  cheers, Paul Edited April 19, 2004 by paulm2003 Quote Link to comment Share on other sites More sharing options...
Stryker Posted April 19, 2004 Share Posted April 19, 2004 (edited) using an image like you are using, you should remove the repeat or change it to a repeat-y (if you use the repeat you can use a smaller image and stil fill the whole space independant of the size) I tried it with removing repeat, no change in the look. It repeated anyways. When I tried with repeat-y all the side info-box's remained the same (correct) but the bottom ended up looking wierd. I then tried no-repeat and it acts the same as repeat-y. Â I figured I need to set it so it uses width=100% but I can't get that to work either. Â Currently, its set at repeat-y. Â Info again: www.superfastbuys.com Select "SFB" Edited April 19, 2004 by Stryker Quote 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.