Jump to content

Hotclutch

Members
  • Content count

    2,081
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Hotclutch

  1. user.css should be loaded after the bootstrap css to achieve what you asked in the first post is a simple matter of putting <h1 class="h6">Heading Here</h1>
  2. It's your project, you can change whatever file you like, no one should be advocating any different. That might be a vision, but the CE is far from that stage ,and i doubt it ever will be. Last time i checked there was code being added to the template files even.
  3. you can change the font size in stylesheet.css in admin/includes/
  4. Hotclutch

    Site not secure ??

    you can do it in both configure files. Then search the forum for the htaccess code to put down, which will force your non https version of the site to https. At the moment it's accessible via both.
  5. Hotclutch

    Site not secure ??

    If you are now running in full https which is the norm, then this define('HTTP_SERVER', 'http://domain.co.uk'); must become: define('HTTP_SERVER', 'https://domain.co.uk');
  6. Hotclutch

    Site not secure ??

    first thing to do is fix your configure files. Where you have http -> replace with https. That will fix most if not all your pages.
  7. That's invalid syntax. You cannot redirect query strings like that in htaccess. You can do more harm than good when experimenting with htaccess like this, my suggestion is not to make entries in htaccess until the code you put is fully tested by someone who knows htaccess rules (which are complex). Just do this for now.
  8. Hotclutch

    Optional Related Products, Version 4.0

    $optional_rel_prods_content .= ' <div class="card" itemprop="isRelatedTo" itemscope itemtype="http://schema.org/Product">'; $optional_rel_prods_content .= ' <meta itemprop="url" content="' . tep_href_link('product_info.php', 'products_id=' . $optional_rel_prods_values['pop_products_id_slave']) . '" />'; switch (MODULE_CONTENT_PRODUCT_INFO_RELATED_PRODUCTS_HEIGHT_MODE) { case 'Equal Height': $optional_rel_prods_content .= ' <div class="card-body text-center">'; break; case 'Fixed Height': $optional_rel_prods_content .= ' <div class="card" style = "height:' . MODULE_CONTENT_PRODUCT_INFO_RELATED_PRODUCTS_HEIGHT_VALUE . 'em;">'; break; case 'None': $optional_rel_prods_content .= ' <div class="card">'; break; } Can't be right. You already have: $optional_rel_prods_content .= ' <div class="card" itemprop="isRelatedTo" itemscope itemtype="http://schema.org/Product">'; then you have a case where; case 'None': $optional_rel_prods_content .= ' <div class="card">'; break; which means somewhere in your output you could end up with <div class="card" itemprop="isRelatedTo" itemscope itemtype="http://schema.org/Product"><div class="card">
  9. Hotclutch

    New installation - which one to choose?

    No. because that's the last official one.
  10. Someone posted a similar type problem just a few posts back from yours. You need to find where in your script it is generating these parameters and then fix it, by adding code possibly. Even if the problem is already fixed / removed, google will continue to crawl the URLs indefinitely, until you put a 301 redirect on URLs of that type. A quick fix for Google would be to ignore those parameters in webmaster tools, MSN also has an ignore parameter tool.
  11. Hotclutch

    Quick way to create a maintenance page?

    quick, but not pretty: Require all denied Require ip 31.149.136.252
  12. @Harald Ponce de Leon Please keep the demo product set of the 2-series in V3 - those are classic.
  13. Hotclutch

    Osc BS Edge Product Info

    @JcMagpie @coelroy That picture of the tamatoes, and the one next to it. Are they the same dimensions in the install package? If not, and you make them the same, your layout should be perfect.
  14. Hotclutch

    Osc BS Edge Product Info

    Amazon truncates theirs i believe, but they have very long names. Personally i have never had a need to do that.
  15. https://demo.oscommerce.com/ For me, no. I would change it to Welcome to... in the language file.
  16. Hotclutch

    Osc BS Edge Product Info

    I would change the card design. I would build the card without class="card-header" i.e only with a body and footer if necessary. You can use class="card-title" inside the body for product names if you want to. Also i would put the image first in the card, followed by the product name. Then the varying name lengths become less visible. Have a look at the other ecommerce platforms most of them do it this way
  17. Hotclutch

    Osc BS Edge Product Info

    BS cards are perfectly fine. This is a design issue.
  18. It always used to be like that - Welcome to - see the official osC versions. So this is by design, it is not an error in someone's opinion.
  19. html_output.php I have not tested this, but you can try replacing tep_draw_button function with: //// // Output a jQuery UI Button function tep_draw_button($title = null, $icon = null, $link = null, $priority = null, $params = null, $style = null) { static $button_counter = 1; $types = array('submit', 'button', 'reset'); if ( !isset($params['type']) ) { $params = array('type' => ''); $params['type'] = 'submit'; } if ( !in_array($params['type'], $types) ) { $params['type'] = 'submit'; } if ( ($params['type'] == 'submit') && isset($link) ) { $params['type'] = 'button'; } if (!isset($priority)) { $priority = 'secondary'; } $button = NULL; if ( ($params['type'] == 'button') && isset($link) ) { $button .= '<a id="btn' . $button_counter . '" href="' . $link . '"'; if ( isset($params['newwindow']) ) { $button .= ' target="_blank" rel="noopener"'; } } else { $button .= '<button '; $button .= 'type="' . tep_output_string($params['type']) . '"'; } if ( isset($params['params']) ) { $button .= ' ' . $params['params']; } $button .= ' class="w3-btn '; $button .= (isset($style)) ? $style : 'w3-border w3-white'; $button .= '">'; if (isset($icon) && tep_not_null($icon)) { $button .= '<span class="' . $icon . '" aria-hidden="true"></span> '; } $button .= $title; if ( ($params['type'] == 'button') && isset($link) ) { $button .= '</a>'; } else { $button .= '</button>'; } $button_counter++; return $button; }
  20. For me the reason to BS the admin would be for the sake of having a matching front-end completing a professional look. But i agree with you if you are suggesting that not many people would administer from a (small) phone.
  21. I think Zahid is giving the wrong impression of how long it would take to produce a responsive (front or backend). It's at least a few days work if you know the framework and osC well.
  22. My mistake, in the other post i did not put the <p> tags: so function execute() { global $PHP_SELF, $oscTemplate; if ( (substr(basename($PHP_SELF), 0, 8) != 'checkout') && tep_not_null(MODULE_BOXES_CARD_ACCEPTANCE_LOGOS) ) { $output = '<div class="w3-card w3-margin-bottom">' . ' <header class="w3-container w3-blue"><h6>' . MODULE_BOXES_CARD_ACCEPTANCE_BOX_TITLE . '</h6></header>' . ' <div class="w3-container w3-center"><p>'; foreach ( explode(';', MODULE_BOXES_CARD_ACCEPTANCE_LOGOS) as $logo ) { $output .= tep_image(DIR_WS_IMAGES . 'card_acceptance/' . basename($logo)); } $output .= ' </p></div>' . '</div>'; $oscTemplate->addBlock($output, $this->group); } }
  23. Nice. I see you did all the boxes. <div class="w3-card w3-margin-bottom"> <header class="w3-container w3-blue"> <h6><?php echo 'Payment Methods'; ?></h6> </header> <div class="w3-container w3-center"> <p><?php echo 'We only accept payment by EFT.'; ?></p> </div> </div> 1) Notice the <p> tag. Try to keep that because it gives some padding in the box body. 2) We used w3-blue (or you used w3-light-gray). We can use instead w3-card-header then put in stylesheet.css .w3-card-header { color: #fff!important; background-color: #2196F3!important; } Now it is very easy to change the theme color.
  24. Hotclutch

    Marketplace Category/Version Cleanup

    @JcMagpie Hi Zahid includes/modules/boxes/bm_card_acceptance.php replace: function execute() { global $PHP_SELF, $oscTemplate; if ( (substr(basename($PHP_SELF), 0, 8) != 'checkout') && tep_not_null(MODULE_BOXES_CARD_ACCEPTANCE_LOGOS) ) { $output = '<div class="ui-widget infoBoxContainer">' . ' <div class="ui-widget-header infoBoxHeading">' . MODULE_BOXES_CARD_ACCEPTANCE_BOX_TITLE . '</div>' . ' <div class="ui-widget-content infoBoxContents" style="text-align: center;">'; foreach ( explode(';', MODULE_BOXES_CARD_ACCEPTANCE_LOGOS) as $logo ) { $output .= tep_image(DIR_WS_IMAGES . 'card_acceptance/' . basename($logo)); } $output .= ' </div>' . '</div>'; $oscTemplate->addBlock($output, $this->group); } } with: function execute() { global $PHP_SELF, $oscTemplate; if ( (substr(basename($PHP_SELF), 0, 8) != 'checkout') && tep_not_null(MODULE_BOXES_CARD_ACCEPTANCE_LOGOS) ) { $output = '<div class="w3-card w3-margin-bottom">' . ' <header class="w3-container w3-blue"><h6>' . MODULE_BOXES_CARD_ACCEPTANCE_BOX_TITLE . '</h6></header>' . ' <div class="w3-container w3-center">'; foreach ( explode(';', MODULE_BOXES_CARD_ACCEPTANCE_LOGOS) as $logo ) { $output .= tep_image(DIR_WS_IMAGES . 'card_acceptance/' . basename($logo)); } $output .= ' </div>' . '</div>'; $oscTemplate->addBlock($output, $this->group); } } maybe you can start a new thread to take this further, i will give you some tips if you want to produce something for the community.
×