Jump to content
PupStar

Select pages to display Responsive Breadcrumb

Recommended Posts

excuse me if this has been brought up before but how do you hide say the breadcrumb, search field or even the logo only on the index page now that they are modular?

 

Thanks

 

Mark


Bootstrap 3 ROCKS!

(or it will if I ever get my head around it lol)

(and I think I have now (w00t) )

Share this post


Link to post
Share on other sites

excuse me if this has been brought up before but how do you hide say the breadcrumb, search field or even the logo only on the index page now that they are modular?

 

Thanks

 

Mark

 

Mark, I'm still getting familiar with the bootstrap version, but I'd say just disable and/or uninstall those particular modules.


I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Share this post


Link to post
Share on other sites

excuse me if this has been brought up before but how do you hide say the breadcrumb, search field or even the logo only on the index page now that they are modular?

I dont understand the question...can you elaborate ?


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

I dont understand the question...can you elaborate ?

@@burt

 

sorry, reading back it was a bit vague :wacko:

 

Basically I want to exclude the breadcrumb trail from the index page but show it on all other pages.

 

Saying that, it would be nice to have the option to pick and choose which page I show it on.

 

Does that make it any easier?

 

Thanks

 

Mark


Bootstrap 3 ROCKS!

(or it will if I ever get my head around it lol)

(and I think I have now (w00t) )

Share this post


Link to post
Share on other sites

Saying that, it would be nice to have the option to pick and choose which page I show it on.

 

Does that make it any easier?

 

You could make new modules that have a page choosing mechanism

or

You could amend the existing modules code to add a page choosing mechanism

or

You could amend the existing modules templates file <---winner


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

You could make new modules that have a page choosing mechanism

or

You could amend the existing modules code to add a page choosing mechanism

or

You could amend the existing modules templates file <---winner

 

@@burt

 

ok so this is what I have

<?php  if ( basename($PHP_SELF) == FILENAME_DEFAULT && $cPath==null ) {} else { ?>
<div class="col-sm-<?php echo $content_width; ?>">
 <div class="nav navbar-nav breadcrumb-margin">
   <?php echo $breadcrumb->trail(' » '); ?>
 </div>
</div>
<?php } ?>

now this works ok if added to say the includes/template_top.php but not in the template file

 

I presume the basename has something to do with it?

 

Mark

Edited by PupStar

Bootstrap 3 ROCKS!

(or it will if I ever get my head around it lol)

(and I think I have now (w00t) )

Share this post


Link to post
Share on other sites

@@PupStar

 

Mark,

You forgot to include $PHP_SELF and $cPath as global variables in:

"catalog\includes\modules\content\header\cm_header_breadcrumb.php"

    function execute() {
      global $oscTemplate, $breadcrumb, $PHP_SELF, $cPath;

Let you off this time. :)

 

cheers

 


My Add-ons
Advanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download Support
Ajax Product Listing for osC 2.3.4 (bootstrap) Download Support
Category New Products Carousel for osC 2.3.4 (bootstrap) Download Support
Category Popular Products Carousel for osC 2.3.4 (bootstrap) Download Support
Customer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download Support
Front Page New Products Carousel for osC 2.3.4 (bootstrap) Download Support

Index Nested - Product Listing for osC 2.3.4 (bootstrapDownload Support
Match Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download Support
Modular Category Page for osC 2.3.4 (bootstrap)
Download Support

NEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download Support
NEW Equal Height Module for osC 2.3.4 (bootstrapDownload Support
Products Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download Support
Twitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap)
Download Support

Upcoming Products Modules for osC 2.3.4 (bootstrap) Download Support

 
Assisted Add-ons
Scroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support
 
Bootstrap Add-ons created by other members
osCommerce Bootstrap Addons and Code

Share this post


Link to post
Share on other sites

@@PupStar

 

I forgot to mention this:

 

The page choosing mechanism that burt is referring to is what some of the header tag modules use for page selection. If you look inside those module files you'll see the code in question.

Something like that could be done for the breadcrumb so you would have the option to pick and choose which page to show it on, as you mentioned.

 

cheers


My Add-ons
Advanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download Support
Ajax Product Listing for osC 2.3.4 (bootstrap) Download Support
Category New Products Carousel for osC 2.3.4 (bootstrap) Download Support
Category Popular Products Carousel for osC 2.3.4 (bootstrap) Download Support
Customer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download Support
Front Page New Products Carousel for osC 2.3.4 (bootstrap) Download Support

Index Nested - Product Listing for osC 2.3.4 (bootstrapDownload Support
Match Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download Support
Modular Category Page for osC 2.3.4 (bootstrap)
Download Support

NEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download Support
NEW Equal Height Module for osC 2.3.4 (bootstrapDownload Support
Products Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download Support
Twitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap)
Download Support

Upcoming Products Modules for osC 2.3.4 (bootstrap) Download Support

 
Assisted Add-ons
Scroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support
 
Bootstrap Add-ons created by other members
osCommerce Bootstrap Addons and Code

Share this post


Link to post
Share on other sites

@@PupStar

Thought I'd start new topic regarding your query "option to pick and choose which page show breadcrumb", from your initial post here:

http://forums.oscommerce.com/topic/396152-bootstrap-3-in-2334-responsive-from-the-get-go/?p=1712125

 

Below is the code for "catalog\includes\modules\content\header\cm_header_breadcrumb.php" to enable selectable pages, as discussed in the link above.

(Remove the breadcrumb content module first, then re-add with the new code)

You need to select index.php if you want breadcrumbs to show when browsing categories, but you'll still need to use your code in the template if you don't want it to show on the home page.

<?php
/*
  $Id$

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2014 osCommerce

  Released under the GNU General Public License
*/

  class cm_header_breadcrumb {
    var $code;
    var $group;
    var $title;
    var $description;
    var $sort_order;
    var $enabled = false;

    function cm_header_breadcrumb() {
      $this->code = get_class($this);
      $this->group = basename(dirname(__FILE__));

      $this->title = MODULE_CONTENT_HEADER_BREADCRUMB_TITLE;
      $this->description = MODULE_CONTENT_HEADER_BREADCRUMB_DESCRIPTION;
      $this->description .= '<div class="secWarning">' . MODULE_CONTENT_BOOTSTRAP_ROW_DESCRIPTION . '</div>';

      if ( defined('MODULE_CONTENT_HEADER_BREADCRUMB_STATUS') ) {
        $this->sort_order = MODULE_CONTENT_HEADER_BREADCRUMB_SORT_ORDER;
        $this->enabled = (MODULE_CONTENT_HEADER_BREADCRUMB_STATUS == 'True');
      }
    }

    function execute() {
      global $oscTemplate, $breadcrumb, $PHP_SELF, $cPath;
      
      if (tep_not_null(MODULE_CONTENT_HEADER_BREADCRUMB_PAGES)) {
        $pages_array = array();

        foreach (explode(';', MODULE_CONTENT_HEADER_BREADCRUMB_PAGES) as $page) {
          $page = trim($page);

          if (!empty($page)) {
            $pages_array[] = $page;
          }
        }

        if (in_array(basename($PHP_SELF), $pages_array)) {
          $content_width = (int)MODULE_CONTENT_HEADER_BREADCRUMB_CONTENT_WIDTH;
      
          ob_start();
          include(DIR_WS_MODULES . 'content/' . $this->group . '/templates/breadcrumb.php');
          $template = ob_get_clean();

          $oscTemplate->addContent($template, $this->group);
        }
      }
    }

    function isEnabled() {
      return $this->enabled;
    }

    function check() {
      return defined('MODULE_CONTENT_HEADER_BREADCRUMB_STATUS');
    }

    function install() {
      tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Header Breadcrumb Module', 'MODULE_CONTENT_HEADER_BREADCRUMB_STATUS', 'True', 'Do you want to enable the Breadcrumb content module?', '6', '1', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())");
      tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Content Width', 'MODULE_CONTENT_HEADER_BREADCRUMB_CONTENT_WIDTH', '12', 'What width container should the content be shown in?', '6', '1', 'tep_cfg_select_option(array(\'12\', \'11\', \'10\', \'9\', \'8\', \'7\', \'6\', \'5\', \'4\', \'3\', \'2\', \'1\'), ', now())");
	  tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Pages', 'MODULE_CONTENT_HEADER_BREADCRUMB_PAGES', '" . implode(';', $this->get_default_pages()) . "', 'The pages to show the breadcrumb.', '6', '1', 'cm_header_breadcrumb_show_pages', 'cm_header_breadcrumb_edit_pages(', now())");
      tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort Order', 'MODULE_CONTENT_HEADER_BREADCRUMB_SORT_ORDER', '0', 'Sort order of display. Lowest is displayed first.', '6', '0', now())");
    }

    function remove() {
      tep_db_query("delete from configuration where configuration_key in ('" . implode("', '", $this->keys()) . "')");
    }

    function keys() {
      return array('MODULE_CONTENT_HEADER_BREADCRUMB_STATUS', 'MODULE_CONTENT_HEADER_BREADCRUMB_CONTENT_WIDTH', 'MODULE_CONTENT_HEADER_BREADCRUMB_PAGES', 'MODULE_CONTENT_HEADER_BREADCRUMB_SORT_ORDER');
    }

    function get_default_pages() {
      return array('index.php',
                   'product_info.php',
                   'products_new.php',
                   'specials.php');
    }
  }

  function cm_header_breadcrumb_show_pages($text) {
    return nl2br(implode("\n", explode(';', $text)));
  }

  function cm_header_breadcrumb_edit_pages($values, $key) {
    global $PHP_SELF;

    $file_extension = substr($PHP_SELF, strrpos($PHP_SELF, '.'));
    $files_array = array();
	  if ($dir = @[member='dir'](DIR_FS_CATALOG)) {
	    while ($file = $dir->read()) {
	      if (!is_dir(DIR_FS_CATALOG . $file)) {
	        if (substr($file, strrpos($file, '.')) == $file_extension) {
            $files_array[] = $file;
          }
        }
      }
      sort($files_array);
      $dir->close();
    }

    $values_array = explode(';', $values);

    $output = '';
    foreach ($files_array as $file) {
      $output .= tep_draw_checkbox_field('cm_header_breadcrumb_file[]', $file, in_array($file, $values_array)) . ' ' . tep_output_string($file) . '<br />';
    }

    if (!empty($output)) {
      $output = '<br />' . substr($output, 0, -6);
    }

    $output .= tep_draw_hidden_field('configuration[' . $key . ']', '', 'id="cmrn_files"');

    $output .= '<script>
                function cmrn_update_cfg_value() {
                  var cmrn_selected_files = \'\';

                  if ($(\'input[name="cm_header_breadcrumb_file[]"]\').length > 0) {
                    $(\'input[name="cm_header_breadcrumb_file[]"]:checked\').each(function() {
                      cmrn_selected_files += $(this).attr(\'value\') + \';\';
                    });

                    if (cmrn_selected_files.length > 0) {
                      cmrn_selected_files = cmrn_selected_files.substring(0, cmrn_selected_files.length - 1);
                    }
                  }

                  $(\'#cmrn_files\').val(cmrn_selected_files);
                }

                $(function() {
                  cmrn_update_cfg_value();

                  if ($(\'input[name="cm_header_breadcrumb_file[]"]\').length > 0) {
                    $(\'input[name="cm_header_breadcrumb_file[]"]\').change(function() {
                      cmrn_update_cfg_value();
                    });
                  }
                });
                </script>';

    return $output;
  }

FYI there is an addon "Dynamic Template System" http://addons.oscommerce.com/info/7691/v,23 that does something similar for module boxes (history contains English version).

 

cheers

Edited by auzStar

My Add-ons
Advanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download Support
Ajax Product Listing for osC 2.3.4 (bootstrap) Download Support
Category New Products Carousel for osC 2.3.4 (bootstrap) Download Support
Category Popular Products Carousel for osC 2.3.4 (bootstrap) Download Support
Customer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download Support
Front Page New Products Carousel for osC 2.3.4 (bootstrap) Download Support

Index Nested - Product Listing for osC 2.3.4 (bootstrapDownload Support
Match Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download Support
Modular Category Page for osC 2.3.4 (bootstrap)
Download Support

NEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download Support
NEW Equal Height Module for osC 2.3.4 (bootstrapDownload Support
Products Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download Support
Twitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap)
Download Support

Upcoming Products Modules for osC 2.3.4 (bootstrap) Download Support

 
Assisted Add-ons
Scroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support
 
Bootstrap Add-ons created by other members
osCommerce Bootstrap Addons and Code

Share this post


Link to post
Share on other sites

@@PupStar

 

Mark,

You forgot to include $PHP_SELF and $cPath as global variables in:

"catalog\includes\modules\content\header\cm_header_breadcrumb.php"

    function execute() {
      global $oscTemplate, $breadcrumb, $PHP_SELF, $cPath;

Let you off this time. :)

 

cheers

 

nope they were there all the time lol

 

will continue this in the other thread.

 

Thanks

 

Mark


Bootstrap 3 ROCKS!

(or it will if I ever get my head around it lol)

(and I think I have now (w00t) )

Share this post


Link to post
Share on other sites

Hi Dominic,

 

well done that man for pickig up the mantle however its throwing this error

 

 

Parse error: syntax error, unexpected '=', expecting ']' in ........\content\header\cm_header_breadcrumb.php on line 101


Bootstrap 3 ROCKS!

(or it will if I ever get my head around it lol)

(and I think I have now (w00t) )

Share this post


Link to post
Share on other sites

@@PupStar

@@auzStar

 

Very good example here, but we can do it a bit easier, IF - only if - as I am going off of the original question in the other thread - we want to only hide the breadcrumb on the homepage, but show on the rest of the index for categories and manufactures - as @@burt suggested, edit the template file:

 

open/catalog/includes/modules/content/header/templates/breadcrumb.php

replace with this:

<?php
  if ( (!strpos($_SERVER['PHP_SELF'], 'index.php')) || (strpos($_SERVER['PHP_SELF'], 'index.php') && isset($_GET['manufacturers_id']) || isset($_GET['cPath']) ) )  { ?>					
  <div class="col-sm-<?php echo $content_width; ?>">
    <?php echo $breadcrumb->trail(' » '); ?>
  </div>			
<?php
  }
?>

Basically, we check if were on index do not load, but if we are on index and a category or manufacturer is set, then do load. Any other pages that the breadcrumb should be excluded on can also be added in.

 

No edits to the core breadcrumb module, however, there is also a variable, $current_category_id, which could be used in place of $_GET['cPath'], but had we used that then it would have had to be added to the globals inside the actual cm_header_breadcrumb module.


Follow the community build:

BS3 to osCommerce Responsive from the Get Go!

Check out the new construction:

Admin Gone to Total BS!

Share this post


Link to post
Share on other sites

That is exactly what I was trying to achieve in the first place :thumbsup:


Bootstrap 3 ROCKS!

(or it will if I ever get my head around it lol)

(and I think I have now (w00t) )

Share this post


Link to post
Share on other sites

@@PupStar

well done that man for pickig up the mantle however its throwing this error

 

Parse error: syntax error, unexpected '=', expecting ']' in ........\content\header\cm_header_breadcrumb.php on line 101

 

Wow! How did that line of code got in their. It was just a straight copy and paste from my working code into my post. It's added a member called "dir". Does such a member exists? :lol:

	  if ($dir = @[member='dir'](DIR_FS_CATALOG)) {

Below is what line 101 is supposed to be (I did a file compare with code above, this is the only difference):

See if it happens again. It's obviously the "@" causing the change.

	  if ($dir = @[member=dir](DIR_FS_CATALOG)) {

I stayed right when I posted, but changed when I edited the post (to write this). Which is what must have happened above. 

Changed back to correct code.

 

Sorry about that. :D

 

cheers

Edited by auzStar

My Add-ons
Advanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download Support
Ajax Product Listing for osC 2.3.4 (bootstrap) Download Support
Category New Products Carousel for osC 2.3.4 (bootstrap) Download Support
Category Popular Products Carousel for osC 2.3.4 (bootstrap) Download Support
Customer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download Support
Front Page New Products Carousel for osC 2.3.4 (bootstrap) Download Support

Index Nested - Product Listing for osC 2.3.4 (bootstrapDownload Support
Match Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download Support
Modular Category Page for osC 2.3.4 (bootstrap)
Download Support

NEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download Support
NEW Equal Height Module for osC 2.3.4 (bootstrapDownload Support
Products Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download Support
Twitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap)
Download Support

Upcoming Products Modules for osC 2.3.4 (bootstrap) Download Support

 
Assisted Add-ons
Scroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support
 
Bootstrap Add-ons created by other members
osCommerce Bootstrap Addons and Code

Share this post


Link to post
Share on other sites

@@wHiTeHaT

@@auzStar

 

http://forums.oscommerce.com/topic/398469-what-did-you-do-today/#entry1708509  ;)

 

This is a proposal to do this for all installable output boxes,modules etc.

 

Thanks Henry,

I thought it would make more sense to have common functions inside general.php.

Hard to keep track of so many proposals. So many threads. :thumbsup:

 

cheers


My Add-ons
Advanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download Support
Ajax Product Listing for osC 2.3.4 (bootstrap) Download Support
Category New Products Carousel for osC 2.3.4 (bootstrap) Download Support
Category Popular Products Carousel for osC 2.3.4 (bootstrap) Download Support
Customer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download Support
Front Page New Products Carousel for osC 2.3.4 (bootstrap) Download Support

Index Nested - Product Listing for osC 2.3.4 (bootstrapDownload Support
Match Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download Support
Modular Category Page for osC 2.3.4 (bootstrap)
Download Support

NEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download Support
NEW Equal Height Module for osC 2.3.4 (bootstrapDownload Support
Products Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download Support
Twitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap)
Download Support

Upcoming Products Modules for osC 2.3.4 (bootstrap) Download Support

 
Assisted Add-ons
Scroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support
 
Bootstrap Add-ons created by other members
osCommerce Bootstrap Addons and Code

Share this post


Link to post
Share on other sites

@@GLWalker

@@PupStar

@@auzStar

 

Very good example here, but we can do it a bit easier, IF - only if - as I am going off of the original question in the other thread - we want to only hide the breadcrumb on the homepage, but show on the rest of the index for categories and manufactures - as @@burt suggested, edit the template file:

 

open/catalog/includes/modules/content/header/templates/breadcrumb.php

replace with this:

<?php
  if ( (!strpos($_SERVER['PHP_SELF'], 'index.php')) || (strpos($_SERVER['PHP_SELF'], 'index.php') && isset($_GET['manufacturers_id']) || isset($_GET['cPath']) ) )  { ?>					
  <div class="col-sm-<?php echo $content_width; ?>">
    <?php echo $breadcrumb->trail(' » '); ?>
  </div>			
<?php
  }
?>

Basically, we check if were on index do not load, but if we are on index and a category or manufacturer is set, then do load. Any other pages that the breadcrumb should be excluded on can also be added in.

 

No edits to the core breadcrumb module, however, there is also a variable, $current_category_id, which could be used in place of $_GET['cPath'], but had we used that then it would have had to be added to the globals inside the actual cm_header_breadcrumb module.

 

Yes you're right, probably a bit of overkill for the selectable pages but it was just another option since @@PupStar mentioned he would like such a thing, to quote "Saying that, it would be nice to have the option to pick and choose which page I show it on" in this post http://forums.oscommerce.com/topic/396152-bootstrap-3-in-2334-responsive-from-the-get-go/?p=1712125

 

No problem.

 

cheers :)


My Add-ons
Advanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download Support
Ajax Product Listing for osC 2.3.4 (bootstrap) Download Support
Category New Products Carousel for osC 2.3.4 (bootstrap) Download Support
Category Popular Products Carousel for osC 2.3.4 (bootstrap) Download Support
Customer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download Support
Front Page New Products Carousel for osC 2.3.4 (bootstrap) Download Support

Index Nested - Product Listing for osC 2.3.4 (bootstrapDownload Support
Match Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download Support
Modular Category Page for osC 2.3.4 (bootstrap)
Download Support

NEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download Support
NEW Equal Height Module for osC 2.3.4 (bootstrapDownload Support
Products Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download Support
Twitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap)
Download Support

Upcoming Products Modules for osC 2.3.4 (bootstrap) Download Support

 
Assisted Add-ons
Scroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support
 
Bootstrap Add-ons created by other members
osCommerce Bootstrap Addons and Code

Share this post


Link to post
Share on other sites

We -really- do not want anyone to hack at core code in this manner, it's what we are trying so hard to get away from...

 

1.  change the "template" file (would never be affected by future core code changes)

or

2.  create an entirely new breadcrumb module (would never be affected by core code changes)

 

My other post 1,2,3 options was to show what could be changes, not what should be changed.

 

But good on you for coming up with the code :thumbsup:

Edited by burt

This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

Merged the other bunch of related posts.


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

@@burt

We -really- do not want anyone to hack at core code in this manner, it's what we are trying so hard to get away from...

 

1.  change the "template" file (would never be affected by future core code changes)

or

2.  create an entirely new breadcrumb module (would never be affected by core code changes)

 

My other post 1,2,3 options was to show what could be changes, not what should be changed.

 

But good on you for coming up with the code :thumbsup:

 

Yes, I understand what you're saying. I was merely trying to assist someone who would have liked the option.

Credit for the code goes to the original creator.

 

No worries. :)

 

cheers


My Add-ons
Advanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download Support
Ajax Product Listing for osC 2.3.4 (bootstrap) Download Support
Category New Products Carousel for osC 2.3.4 (bootstrap) Download Support
Category Popular Products Carousel for osC 2.3.4 (bootstrap) Download Support
Customer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download Support
Front Page New Products Carousel for osC 2.3.4 (bootstrap) Download Support

Index Nested - Product Listing for osC 2.3.4 (bootstrapDownload Support
Match Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download Support
Modular Category Page for osC 2.3.4 (bootstrap)
Download Support

NEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download Support
NEW Equal Height Module for osC 2.3.4 (bootstrapDownload Support
Products Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download Support
Twitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap)
Download Support

Upcoming Products Modules for osC 2.3.4 (bootstrap) Download Support

 
Assisted Add-ons
Scroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support
 
Bootstrap Add-ons created by other members
osCommerce Bootstrap Addons and Code

Share this post


Link to post
Share on other sites

@@auzStar

@@burt

 

thanks for all the ideas and help :thumbsup:

 

In the end I went with just changing the template file.

 

Mark


Bootstrap 3 ROCKS!

(or it will if I ever get my head around it lol)

(and I think I have now (w00t) )

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×