Jump to content

multimixer

♥Ambassador
  • Content count

    4,733
  • Joined

  • Last visited

  • Days Won

    72

Everything posted by multimixer

  1. multimixer

    [Contribution] Option Types v2

    In the image part of file option_types.php try to replace all instances of [$product_info['products_id']] with [$products_options_name['products_options_id']] , so the options can be separated according to product_options_id. I think the file is putting all option choices together because of the common product_id Backup first
  2. I would say maybe, or better some yes and some not, it all depends of what you have installed and how "extensive" you want to use sts (ie use a template for product info pages or not?) I would try to instal sts over my system and see how it works. If it comes out to a mess I would do the opposite, instal sts on a virgin store and then the addons one by one again. However, the only way is to try
  3. multimixer

    [Contribution] STS v4

    I don't think you are missing anything, everything looks as it should look. Maybe you had a different expectation. It's absolutely normal to see the $tags and not the actual content, and this comes because this content is getting created dynamically, so it needs a server to be displayed, as you see it online. The design happens on different "levels" and files: - The "template" level, like sts_template.php.html where you can set the basic structure of the page (where should what appear) and design whatever is not already designed - The "sub template" level, like boxes/infobox.php.html or /content/ templates where ou can do the same lets say for the infobox "specials": infobox_specials.php.html Set the structure (ie do you want a header or not?) and design what is not already designed - The actual php file, for example contact_us.php or boxes/specials.php: Thats the place where it is set what will be displayed, for example for the box "whats_new" that there is a image, the item name and the price. This content is already designed, sometimes in the html itself, sometimes in the css - The file stylesheet.css where all colors etc are set What you can do now is to use the existing css classes and change them to your liking, or to make new. Depending on what you want to change, you need to do it in the right file My suggestion is you start using the "code view" of dreamviewer instead of the "design view". Also stop the practice (that I guess you have) to make colors, backgrounds etc directly on the file like you do in a word.doc file. Start using css for this. Study one more time the sts documentation and the example templates. Also, some useful resources to read: html css
  4. multimixer

    [Contribution] STS v4

    I don't know the specific template you mention, but it can be that there is a template made for the new products module that appear on the front page, and this template has no border and no heading. In this case you need to change it as you like Or, there is a general template made for all infoboxes, with no border no heading. and the new products module follow this. In this case you need to make a new one just for this module Do all other infoboxes have borders and headings? You can go to your template folder /boxes/ to see what templates are in there
  5. multimixer

    [Contribution] STS v4

    The product_info page is a big form. There are predefined tags $startform and $endform that you can use in your content template product_info.php.html to create the form easily. I guess that the thing you are missing is that you don't use them You need to wrap the product related content into this form, everything that needs to be "sent" to the cart. You don't need to include ie related products or also purchased etc
  6. multimixer

    Product category help

    I'm sorry, but there are "over 11.633 online shops listed". Do you want just any listing? Or do you mean the way the shops are listed? About "sending you the solution", I'm sorry, again, but only I can do is to give you a tip, maybe, after I understand what you mean
  7. multimixer

    Product category help

    What live shop you mean? And what kind of help you need? How do you imagine that somebody can help you with this kind of question?
  8. multimixer

    [Contribution] STS v4

    Hi Wendy, nice to see you in the STS forum. Let me try to bother you again with my "useless knockings" :) I don't know what microfoft expression looks like, but I guess that what you designed is a plain static html page. I also don't know what picture you are referring too, but I guess it must be an image of the template. However: STS is a way to put a "skin" over, or around, the dynamically created content of the php pages. Using sts doesn't mean that your site will turn into a static html, so you can not use just a static html design. It needs still to display dynamic content, and this happens via the $tags$. In other words: Whatever is going to remain same on all pages, like for example a large header image, this you can put into your html directly, as you would do for a regular static page. Everything else, everything that will be "produced" dynamically needs to be added as a $tag$. What is a $tag$? It is a way to "transfer" dynamically created content in a short way into a template. Each $tag$ needs to be defined first ofcourse, so that the template "understand" what it means. For example: $sts->template['login'] = '<a href=' . tep_href_link(FILENAME_LOGIN, '', 'SSL') . '>' . HEADER_TITLE_LOGIN . '</a>'; This here defines the tag $login$. Definition happens in file includes/modules/sts_inc/general.phpWherever I place it into my template, I will get a link "login" leading to login.php. In static html I would make just a link, in sts I use the tag instead. What sts do now is, to create the "environment" around this link. In my template I have for example <div class="headleftcol1"> <div class="langcur">$languagebox$</div> <div class="toplogin">$login2$$logoff$ | $register2$$myaccount$ | $history$</div> </div> You can see how tags are getting created in the files of includes/modules/sts_inc/ folder. There is also a list of predefined tags in the user manual. You can create as many tags as you want your self, for any element that you want to place precisely into your template. You can place them wherever you like and into any "environment" you like. Some of the tags inlude already a formatting that comes from the actual php page. That is for example for the $content$ tag, that displays the actual php file content, for example the contact_us.php as it i designed in contact_us.php.html. To change this, you need either to go into the php file to change the design, or to create tags for any element that this page displays What you can not do, is to design your template in a "visual editor". I mean you can, but you will not see how he actual page looks like until you use a server (online or offline via XAMPP etc) The best would be, you take one of the existing templates of the package and try around till you get the result you want. I would first make just the default template and then go slowly to more specific templates for index, products, boxes, modules etc. Try moving tags around, cancel some or add some new and watch the results over your server. After you get the "logic" of the story, you will see that it is very easy to do
  9. multimixer

    STS templae help

    Well, I'm sorry if you think that the link to the sts forum is "nothing helpful" or if you feel knocked in some way. Believe me, I do not spend my time here knocking people. STS is a addon, so, I told you to post in the STS thread, the one that is dedicated to sts related questions, and this has several reasons: 1) It helps that all answers stay together and that helps other people to find a solution easier. The thread becomes something like a "tutorial" 2) It helps you to get an answer faster 3) It helps people who know about sts to find all questions at one place, instead of searching all over the forum. Remember: Not to find an answer, but to find a question to answer. Anyway, it's up to you to post wherever you like.
  10. multimixer

    STS templae help

    You say you was reading in the STS forums, so I guess you know where they are. You should also post all your sts related questions to there, that helps to keep answers at one place. Please post there the STS v4 forum
  11. Check your file admin/includes/database_tables.php about this line define('TABLE_ADMINISTRATORS', 'administrators'); If it isn't there, add it. Probably you deleted it when adding the addon. Is the store part ok? There is an other file includes/database_tables.php that needs to have the same record
  12. multimixer

    Special price on product info page not showing

    This comes because you didn't define $ to be the endchar of your tags in your templates
  13. multimixer

    Special price on product info page not showing

    oops, I'm sorry, somehow I didn't notice that you talk about sts, by brain was flying :) The code looks ok (=standard), I think the problem is that you don't use the $specialprice$ tag in you content product_info.php.html template You need to use them both together, like $regularpricestrike$$specialprice$ in order to have this effect you want
  14. multimixer

    Special price on product info page not showing

    In file product_info.php, you can find this code if ($new_price = tep_get_products_special_price($product_info['products_id'])) { $products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>'; } else { $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); } This says that IF there is a special price then the price = regular price striked out (within the <s></s> tags) + the special price (within the <span></span> tags) ELSE price = just the regular price Later on the $products_price is getting echoed <td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td> Do you have this or similar lines in tour file? How do they look like?
  15. multimixer

    [Contribution] Additional Images Module

    Hi Being honest, I didn't understood some of your answers, so I need to ask again. Please also try to be as specific as possible and to use correct terms to avoid misunderstandings. Last thing, please post all code into code tags, it's the symbol that look like this <> in your reply menu this text is in code tags To the topic 1) You say you use sts v452, you should use at least v458 (23/1/08 by bkellum). I have no idea how v452 look like 2) You say The tags are meant for content product info templates and not for categories templates. I don't understand how this is related or what you test exactly 3) You say Do you mean that all other tags (related to images) like $additionalpopsmall$ or $additionalpopmed$ work ok, and that just the $imageblock1$ etc tags don't work? Saying that the system "ignore" the code related to the imageblock tags makes me to think that you didn't do also the changes in file includes/classes/displayimages.php ? Well I don't think this is really related, but maybe 4) Regarding the tests you do canceling the if statement and the code, I can not follow right now. You also say you didn't made the full integration. I would say, complete the installation and use (as a test) all files in the package, including the sample product_info.php_40.html (just change the #40 to a real product ID you have) and then report exactly what tags work and what not (working=you see the images as they are supposed to display, not working=you see the tags) 5) you say I had the impression that everything is working fine, as it do for me. It would be great anyway, if you could identify what the problem is and to add whatever is missing
  16. multimixer

    [contribution] Simple Template System (sts)

    Just an idea: Do you have the $startform$ and $endform$ tags in place in your template? The product info page is a form, so the relevant content needs to be inside this form. In sts you define this form with this 2 tags Other thing to check is if the add to cart works when the product_info template is disabled
  17. multimixer

    product description

    Does the template seller not know how to do this? Or do they not offer support for what they sell? Anyway, the parts of the file you posted that cause the description to appear, are: $sql = 'SELECT `products_description` FROM `products_description` WHERE products_id ='.$listing['products_id'].' && language_id='.(int)$languages_id; $description_query = tep_db_query($sql); $description = mysql_fetch_array($description_query, MYSQL_ASSOC); $description['products_description'] = substr($description['products_description'], 0, 65); $desc_len = strlen($description['products_description']); $description['products_description'][$desc_len-1] = '.'; $description['products_description'][$desc_len-2] = '.'; $description['products_description'][$desc_len-3] = '.'; that you can change to /* $sql = 'SELECT `products_description` FROM `products_description` WHERE products_id ='.$listing['products_id'].' && language_id='.(int)$languages_id; $description_query = tep_db_query($sql); $description = mysql_fetch_array($description_query, MYSQL_ASSOC); $description['products_description'] = substr($description['products_description'], 0, 65); $desc_len = strlen($description['products_description']); $description['products_description'][$desc_len-1] = '.'; $description['products_description'][$desc_len-2] = '.'; $description['products_description'][$desc_len-3] = '.'; */ and the display that comes here <tr><td colspan="2" align="left">'.$description['products_description'].'</td></tr> Here you need to try around to figure out what to do with the html structure after the description is gone
  18. multimixer

    [Contribution] Additional Images Module

    Seeing the $tags$ is a sign that the page doesn't "understand" what they mean, so they get just printed on the site. This can have 3 reasons 1) They are not defined in file includes/modules/sts_inc/product_info.php. You need to go back and check again if al tags are defined properly in your file 2) You use them on a page they are not meant for, for example on a category template as you say (ie index.php_2_8.html). You can use this tags only in a CONTENT template (not top level one) product_info.php.html. Please check if you use the tags in a template called product_info.php.html and if this template is in folder /content/ of your template folder 3) You don't have the product_info template enabled in your admin
  19. multimixer

    Ultimate Buttons

    There might be an issue regarding centering buttons of unknown width within an area of unknown width Here are 2 solutions, meant for a complete menu, but easily to apply also on a single button or a set of 2 buttons 1) Centre widthless floats and one more example 2) Centering Float Left Menus I liked the first one more, so I wrap each button that I need to have centered into any area (or set of buttons) into 2 divs (outer and inner) that look as follows .butflC {float:right;position: relative;left:-50%;} /* outer */ .butflCr {position: relative;left:50%;} /* inner */ This is working for Safari, FF and opera, I don't have a IE available right now to check, maybe some additional adjustment will be necessary
  20. multimixer

    Remove Title on Page on 2.2rc2

    What do you mean with "page title"? Where does it stuck on the page?
  21. multimixer

    SEO Install Error Help

    Since there are several ultimate SEO addons, you should find the proper support thread and post your question there. It looks like you didn't merge some code properly in file includes/functions/html_output.php. So the best is, you take your backup file (before the SEO changes) and try to merge it one more time
  22. multimixer

    STS 4.6 Customizing the Home or index page

    If you know where the forum is, hen the best is you post your question to there If you search a little, there is also a post about how to add a flash movie
  23. multimixer

    Problem Adding Rows in Products Table

    This is something even your client would be able to do: In admin>catalog>categories/products there are buttons such as "new category", "new product", "edit", "delete" etc If you press them, they do what they promise
  24. multimixer

    Template Folder in STS->Default

    ou should post your issue in the stsv4 support forum, it's mentioned in the user manual and the download page of the addon PS @Chris: The latest STS version (4.6) comes with several templates preinstalled, they are ready to use without any (or with some minor) modifications
  25. multimixer

    Second address line module

    In file address_book_process.php there is following line <?php include(DIR_WS_MODULES . 'address_book_details.php'); ?> This is telling you that the file includes/modules/address_bok_details.php is getting included (in the case of add or edit address.) Going to this file you'll see all input fields listed
×