Jump to content

Kurre

Members
  • Content count

    122
  • Joined

  • Last visited


Reputation Activity

  1. Like
    Kurre got a reaction from jwood20 in Mouse cursor active in the search box   
    I guess it is this code that I should change ?
     
    <?php echo tep_draw_form('search', 'categories.php', '', 'get'); echo HEADING_TITLE_SEARCH . ' ' . tep_draw_input_field('search'); echo tep_hide_session_id() . '</form>'; ?> </td> </tr> <tr> <td class="smallText" align="right"> <?php echo tep_draw_form('goto', 'categories.php', '', 'get'); echo HEADING_TITLE_GOTO . ' ' . tep_draw_pull_down_menu('cPath', tep_get_category_tree(), $current_category_id, 'onchange="this.form.submit();"'); echo tep_hide_session_id() . '</form>'; ?>  
  2. Thanks
    Kurre reacted to kgtee in Mouse cursor active in the search box   
    I have tried this and it works.
    Edit the file admin/categories.php.
    1) Find the line at around line 888:
    Change it to:
    2) Add this javascript to the bottom of the file:
    Done.
  3. Thanks
    Kurre reacted to Jack_mcs in Default country in create account   
    The word states in this context refers to that box on the page. It fills in what would normally be entered there that is specific to the chosen country.
  4. Thanks
    Kurre reacted to BrockleyJohn in Default country in create account   
    The usual approach is to edit the field definition in create_account and make it default to the country of the store
    echo tep_get_country_list('country', STORE_COUNTRY, 'required aria-required="true" aria-describedby="atCountry" id="inputCountry"'); If you want to use a different country, substitute the country_id for STORE_COUNTRY
  5. Like
    Kurre got a reaction from Demitry in Horizontal Categories Menu BS   
    Yeah.. @Demitry I did not install the XS modul either as @puggybelle I didn't know I should. Now it works like it should, except now the categories button in mobile view is floating over my fixed top navbar.
    Thanks for all help!
  6. Like
    Kurre got a reaction from puggybelle in Horizontal Categories Menu BS   
    @puggybelle Many thanks! That worked. I use the Navigation Bar too and don't want those links cantered.
  7. Like
    Kurre got a reaction from Demitry in Horizontal Categories Menu BS   
    @Demitry Thanks for all your help, I will do that if I get any problems with this other modification.
  8. Like
    Kurre reacted to Demitry in Horizontal Categories Menu BS   
    Ah,.. yeah, I do remember you mentioned that this change affects the top Navigation Bar. And hence, why the need to change the name of the classes.
    However, to do that (if using the Navigation Bar as well), you would need to copy and paste the entire block for .navbar-nav from the BootStrap CSS file into the user.css file.
    Then rename all of these classes (in the user.css file) to .navbar-nav-h-menu and then add the following code to the bottom of the user.css file (after the newly added .navbar-nav-h-menu classes).
    /* this will center the menu links */ .navbar-nav-h-menu { width:100%; text-align:center; } .navbar-nav-h-menu > li { float:none; display:inline-block; } Then go into the horizontal menu file and change all the navbar-nav classes to navbar-nav-h-menu and do the same in the class file for this addon (if there are any in that class file). It's a bit more involved but not difficult.
     
  9. Thanks
    Kurre reacted to puggybelle in Horizontal Categories Menu BS   
    @Kurre
    If you look at the file - catalog/includes/modules/content/header/cm_header_catmenu.php
    Very near the bottom, you'll see this chunk of code:
    //added function function build_hoz($class='') { global $cPath, $level; if (empty($class)) $class = 'nav navbar-nav'; $OSCOM_CategoryTree = new explode_category_tree(); $data = '<ul class="' . $class . '">' . $OSCOM_CategoryTree->getExTree() . '</ul>'; return $data; } That line in the center -
    if (empty($class)) $class = 'nav navbar-nav';
    All I did was change that class name to nav-navbar-nav2
    It's confusing, because the class is not called 'header' something or other, it called navbar - despite this being a contrib for categories in the header 😯
    Then you insert the code I gave you before in user.css and it should work - because you've now renamed the class in the file referenced above.
    Just change the font size and type to whatever you like and it should be fine.
    I seem to recall having to rename that class because if I used the original class name in user.css, it was centering not only the categories menu, but the links in the navbar as well.  This way, the code in user.css will only affect the categories menu in the header.  Try that out and see what happens.
    - Andrea
  10. Like
    Kurre got a reaction from kgtee in Images change on mouse over   
    @kgtee Well done of you ! I wish it was a Phoenix shop this one, I use 2.3.4.1 CE bootstrap version.
    It is to much work to move to Phoenix with Swedish languages and stuff right now for me.
    But thanks for your effort!
  11. Thanks
    Kurre reacted to kgtee in Images change on mouse over   
    I made some changes to the file tpl_cm_i_card_products.php:
    This flip-flops the two images for every product when the user mouseover and mouseout over the images. Tested on Phoenix 1.0.3.0.
  12. Thanks
    Kurre reacted to bonbec in Images change on mouse over   
    Take a look on the html and css code from this page : https://bootsnipp.com/snippets/O5yMd
     
  13. Thanks
    Kurre reacted to Heatherbell in Backgrond color New products for october   
    All colour changes are made in css in user.css.
    Find the class to change by using e.g. Chrome - right click on page - click inspect - use tool (top left of tools pane) to click on any object to identify the class to change for css.
  14. Thanks
    Kurre reacted to JcMagpie in Export more than one order at once   
    Not much has changed on the admin side so try this
    jQuery/Ajax Advanced Order Handler for o
    It has a long list of function including
    - Batch Handling of Orders - Batch Print Invoices (one order = one A4) for the selected orders, without need for PDF, in one click. Code used is from 'Batch Printing without Frames or PDF v.2.3.1' Add-On by 0ethos0 (Originally made by PandA.nl)
     
    finding add-on in the apps market sucks! you should just use google to look for them it will provide much better results.
     
  15. Thanks
    Kurre reacted to Moxamint in Hide products with 0 quantity   
    I thought this is the default behavior?
  16. Thanks
    Kurre reacted to Heatherbell in Quantity discount ?   
    @Kurre
    We use the following mod for similar
    https://apps.oscommerce.com/OOHRE&quantity-discounts-by-that-software-guy&p=3
  17. Thanks
    Kurre reacted to bonbec in Payer Card payments   
    class pr_cc { var $code, $title, $description, $enabled; // class constructor function pr_cc() { change it to
    class pr_cc { var $code, $title, $description, $enabled; // class constructor function __construct() {  
  18. Thanks
    Kurre reacted to ArtcoInc in Credit Class and Gift Voucher 5.14   
    @Kurre
    This might help ...
    M
×