Jump to content
Latest News: (loading..)

Tsimi

♥Ambassador
  • Content count

    2,261
  • Joined

  • Last visited

  • Days Won

    81

Reputation Activity

  1. Haha
    Tsimi got a reaction from ce7 in Products sorting   
    :lol:
  2. Like
    Tsimi got a reaction from ce7 in KissIT Image Thumnailer   
    You can keep the code in there. It shouldn't matter if you use later the horizontal menu or not.
  3. Like
    Tsimi got a reaction from raiwa in KissIT Image Thumnailer   
    @ce7
    Open your ..includes/classes/category_tree.php file
    FIND:
    if ( ($this->follow_cpath === true) && in_array($category_id, $this->cpath_array) ) { $link_title = $this->cpath_start_string . $category['name'] . $this->cpath_end_string; } else { $link_title = $category['name']; }
    REPLACE WITH:        
    if ( ($this->follow_cpath === true) && in_array($category_id, $this->cpath_array) ) { $link_title = $this->cpath_start_string . tep_image('images/' . $category['image'], $category['name'], SMALL_IMAGE_WIDTH*0.5, SMALL_IMAGE_HEIGHT*0.5, 'style="display:inline-block;"') . ' ' . $category['name'] . $this->cpath_end_string; } else { $link_title = tep_image('images/' . $category['image'], $category['name'], SMALL_IMAGE_WIDTH*0.5, SMALL_IMAGE_HEIGHT*0.5, 'style="display:inline-block;"') . ' ' . $category['name']; }  
  4. Like
    Tsimi got a reaction from raiwa in KissIT Image Thumnailer   
    @ce7
    Open your ..includes/classes/category_tree.php file
    FIND:
    if ( ($this->follow_cpath === true) && in_array($category_id, $this->cpath_array) ) { $link_title = $this->cpath_start_string . $category['name'] . $this->cpath_end_string; } else { $link_title = $category['name']; }
    REPLACE WITH:        
    if ( ($this->follow_cpath === true) && in_array($category_id, $this->cpath_array) ) { $link_title = $this->cpath_start_string . tep_image('images/' . $category['image'], $category['name'], SMALL_IMAGE_WIDTH*0.5, SMALL_IMAGE_HEIGHT*0.5, 'style="display:inline-block;"') . ' ' . $category['name'] . $this->cpath_end_string; } else { $link_title = tep_image('images/' . $category['image'], $category['name'], SMALL_IMAGE_WIDTH*0.5, SMALL_IMAGE_HEIGHT*0.5, 'style="display:inline-block;"') . ' ' . $category['name']; }  
  5. Thanks
    Tsimi got a reaction from rulegacy in Horizontal Categories Menu BS   
    @rulegacy
    I see...
    Ok let's try the following.
    First let's add a new custom class to avoid conflicts with other dropdown classes.
    Open your ../includes/classes/catmenu.php file and look for this code
    $root_start_string = '<li class="dropdown">', add a new class, in this example I use yourclass (*you can name that whatever you like just make sure you also change the css definition as well.)
    $root_start_string = '<li class="dropdown yourclass">', Save and close the file.
    Next let's add the new css definitions inside the user.css file
    .dropdown-submenu a {text-transform:none;} .yourclass > a {text-transform:uppercase;} Make sure the css code is inserted exactly like that. If you would switch those 2 new css definitions around it won't work.
    Now you should have all Caps in the first categories only and the rest below inside the sub-menus should be normal.
  6. Thanks
    Tsimi got a reaction from valquiria23 in Anyone know of a guide with the code to change box colors in Bootstrap Oscommerce?   
    @@Sam-AUST
     
    As far I know there is no "guide" or "tutorial" for customizing osC BS.
    Your catalog side in the osC BS version contains css files one is the bootstrap.css or bootstrap.min.css then there is the custom.css and the user.css. You want to apply any changes to the user.css only. Don't touch the other css files. As you already mentioned, Bootstrap is css based and requires some knowledge in that area. It is not really difficult, Bootstrap has many stuff pre-defined and you just need to use certain classes to show/activate those functions/features.
    For example what you call boxes is displayed in osC BS using the "panel" class.
    Now we need to look how such a panel is created.
    This here is your basic panel (sample code taken from the Bootstrap official site)
    <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">Panel title</h3> </div> <div class="panel-body"> Panel content </div> </div> now we look at the css to see where it gets its color from.
    .panel-default { border-color: #ddd; } .panel-default > .panel-heading { color: #333; background-color: #f5f5f5; border-color: #ddd; } now let's give the boxes a red header background with red borders. For that you need to add the following to your user.css
    .panel-default { border-color: #ff0000; } .panel-default > .panel-heading { color: #fff; background-color: #ff0000; border-color: #ff0000; } (* #fff; stands for white and #ff0000; stands for red. For more info regarding css color codes look here.)
     
    So know when you reload your shop page you should have all boxes red colored. Be aware that all boxes that use the "panel-default" class will have that red color.
    The blue background for the welcome message that you mentioned uses the alert alert-info class. Now we could do the same as we did with the boxes but that would change the alert-info class which is used in various places in the shop. So what we could do is add a new class to it and give it a new css definition.
    Let's look at the code that generates that message part. (index.php around line 264)
    <div class="alert alert-info"> <?php echo tep_customer_greeting(); ?> </div> now we add a new class to it in this case "test". This is what we call a core code change which is usually not recommended but adding a class like this now is rather a small change and can be accepted.
    <div class="alert alert-info test"> <?php echo tep_customer_greeting(); ?> </div> now again inside the user.css add this code
    .test { color: #000; /* color for the text */ background-color: #b1ffb1; border-color: #007600; } now refresh your page and you should see a light green background with dark green border.
     
    As you can see css is very simple and thanks to Bootstraps pre-defined classes you can nicely customize your shop.
     
    Here a couple of useful links that might help you in near future.
     
    Color codes
    Bootstrap Official Site
    Tips and Tricks for Bootstrap stuff (*the custom button part might be useful.)
     
    There are so many more helpful sites out there, just search using google.
    Or if you need something specific just search like this "how to change xxxx in Bootstrap" and then you should get some good results. And if all should fail you can always post here in the forum there are a couple of css cracks here that sure can help you out.
  7. Haha
    Tsimi reacted to Dan Cole in Multiple Selections of Checkbox for Product Option.   
    If they're chocolate coated I'm in.
    Dan
  8. Like
    Tsimi got a reaction from Dan Cole in Multiple Selections of Checkbox for Product Option.   
    @Dan Cole
    50 bugs or 50 bucks it's the same depending in which country you live. lol
    Some consider bugs more valuable than paper.
  9. Haha
    Tsimi reacted to Dan Cole in Multiple Selections of Checkbox for Product Option.   
    Those must be pretty big bugs! 😁
    Dan
  10. Thanks
    Tsimi reacted to Dan Cole in Horizontal Categories Menu BS   
    @Tsimi Lambros this may have been reported before...I didn't see but it might have been. 
    The use of this code in /includes/modules/content/header/templates/catmenu.php...
    <?php if(MODULE_CONTENT_HEADER_CATMENU_XS_STATUS == 'True') { echo '<div id="catMenu" class="col-sm-12 hidden-xs hidden-sm">'; } else { echo '<div id="catMenu" class="col-sm-12">'; } ?> Will result in an undefined constant warning if Categories Menu XS is not installed.  Obviously it's not a big deal but since I noticed it I thought I'm mention it FWIW.
    Dan
  11. Like
    Tsimi got a reaction from Demitry in Horizontal Categories Menu BS   
    Thanks @Demitry for helping out.
    I think what she means is, when you add the css code you posted it will also change the looks of the links within the navbar since those also use the same classes.
    Best would be to give it a new, unique class that only refers to that parent category link.
    For example;
    Inside the ..includes/classes/catmenu.php file
    FIND
     
    $root_link_title = '<span><span class="fas fa-list"></span>&nbsp;' . $link_title . '</span>'; REPLACE WITH
     
    $root_link_title = '<span class="parent"><span class="fas fa-list"></span>&nbsp;' . $link_title . '</span>'; We added the class parent for this example. Name it whatever you want later.

    Then add this to your user.css file
    .parent { color: red; } This should have changed the parent link color to red.
    Change the css code to whatever you like.
  12. Like
    Tsimi got a reaction from cupidare in Frozen: tep_draw_button problem   
    If possible you should always use NULL instead of ' '. In this case you're right it only works with NULL. 
  13. Like
    Tsimi got a reaction from Dan Cole in Lost Admin Password   
    Just empty, NOT DELETE, just empty the administrators table. Then access your admin area again and you will be prompted to create a new username and password.
  14. Like
    Tsimi got a reaction from Dan Cole in Lost Admin Password   
    Just empty, NOT DELETE, just empty the administrators table. Then access your admin area again and you will be prompted to create a new username and password.
  15. Thanks
    Tsimi got a reaction from Bobber in default shipping method change.   
    Try this and keep an eye on it if it doesn't cause any other issues.
    This following code change should make the most expensive shipping selected by default.
    Open catalog/includes/classes/shipping.php
    FIND: (around line 108)
    if ($rates[$i]['cost'] < $cheapest['cost']) { REPLACE WITH:
    //if ($rates[$i]['cost'] < $cheapest['cost']) { if ($rates[$i]['cost'] > $cheapest['cost']) {  
  16. Like
    Tsimi reacted to burt in Product Page Layout   
    Totally do-able, it is exactly as @raiwa says.
    Gallery 10 6
    Name 20 6
    Model 30 3
    Price 40 3
    Attributes 50 6
    Buy 60 3
    Reviews 70 3
    Description 80 6
    You are constrained by the DEPTH of the Gallery, so place a minimum height on this using CSS which would be placed in user.css
    @media only screen and (min-width : 768px) {   div.cm-pi-gallery {     min-height: 1000px;   } } Change the min-height on this to better reflect your needs.
    You will then also need to amend tpl_ files for product_info, at the very least;
    remove clearfix from reviews button tpl restyle price as it would look weird as a h* Prior to the extra tpl_ change for price, you would end up with something like:

    Of course, how this would look in XS...is debatable, and that is why you can micromanage the layout using those tpl_ files if you so wish.  My system for these modules uses only the SM layer.... however, that micro-management is where things get really complicated really quickly and hence why I did not put that level of management into Core.
     
  17. Like
    Tsimi reacted to LeeFoster in Custom Product Builder of OSc BS   
    You're right,  it appears to be an issue with my product. 
    Note to self - 'Don't use " in product description'
    The other error I have fixed, there is an instance of cpb_product_builder_name that is missing ' ' around it.
  18. Like
    Tsimi reacted to raiwa in QTPro BS   
    @JcMagpie, @Tsimi, @altoid,
    Thanks for the time to test. You are right, all good on a fresh new installation.
    My PHP 7.2 develop-test store's configuration entries were corrupted.
    New version 5.6.2. with the last fixes uploaded
    Best regards
    Rainer
  19. Like
    Tsimi got a reaction from altoid in QTPro BS   
    @raiwa
    I installed this quickly into a fresh, new Frozen shop on my local server (XAMPP) running PHP 7.2.1 and I don't get any duplicate entries. Everything looks good here.
     
  20. Like
    Tsimi got a reaction from altoid in QTPro BS   
    @raiwa
    I installed this quickly into a fresh, new Frozen shop on my local server (XAMPP) running PHP 7.2.1 and I don't get any duplicate entries. Everything looks good here.
     
  21. Like
    Tsimi reacted to 14steve14 in [Addon] Options with Images Module for Modular Product Page (Responsive)   
    If you want another options as images module there is always this one. It may need a bit of an update for use on the latest version as I havent looked at it in a while. Sorry to link away from this thread and version
    https://apps.oscommerce.com/b277x&amp;options-as-images
  22. Thanks
    Tsimi reacted to burt in BS4 admin   
    A number of deleted posts in this thread have been re-instated, lets people see the whole conversation.
  23. Like
    Tsimi got a reaction from Smoky Barnable in BS4 admin   
    @wHiTeHaT
    If that is not a misunderstanding how do you explain the code package that I and many others have?
    Gary never said that he won't do anything if he doesn't sell those code packages he just said it will take longer.
    I guess if you would code up something useful and you actually sell that it will sure give you the motivation and spare financial cushion to work more intensive with osC or does it not?
    I really don't see the big fuss here. You felt offended...why? There are other devs selling their stuff on their own websites which 1. osC doesn't earn anything on it and 2. they don't help the osC devs move osC forward financial-wise. The thing is that those devs wouldn't need an own website to sell their stuff if this forum or osC would have a strong Marketplace which then again helps both sides, you as dev and the dev that created code. It would be a win/win situation.
    That said you are free to believe and think what you want just bare in mind that EXACTLY fuss like this is what causes the regular people (future shop owners? ) to run away from osC. Seeing conflict within the team discussed in public is not super motivating and does destroy or split the community. Don't you think a simple PM conversation with Gary would have sufficed?
    Look where we are standing now. I am more than confused myself what should be supported? What is gonna happen from now on? And still, where the hell is Harald?
    Is Gary's Frozen still they way to go? Is he gonna finish the BS v4 conversion? What are you gonna do? What is this BS4 admin for anyways, stock 2.3.4.1? Where is the Marketplace you were working on? What happened to product variants? So many things unfinished and spread out and not connected.
    Guess I'll just go keep myself busy with some video games till this dark shitty cloud is gone from this currently very unpleasant forum.
     
  24. Like
    Tsimi got a reaction from Smoky Barnable in BS4 admin   
    @wHiTeHaT
    If that is not a misunderstanding how do you explain the code package that I and many others have?
    Gary never said that he won't do anything if he doesn't sell those code packages he just said it will take longer.
    I guess if you would code up something useful and you actually sell that it will sure give you the motivation and spare financial cushion to work more intensive with osC or does it not?
    I really don't see the big fuss here. You felt offended...why? There are other devs selling their stuff on their own websites which 1. osC doesn't earn anything on it and 2. they don't help the osC devs move osC forward financial-wise. The thing is that those devs wouldn't need an own website to sell their stuff if this forum or osC would have a strong Marketplace which then again helps both sides, you as dev and the dev that created code. It would be a win/win situation.
    That said you are free to believe and think what you want just bare in mind that EXACTLY fuss like this is what causes the regular people (future shop owners? ) to run away from osC. Seeing conflict within the team discussed in public is not super motivating and does destroy or split the community. Don't you think a simple PM conversation with Gary would have sufficed?
    Look where we are standing now. I am more than confused myself what should be supported? What is gonna happen from now on? And still, where the hell is Harald?
    Is Gary's Frozen still they way to go? Is he gonna finish the BS v4 conversion? What are you gonna do? What is this BS4 admin for anyways, stock 2.3.4.1? Where is the Marketplace you were working on? What happened to product variants? So many things unfinished and spread out and not connected.
    Guess I'll just go keep myself busy with some video games till this dark shitty cloud is gone from this currently very unpleasant forum.
     
  25. Like
    Tsimi got a reaction from valquiria23 in BS4 admin   
    @wHiTeHaT
    I meant the comment you wrote that has been deleted in the other thread. I didn't took any screenshot and I hope that not many people have read it for their sake. That kind of stuff leaves a foul taste. Like I said stuff like that could have been discussed via PM or whatever you osC devs use to communicate.
     
    Like I said we primary bought a code package or service from Gary nothing more and nothing less. No one was ever forced to buy anything from him or any other person here.
    The side benefit for buying that package or service allowed things to move forward quicker. Which is what we buyers welcomed.
    C'mon you know that Gary will share/release it at the end as he has done all the time with GOLD and EDGE. Otherwise it wouldn't make sense to put so much time and work into it. And let's say, just theoretically, if he would not release it. So what? I didn't intend to buy Frozen with BS4 I bought a code package, THAT was my goal.
    Waiting for what? Till Harald shows up and have a look at your Idea and maybe will or will not add it? So what should you or Gary do in the meanwhile? Wait for better days to come? Like I said if you were able to code up something that is useful to people and you would say I sell this and that and at the same time this would help move osC forward quicker then I think you'll be surprised how many people might actually react positive to that.

    Some of us "donated" money to osC and got this Ambassador status or green name color. Nothing else. Nothing moved forward faster or better because of that. We have received no special code package only available to Ambassadors. Hell I even cannot edit my posts after the 15 min limit. How much $$ have you or Gary seen from any donation made to osC? When was the last donation made? THAT is what I call a waste of money. Then I rather spend it on someone who actually does something constructive for osC and its community.
    Oh I remember very well but where are these things? Into which repository did you build all this in?
×