Jump to content

multimixer

♥Ambassador
  • Content count

    4,733
  • Joined

  • Last visited

  • Days Won

    72

Everything posted by multimixer

  1. multimixer

    [Contribution] STS v4

    Well, osCommerce is not a php tutorial and I think it's not made in the purpose to help self education in this matters. It's a selling tool made in the purpose to work. This question is not related to STS, so, in the future for general questions like this please find an older similar topic to ask, or open a new one. Lets keep this thread clean and strict STS related. Anyway, for now: In your index.php you will see near the bottom following line <td class="main"><?php echo tep_customer_greeting(); ?></td> This is calling a function. This function you will see in file includes/functions/general.php where it says // Return a customer greeting function tep_customer_greeting() { global $customer_id, $customer_first_name; if (tep_session_is_registered('customer_first_name') && tep_session_is_registered('customer_id')) { $greeting_string = sprintf(TEXT_GREETING_PERSONAL, tep_output_string_protected($customer_first_name), tep_href_link(FILENAME_PRODUCTS_NEW)); } else { $greeting_string = sprintf(TEXT_GREETING_GUEST, tep_href_link(FILENAME_LOGIN, '', 'SSL'), tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')); } return $greeting_string; } The actual text is in file includes/languages/english.php You need to invest some time to understand how everything works. Read the forum, most questions are already answered.
  2. multimixer

    STS won't install

    I don't think that it is correct saying that "CSS isn't compatible with STS". OSC to CSS is not is an addon. This particular addon is not compatible with STS. But it is for sure not the only way to apply a clean css based design and structure to your site. You can do it very well using STS too. As I do. So I can say that "CSS is compatible with STS", the particular addon probably not.
  3. multimixer

    [Contribution] STS v4

    I have do idea what Xara Web Designer is. Like I said just before, a visual web editor is not really the best tool. osCommerce, as easy to design it might get with STS, remains a "non drag and drop" program, there is no way than to learn what you don't know Some links for you HTML Tuition http://www.w3schools.com/html/default.asp CSS Tuition http://www.w3.org/Style/CSS/learning PHP Tuition http://us.php.net/tut.php SQL Tuition http://www.w3schools.com/sql/default.asp
  4. multimixer

    [Contribution] STS v4

    The "correct way" is 1) You read the sts documentation, most of your questions will be answered 2) You search this topic a bit, there is a link to "Important Links for STS Newbies" just few posts above yours 3) Dreamweaver or any other visual editor is not your tool, find a proper editor
  5. multimixer

    [Contribution] STS v4

    You have following ways to go, each can be combined with an other of course: - change the content of the $content$ tag 1) You go and alter the original .php file, for example contact_us.php, to get the structure you want 2) You alter the .css file that controls the content - make more templates 3) You create special template pages for every .php page you want to customize (ie contact_us.php.html) and add to the template any images, or whatever you want. You can virtually create a template page for every php page of the top level files that are getting displayed - make tags 4) You create tags for different elements you want to control (ie $login$) and then you use this tags in your templates (in all, some, as you like). There are some posts about how to create tags, not long time ago. Specially for the CONTENT of product_info pages, there are already many tags created. In general you have the total control of every aspect of your site. Read the post as Bill suggested just above and also the STS manual. Invest some time to understand both STS and osCommerce it self, and you will see that it is not as horrible as it looks at the first sight :) If you really have to clue about php and html, then you need to invest some time to learn about.
  6. multimixer

    [Contribution] STS v4

    The actual content of each page come via the $content$ tag. Do you have it in your template? If not, then all pages will look same, because no actual content loaded
  7. multimixer

    [Contribution] Option Types v2

    Can you you check how setting up a product manually and uploading it's image via the admin page work while the image folder is at 755? Well, I wonder too, no idea to be honest. It's possible that you got hacked before you started with the security things
  8. multimixer

    [Contribution] Option Types v2

    The gogxxx.php files in your images folder are a sign that you got hacked. This has nothing to do with the option types installation. Also, not enough to set the folder permissions to 755 to prevent hacking, there are several things to do, I recommed you to read the pinned security topics and some good security posts in the tips and tricks section ("how to secure your site").There is also a special security forum, I would go through. Regarding the image folder permissions, option types use 2 folders for uploading files images/temp/ for not registered users and images/uploads/ for registered, both should have permissions 755. The fact that you need to have permissions set to 777 to be able to upload files is host related. Can you upload product images via admin, for example, having the image folder set to 755? I guess you also need to have it to 777. Talk to your host about this, and if nothing to do, then, in your case, I would change the host
  9. multimixer

    PWA 2.1 AND STS

    What is the page that has the display problem? The only sure thing is that file checkout_process.php (the one you posted) is not involved in this or any other display issue, because it is not getting displayed at all
  10. multimixer

    [contribution] Simple Template System (sts)

    Come on, the path of the images you placed is www.andysbiggaragesale.com/images/ScreenShot1.gif
  11. multimixer

    [Contribution] STS v4

    What do yo mean with this? What do you get on the page to see?
  12. multimixer

    [Contribution] STS v4

    it might be that you didn't merged correctly the file in the error message Post the code of the file that starts here switch ($action) { case 'edit': and ends here break; default: $heading[] = array('text' => '<b>' . $mInfo->title . '</b>');
  13. I send you the addon in 3 formats, check your mailbox for something you got from multimixer, maybe it will land in the spam folder
  14. multimixer

    [Contribution] STS v4

    There are various ways to do this ie instead of having 2 different tags $logind and $logoff, you can have the same ie $mytag, but with a different content on each if/else side, if this { $mytag=a } else { $mytag=b } or you say $tag1=a $tag2=b and then if this { $mytag=tag1 } else { $mytag=tag2 } then you place $mytag in the template and it will display according to the situation, a or b
  15. multimixer

    [Contribution] STS v4

    EDIT: Double click
  16. multimixer

    [Contribution] STS v4

    I would do it that way if (tep_session_is_registered('customer_id')) { $sts->template['logoff'] = '<a href=' . tep_href_link(FILENAME_LOGOFF, '', 'SSL') . ' class="headerNavigation">' . HEADER_TITLE_LOGOFF . '</a>'; $sts->template['login'] = ''; } else { $sts->template['login'] = '<a href=' . tep_href_link(FILENAME_LOGIN, '', 'SSL') . ' class="headerNavigation">' . HEADER_TITLE_LOGIN . '</a>'; $sts->template['logoff'] = ''; } and then use $login$$logoff$ in my template wherever I like
  17. multimixer

    Please help me to add LOGIN link to STS

    You can call it forum, or topic or whatever, it's the place where all sts related questions are/should being discussed and where I would answer your question, not to mention that it has been answered already there. I don't think that there is a need for any moderator to do anything, it's up to the users, like me and you, to follow and use and take benefit from what already exist It's up to you to wait for an answer wherever you like ofcourse
  18. multimixer

    Missing Image in STS

    7 minutes ago !!! ??? Lets stay in the sts forum, thats the right place to solve this -> your post
  19. multimixer

    STS Help please

    I would check the STSv4 forum, that is dedicated to STS related questions
  20. multimixer

    Please help me to add LOGIN link to STS

    Why not to ask this in the STSv4 forum, so that all STS related questions stay together?
  21. multimixer

    [Contribution] STS v4

    In real this is not related to STS it self, but to changes done to includes/application_top.php because of option types V2 addon Option types require to move this // initialize the message stack for output messages require(DIR_WS_CLASSES . 'message_stack.php'); $messageStack = new messageStack; some lines higher than it's original position So the STS addition // START STS 4.5.8 require (DIR_WS_CLASSES.'sts.php'); $sts= new sts(); $sts->start_capture(); // END STS 4.5.8 comes after that, and exactly this is causing the error Make sure you have the STS code in your application_top.php and that you place it just before the message stack code. This should solve the issue
  22. multimixer

    STS Fatal Error

    1) It is not clear what your problem is. You say a ) "I keep getting an error when trying to upload an image on the product pages." b ) "goto Holidays->Easter->Easter Egg and Photo and select a file and add to cart. This is the error I get:" When do you get the error? When trying to upload a product image via admin or when adding something to the cart? There is also a thread dedicated to STS related questions --> the STSv4 forum If you'll post there, please make clear if you use a product_info.php.html CONTENT template or not
  23. multimixer

    Adding images to my site

    If the format is ALWAYS like this you could try around with "explode" or something like this, to create a function to get the right image name. You can read about here
  24. multimixer

    [Contribution] STS v4

    No, this is not related to STS. What I see is that you are missing category images (top right on product listing). You need to set images for this categories via admin->catalog, select a category, the press "edit" If you are missing any other images, please be more specific
  25. multimixer

    Help with modifying an STS template

    I think it would be better if you post your question to the STSv4 forum, thts dedicated to STS related questions There is also no need to post the .css right away I guess
×