Jump to content

leahdosa

Members
  • Content count

    46
  • Joined

  • Last visited

Posts posted by leahdosa


  1. Rigadin has not been around here for quite some time.

     

    Your issue does not have anything to do with STS but rather how you have your server configured or how you uploaded osCommerce.

     

    The error is pointing to the osCommerce installation folder so you may have your "catalog" path set incorrectly in your configure.php files. Could also be related to a badly coded .htaccess file as well.

     

    Hey Bill...I am replying through someone else's thread because I'm wondering if the problems I'm encountering (which started ever since I transferred my site over) is related to this other guy's problem (above). By the way, I recognize my last post was loaded with questions and your probably very busy, so no rush if you can't get around to it any time soon. Besides, I have a feeling alot of these issues will be resolved if I figure this one thing out.

     

    Anyway, you told me to check out my configurations in the 2 configure.php files. I thought it was pointed correctly, but perhaps there is something wrong. I did notice that on my old site, it would go as follows: www.mysitename/catalog/whatever_file _'m looking_at. Is it supposed to be in that order? Because this time around, it goes: www.foxysally.com//whatever_file_I'm looking_at...and for some reason, it does have 2 slashes after foxysally.com. Could this have something to do with the fact that my buttons aren't showing up and why some of my images are broken as well? Perhaps I installed the site wrong?

     

    -Leah


  2. You may have some CSS that is causing the problem. Use the IE Developer Toolbar (if your browser is IE) to allow you to click on the center content to display the CSS that is associated with it. Then, modify that class to include
    text-align : center;

     

    It appears that your admin/includes/configure.php and includes/configure.php files are not pointing to the correct image path for your shop. Check these files and make the path correction.

     

    Tip: Link to your images using the $templatedir tag. Here is an example linking to a styelsheet located inside your current template folder:

    <link rel="stylesheet" type="text/css" href="$templatedir/stylesheet.css">

     

    Thank You Bill...thank you for introducing that Developer Toolbar to me. I didn't know they had something like that for IE. Anyway, I did figure out the problem with not centering, but still finagling w/ the images issue. I thought that when you transfer all your databases over that somehow your images would transfer over too, so I think that is why the images (the product images anyway) are broken. I am ftp-ying them over right now, so we'll see if that fixes that. I think that the button images problem is a whole separate issue though. I did check in the configure.php file and everything seems to be pointing correctly. I thought that maybe it was a permissions problem but the permissions are set as the same as before at my other domain. To link my images using the $templatedir tag as you described, where might I put that piece of code to make that work (sorry you have to be real specific with me since I'm still such a newbie at this)?

     

    1. While I'm at it, perhaps you could help me with a couple of small issues. There must have been some things I didn't do right when transferring over a site to this new domain because it seems that some things are off ever since I did that. One other issue is that I changed the color of the boxes to pink before I transferred my site over and the change was applied to all the boxes. But now, I am trying to re-size those little corners located in ...sts_templates/full/boxes/infobox.php.html ('corner_left.gif' & 'corner_right.gif'). All of them have re-sized correctly with exception to the 'manufacturers' box and the 'categories' box and I can't seems to figure out why (I did install that catalog add-on that lists the categories as an unordered list...perhaps that might have something to do w/ it, but the manufacturer box is having the same problem though).

     

    2. I would like to add an image above the 'tell-a-friend' form inside the 'tell-a-friend' box. Where might I add that image? Would I have to add it in the actual script; in the ...includes/boxes/tell_a_friend.php file?

     

    3. How can I change the text 'Shopping Cart' to say 'My Cart' in the header of the shopping cart box?

     

    4. And last thing...I noticed in my admin that in the Default Module, the Default template File is set to 'sts_template.html', however when I make changes to that file, nothing happens. But when I make changes to the index.php.html template file, the changes are applied. So it seems that even though the module is set to use 'sts_template.html', it's not using it and only using index.php.html which is really weird. Is this suppose to happen? I'm wondering if this could be why I'm encountering some of the problems I'm having.

     

    Sorry to jump around so much. This is my ADD in action. :)

     

    -Leah


  3. STS makes this really easy.

     

    You have two options....

     

    1. Don't do anything and leave the page layout to your default template. This is an option but since you took the time to create a custom page I'm sure you want custom content as well so this option will most likely not be your choice (see 2nd option below).
    2. Create a new template and use the filename.php.html syntax as the name of the template. For example: If your new page is costumes.php, then your template page would be costumes.php.html. To make adding custom content to this page, I suggest that you copy your default template (sts_template.html) and rename the copy "costumes.php.html". Now, add or remove any of the infobox STS tags that you want to be displayed in this new page.

    If you have static data for this page, simply add it directly into the costumes.php.html template page itself, just like you would enter data into any other web page.

     

    The $content tag is optional but I advise that you use it since it will bring in other data that you may want such as Featured Products, etc. If you do not want this extra data to appear in your costumes page, then leave out this tag.

     

    Thank You Bill...got it to work... got just acouple other questions. For the life of me, I can't figure out how to center my $content area on my home page (sts_template.html) or my new costumes.php.html page I created. I made sure to set the middle <td> to 100% and centered it...also double checked the cell padding & cellspacing to see if that's the problem and didn't see anything there...am I missing something? (it's probably right in front of my nose)

     

    Also, I've spent hours trying to get my buttons to show and can't seem to figure it out. If you see on www.foxysally.com, you'll see that all the buttons are broken. I created some directories as the instructions say in the sts manual to place the buttons in ...sts_templates/full/images/english/buttons, but they are still not showing up. I also placed them in includes/languages/english/images/buttons to see if that'd work, but still nothing. It might be worth noting that I recently transferred all my mysql databases over from my other website and since doing that, I can't preview the images in my admin when I add them to my product listings, however I can see them on the actual public website. I just thought I'd throw that in there since maybe that could be related to this other image issue I'm having, but I don't know.

     

    Leah


  4. Im trying to use this contrib... but without sucess..

     

    Im using STS and HTC.. but i think that isnt interfer...

     

    I put the CSS code below on my stylesheet but my categories still the same. I already change my left columm to include(DIR_WS_BOXES . 'ul_categories.php'); but still with no effect.

     

    My settings:

     

    $show_ulcats_as_box = true;

    $show_full_tree = true;

    $idname_for_menu = 'nav';

    $classname_for_selected = 'selected';

    $classname_for_parent = 'daddy';

    $before_nobox_html = '';

    $after_nobox_html = '<div style="clear: both;">';

     

    #nav, #nav ul { /* all lists */
    	padding: 0;
    	margin: 0;
    	list-style: none;
    	float : left;
    	width : 11em;
    }
    
    #nav li { /* all list items */
    	position : relative;
    	float : left;
    	line-height : 1.25em;
    	margin-bottom : -1px;
    	width: 11em;
    	background-color : white;		
    }
    
    #nav li ul { /* second-level lists */
    	position : absolute;
    	left: -999em;
    	margin-left : 11.05em;
    	margin-top : -1.35em;
    }
    
    #nav li ul ul { /* third-and-above-level lists */
    	left: -999em;
    }
    
    #nav li a {
    	width: 11em;
    	w\idth : 10em;
    	display : block;
    	color : black;
    	font-weight : bold;
    	text-decoration : none;
    	border : 1px solid black;
    	padding : 0 0.5em;
    }
    
    #nav li a:hover {
    	color : white;
    	background-color : black;
    }
    
    #nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
    	left: -999em;
    }
    
    #nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /* lists nested under hovered list items */
    	left: auto;
    }
    
    
    /* Menu items with subcategories */	
    #nav a.daddy {
    background: url(images/arrow_green.gif) center right no-repeat;
    }
    
    /* Selected items with subcategories */	
    #nav li.selected {
       background-color: #FFCC00;
    }

     

     

    Any sugestions?

     

    I am having the same issue. ...exactly as you. I also have STS. I did exactly as you...and getting no result.


  5. Leah,

    Go over to the STS Add-ons site (Power Pack) and download my "Add New Pages using STS" add-on. This will guide you step by step on how to properly add new pages and then template those pages using STS.

     

    All of your template pages should be located in your template folder.

     

     

    Hey Bill,

     

    I added that add-on and I have my new page for 'Costumes', but how do I add all the infoboxes to the new page?


  6. Leah,

    Go over to the STS Add-ons site (Power Pack) and download my "Add New Pages using STS" add-on. This will guide you step by step on how to properly add new pages and then template those pages using STS.

     

    All of your template pages should be located in your template folder.

     

    Thank you Bill...I've been out of internet for a week, so I just got your message. I will download that add-on today.

     

    Thanks again for your support!

     

    Leah


  7. The link I provided gives a more stable method for Flash and will work with all browsers as well as not require the user to have to click on the Flash file to get it started.

     

     

    Have you given any thought to using the following STS tag instead?

    $myaccountlogo

    This tag is to be used with an Image and links to the My Account page. It is Multilanguage. It will use SSL if available.

     

    The image is header_account.gif, and should be located in [template folder]/images/english (and other languages), linking to FILENAME_ACCOUNT (account.php, defined in includes/filenames.php).

    The tag is created in: includes/modules/sts_inc/general.php

     

    You could try editing the tag to point to the Flash file instead of header_account.gif:

     

    	$sts->template['cartlogo'] = '<a href="' . tep_href_link(FILENAME_SHOPPING_CART, '', 'SSL') . '">' . tep_image(STS_TEMPLATE_DIR.'images/'.$language. '/emailme.swf, HEADER_TITLE_CART_CONTENTS) . '</a>';

     

    Thank You Bill. I got it to work, but I'm not sure if I did it the correct way, so I'll try that. I'm wondering if you could help me with another issue...I'm trying to create another page with different icons that link to different costume categories. I got it to work by creating the page costumes.php.html, but only by putting it in the /catalog/ directory but I thought our new page(s) should be in the .../full directory. I tried that, but it's not working. Also, when I try to link the images (or icons) on that new page, it seems that none of the php code is working. Click on 'costumes' on www.foxysally.com...you can see that the new page is there, but trying to link those images to my catalog pages aren't working.

     

    leah


  8. ok...sorry if my questions are really stupid here...I'm just trying to get this right...so, I can add this to the includes/modules/sts/sts_inc/sts_user_code.php file:

     

    $sts->template['urlproductid1'] = tep_href_link('product_info.php', 'products_id=1&', 'NONSSL');

     

    and then place the button on the index.php.html page like so:

     

    <a href="urlproductid1">

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"

    width="160" height="40">

    <param name="movie" value="http://www.nomoreuglyjars.com/catalog/images/skirtsetsbutton.swf">'>http://www.nomoreuglyjars.com/catalog/images/skirtsetsbutton.swf">

    <param name="menu" value="false">

    <param name="quality" value="high">

    <param name="wmode" value="opaque">

    <param name="scale" value="noscale">

    <embed src="http://www.nomoreuglyjars.com/catalog/images/skirtsetsbutton.swf" menu="false" quality="high" wmode="opaque"

    scale="noscale" width=160 height=40 type="application/x-shockwave-flash"

    pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">

    </embed>

    </object>

     

    Is that what your saying?

     

    But, don't I need to put the 'cPath=24' somewhere in there since I thought that that was the thing that references it to the particular category (Mini Skirt Sets) I'm trying to link to?

     

     

    It'll be the day when I get this!! Sometimes I'm a slow learner...sorry.

     

     

    Hey Bill...I don't blame you for not wanting to respond to my last questions or maybe you overlooked them perhaps. Frankly, I was being a little lazy and didn't read all the information you provided me with. I think I was getting a little ahead of myself, which sometimes I tend to do. I finally read the forum link you gave me for the flash info. I am not sure what the problem I was encountering before was, so I thought it'd be safe to just start over with a fresh clean install, which I did. After doing the clean install, I followed the instructions you had from this link you gave me (http://forums.oscommerce.com/index.php?sho...p;#entry1298555). Just for my own knowledge, what is the difference between referring to this javascript file for your flash rather than just placing the flash itself on the index.php.html page?

     

    Anyway, it works. I was able to get the flash on the page, but still having trouble linking my flash objects. I gave up on trying to get the flash left nav. menu up and just went with regular images for left nav. links instead, which actually I'm pretty happy with (www.foxysally.com). But I'm hoping there is a way to create a horizontal flash menu in the header successfully, hoping that it might be easier to do since the pages I'm linking to aren't catalog pages. For my link to the $urlmyaccount page, Here is the code I entered in into the index.php.html page:

     

    <td>

    <a href="$urlmyaccount">

    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="125" height="30">

    <PARAM name="movie" value="images/flash/button_myaccount.swf">

    <PARAM name="allowScriptAccess" value="always">

    <EMBED src="images/flash/button_myaccount.swf" quality="best" menu="true" width="125" height="30" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="always">

    </EMBED></OBJECT></a>

    </td>

    <td class="styleFlash">

    <script type="text/javascript" src="$templatedir/flash/swfobject.js"></script>

    <div id="flashcontent"><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="210" height="30">

    <PARAM name="movie" value="images/flash/emailme.swf">

    <PARAM name="allowScriptAccess" value="always">

    <EMBED src="images/flash/emailme.swf" quality="best" menu="true" width="210" height="30" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="always">

    </EMBED></OBJECT>

     

    </div>

    <script type="text/javascript">

    var so = new SWFObject("images/flash/emailme.swf", "movie", "210", "30", "8", "#ffffff");

    so.write("flashcontent");

    </script>

    </td>

     

     

    Did I enter in the "a href" in the wrong place? If you go to my new tester site: www.foxysally.com, you can see that I got the "my account" flash button to appear, but the link isn't working.

     

    Thank you so much!

     

    Leah


  9. Hey Bill...might you know how I can fix this? I'm getting this message when I go to my website...

     

    Fatal error: Class 'infoBoxHeaderHeading' not found in /home2/shessofo/public_html/nomoreuglyjars/catalog/includes/boxes/shopping_cart.php on line 19

     

    Sincerely,

     

    Leah


  10. Actually...I did add quite a few items. If I reinstall my osc template, will it wipe all that away, or does it just effect the design of the template?

     

     

    leah

     

    ok...I took 2 steps foward and 3 steps back it seems. Scratch everything I wrote above. I just decided to overwite all the MS2 files w/ the RC1 files to make it easy...and then re-did the manual edits. But,now when I go to the www.nomoreuglyjars.com website, I'm getting a blank page that says this on the top:

     

     

    Fatal error: Class 'infoBoxHeaderHeading' not found in /home2/shessofo/public_html/nomoreuglyjars/catalog/includes/boxes/shopping_cart.php on line 19

     

    do you know what i did wrong now?


  11. Thank You. I'm glad I asked. It is v2.2 RC1 and I was thinking it was MS2 this whole time. Since I didn't do a whole lot to my design, I'm just going to do another clean install all over. Do you know if it costs anything to upgrade to the v2.2 RC2'? Does it matter whether you do the upgrade before or after you add STS?

     

    Actually...I did add quite a few items. If I reinstall my osc template, will it wipe all that away, or does it just effect the design of the template?

     

     

    leah


  12. A quick way to find what version of osCommerce you are using:

     

    Open includes/application_top.php and find the following line:

     

    // define the project version

     

    The code that follows after the above line will state your current version.

     

    Your version will be one of the following:

     

    define('PROJECT_VERSION', 'osCommerce 2.2-MS1'); //released prior to July/2003

    define('PROJECT_VERSION', 'osCommerce 2.2-CVS'); //not sure of the release date but before 2003

    define('PROJECT_VERSION', 'osCommerce 2.2-MS2'); //released after July/2003

    define('PROJECT_VERSION', 'osCommerce 2.2-MS2 051112 Update'); //released Nov 12, 2005

    define('PROJECT_VERSION', 'osCommerce 2.2-MS2 060817 Update'); //released Aug 17, 2006

    define('PROJECT_VERSION', 'osCommerce Online Merchant v2.2 RC1'); //released July 7, 2007

    define('PROJECT_VERSION', 'osCommerce Online Merchant v2.2 RC2'); //release Jan 15, 2008

    define('PROJECT_VERSION', 'osCommerce Online Merchant v2.2 RC2a'); //release Jan 30, 2008

    define('PROJECT_VERSION', 'osCommerce 3.xxx'); //Beta release, not for live stores

     

    The RC2a version is the most up to date release.

     

     

    Thank You. I'm glad I asked. It is v2.2 RC1 and I was thinking it was MS2 this whole time. Since I didn't do a whole lot to my design, I'm just going to do another clean install all over. Do you know if it costs anything to upgrade to the v2.2 RC2'? Does it matter whether you do the upgrade before or after you add STS?


  13. Yes, you will need the "$" in the full STS tag name.

     

     

    Hey Bill...I'm wondering if I uploaded the correct STS files. I thought that my template is MS2 because the title of my template manual is:'OsCommerce 2.2 Milestone 2...Update 051112', but I noticed that beneath the logo on my website, it's saying 'Online Merchant v2.2 RC1'. Does that mean I must upload the RC1 files instead?

     

    leah


  14. ok...sorry if my questions are really stupid here...I'm just trying to get this right...so, I can add this to the includes/modules/sts/sts_inc/sts_user_code.php file:

     

    $sts->template['urlproductid1'] = tep_href_link('product_info.php', 'products_id=1&', 'NONSSL');

     

    and then place the button on the index.php.html page like so:

     

    <a href="urlproductid1">

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"

    width="160" height="40">

    <param name="movie" value="http://www.nomoreuglyjars.com/catalog/images/skirtsetsbutton.swf">'>http://www.nomoreuglyjars.com/catalog/images/skirtsetsbutton.swf">

    <param name="menu" value="false">

    <param name="quality" value="high">

    <param name="wmode" value="opaque">

    <param name="scale" value="noscale">

    <embed src="http://www.nomoreuglyjars.com/catalog/images/skirtsetsbutton.swf" menu="false" quality="high" wmode="opaque"

    scale="noscale" width=160 height=40 type="application/x-shockwave-flash"

    pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">

    </embed>

    </object>

     

    Is that what your saying?

     

    But, don't I need to put the 'cPath=24' somewhere in there since I thought that that was the thing that references it to the particular category (Mini Skirt Sets) I'm trying to link to?

     

     

    It'll be the day when I get this!! Sometimes I'm a slow learner...sorry.

     

     

    oh, shoot...I meant:

     

    <a href="$urlproductid1">


  15. I don't agree with your Flash methods but with that aside, you should link as so:

    <a href="' . tep_href_link('product_info.php', 'products_id=1&', 'NONSSL') . '">

    instead of

    <a href="' . tep_href_link( '/index.php?cPath=24', 'cPath=1&products_id=1') . '">

     

    Take a look at the following tip on how to integrate Flash using SWFObject (Post#4735):

    http://forums.oscommerce.com/index.php?sho...p;#entry1298555

     

    An easy alternative:

     

    Another method to create a product ID link is to simply create a new STS tag for it and then use the tag as the link. This method keeps the session ID as well and is very straight forward:

     

    Add the following new tag code to your includes/modules/sts/sts_inc/sts_user_code.php file:

    $sts->template['urlproductid1'] = tep_href_link('product_info.php', 'products_id=1&', 'NONSSL');

    Now, use $urlproductid1 as the link behind your button.

     

     

    ok...sorry if my questions are really stupid here...I'm just trying to get this right...so, I can add this to the includes/modules/sts/sts_inc/sts_user_code.php file:

     

    $sts->template['urlproductid1'] = tep_href_link('product_info.php', 'products_id=1&', 'NONSSL');

     

    and then place the button on the index.php.html page like so:

     

    <a href="urlproductid1">

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"

    width="160" height="40">

    <param name="movie" value="http://www.nomoreuglyjars.com/catalog/images/skirtsetsbutton.swf">'>http://www.nomoreuglyjars.com/catalog/images/skirtsetsbutton.swf">

    <param name="menu" value="false">

    <param name="quality" value="high">

    <param name="wmode" value="opaque">

    <param name="scale" value="noscale">

    <embed src="http://www.nomoreuglyjars.com/catalog/images/skirtsetsbutton.swf" menu="false" quality="high" wmode="opaque"

    scale="noscale" width=160 height=40 type="application/x-shockwave-flash"

    pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">

    </embed>

    </object>

     

    Is that what your saying?

     

    But, don't I need to put the 'cPath=24' somewhere in there since I thought that that was the thing that references it to the particular category (Mini Skirt Sets) I'm trying to link to?

     

     

    It'll be the day when I get this!! Sometimes I'm a slow learner...sorry.


  16. Leah,

     

    Take a look at what the code is saying (or doing for that matter).

     

    <a href="<?php echo tep_href_link('index.php', 'cPath=21&', 'NONSSL'); ?>">Category Name Here</a>

     

    This code snippit is linking to category ID 21 which is named "Category Name Here". The bold red items should be modified to ID of the category that you are linking to and the name can be whatever you want to name that particular category.

     

    Regarding how to find the category ID numbers is very simple. View your store in your browser and either place your curser over a category or click on it. If you click on it you will see something like this in the address bar:

    http://soundsgoodpro.com/eshop/index.php?cPath=26

    The cPath=26 is the category ID.

    The product ID is the same way. If you click on a product in that category you will see something like this in the address bar:

    http://soundsgoodpro.com/eshop/product_inf...;products_id=58

    The products id=58 is the Product ID.

     

    Now, you will use that information to create your templates.

    STS can use one template for every page in your shop or you can create a template specific to individual pages in your shop. Its up to you.

    If you only want one template, you would set it as the default template and it will be used for every page that does not have a custom template.

     

    STS template structure:

    It is best to save your default template file as sts_template.html. Then, you would stipulate this in the STS “Default” module in the admin panel. The “sts_template.html” file would be used for all pages in your shop that you have not created a custom template for.

    Now, regarding custom templates for specific pages: First you need to understand how STS “searches” to see if a custom template is available. There is a flow chart in the STS docs folder to show how this works. As an overview of the process, it works like this:

     

    • If you wanted to create a template for Category 3, which is the “out of the box” osCommerce “Hardware” category, you would create a template and save it as “index.php_3.html”.

    • Now if you wanted to create a template for a sub-category within a category you would do the following (using the example above):

    Create a template and save it as “index.php_3_9.html” to be used as a template for the “out of the box” category “Hardware” and sub-category “Mice”. Now this template will be used each time a visitor opens up the “mice” sub-category (sub-category 9) in your store. Keep in mind that the template for Category “Hardware” (Category 1) is totally independent of the template you just created for sub-category 9 "Mice".

     

    When creating templates for specific osCommerce pages such as specials.php, login.php, reviews.php, etc., then the format you would use is simply: scriptname.php.html. So the template for specials.php would be specials.php.html and this would be added to your sts_templates/*your_template_folder*/.

     

    When it comes to your product pages:

     

    Create One Template for All Products within a Specific Category:

     

    You can have a template for all of your products inside a specific category by adding the category ID to the template name. For example:

     

    Let say you have a category 22 inside category 11, and want all products in category 22 to use the same content template. You have to create a template and name it “product_info.php_c11_22.html” and place it inside the “content” folder (like catalog/includes/sts_templates/full/content/).

     

    Create a Content Template to be used for All Products:

     

    As in the example above, you can create a content template named “product_info.php_c11.html” that would be used for all products inside category 11 INCLUDING sub-categories (unless subcategories have their own template).

     

    Now, as you probably already know, content templates are only for the center of the page. If you want to have a different header/columns/footer for products in a category 22, you have to create a template named “product_info.php_c11_22.html” and place it your template folder (not in the content folder), for example: catalog/includes/sts_templates/*your template folder*/.

     

    For more detailed information, see chapter 3, sections 6-10 of the STS documentation.

     

    So, as the manual mentions, STS is quite versatile allowing you to keep it "simple" or very complex.

     

    OK. Sorry for such a long post but I hope this helped. :-

     

     

    Thank you. That helps a ton. The flash menu is created in a separate program which allows you to link each button, but when I entered in that code, it still wouldn't work, so I just played with it and got it to work by doing this:

     

    <?php echo '<p><a href="' . tep_href_link( '/index.php?cPath=24', 'cPath=1&products_id=1') . '"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"

    width="160" height="40">

    <param name="movie" value="http://www.nomoreuglyjars.com/catalog/images/skirtsetsbutton.swf">'>http://www.nomoreuglyjars.com/catalog/images/skirtsetsbutton.swf">

    <param name="menu" value="false">

    <param name="quality" value="high">

    <param name="wmode" value="opaque">

    <param name="scale" value="noscale">

    <embed src="http://www.nomoreuglyjars.com/catalog/images/skirtsetsbutton.swf" menu="false" quality="high" wmode="opaque"

    scale="noscale" width=160 height=40 type="application/x-shockwave-flash"

    pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">

    </embed>

    </object>

    </a></p>'; ?>

     

    ...basically just by wrapping the flash button with the php tags, or by putting these </a></p>'; ?> end tags at the end of the object and not before it. Doing it this way, I'll have to do each button one by one which is no problem it if works. I don't even remember how or where I got this code...can you tell me what 'cPath=1&products_id=1' means? Should that be in there?

     

    I am doing all of this in the index.php.html page which your saying doesn't apply the changes to all pages of the site, which is what I'm shooting for. I do want the flash menu to be on all pages, however when I add this code to the sts_template.html page, nothing happens. I double-checked in my admin panel, and I do have my 'Default Template File' set to sts_template.html. So, do you know why my changes aren't showing when I make changes to that sts_template.html file? Am I missing something?


  17. Yes, I will email it to you tonight. Sorry...I forgot that you had asked for it in PDF.

     

    Thank you for sending me that. I was able to print it off with no problem.

     

    I love this STS thing!!!

     

    If you look on my tester site, www.nomoreuglyjars.com, you can see that I was able to get my leftnav flash menu bar up. I hope I did it right...I just made sure to set (in my admin) 'Use Template for Infoboxes' to 'True' and then in the ...full/index.php.html file, I replaced the $categorybox with the code. I was told that you can link each button without disturbing the php by this:

     

    <a href="<?php echo tep_href_link('index.php', 'cPath=21&', 'NONSSL'); ?>">Category Name Here</a>

     

     

    But I'm still not able to link the buttons. But I'm not even sure where to get the actual "Category Name"? For example, for the Mini Skirt Sets, I used:

     

    <a href="<?php echo tep_href_link('index.php', 'cPath=21&', 'NONSSL'); ?>">Mini Skirt Sets</a>

     

    Is that correct, or might the category name be a numerical instead?


  18. There you go...as I said in the previous post, you are missing files from the contribution. You need to upload ALL of the files/folders from the "STS" folder as well as merge in the differences from the files/folders in the "Files for RC2" folder (or whichever version of osCommerce that you have).

     

    Take your time and be sure that you have all of the STS files uploaded first. Then, either merge in the differences from the "Files for RC2" folder or upload all of these files to replace your existing ones. NOTE: If you choose the "replace" method, you will lose any modifications that you previously made to these files.

     

    Yeah...got it!!!..I wasn't kidding when I said I am computer-stupid!!! Now, I've just got to read on to see where I go from here. It's not that big of a deal, but if you get a chance, it'd be great to be able to print out the manual. Since I stare at a screen most the day, I take any opportunity to read anywhere other than a computer screen if you know what I mean. Could mabe you email it to me at leahmerrill@hotmail.com in the pdf format?

     

    thanx a million!

     

    Leah


  19. Yes, you are missing some of the files from the installation, specifically on the admin side. If you are sure that you uploaded all of the necessary files and made the necessary modifications to the existing files, you may have a bad FTP software that is not uploading correctly (it's been known to happen).

     

    I don't know...I'm pretty frustrated...I have re-uploaded and re-edited the files specified in the instruction manual, but still can't see anything. The files seem to match perfectly so I know that the ftp is working correctly. It sais that the module directory is here:

     

    Module Directory: /home2/shessofo/public_html/nomoreuglyjars/catalog/includes/modules/sts/

     

    and I noticed that in that .../modules directory, there is only a folder named 'sts_inc', but not 'sts'...not sure if that's significant or not.

     

    Usually when I have issues like this, it's something really stupid like syntax errors...can you tell me if when I edited the code, if perhaps I made some kind of error?

     

    If I send you my login info, could maybe you take a quick look for me?

     

    leah


  20. Hey again Bill...sorry to throw all these 'replies' at you, but the major hump I'm trying to get over is just the basic installation of the STS.

     

    This is where I'm at in the installation process:

     

    "After installation, STS is disabled. You can enable STS as well as optional features from the admin side, like you do with payment or shipping modules."

     

     

    ...After I log into my admin and when I click on 'modules'...'STS'...all that is there is a string just showing me where my sts file is:

     

    Module Directory: /home2/shessofo/public_html/nomoreuglyjars/catalog/includes/modules/sts/

     

    but in the installation instructions it's showing that it should have 4 modules for 'default', 'index', 'product', and 'popup images'....

    Might you know what I've done wrong now?

     

    Leah

×