Search the Community
Showing results for tags 'content'.
-
Manufacturer's Name With URL Link - Content Module - For Product Info Page 2.3.4.1 CE Add-On Bootstrap Community Edition This is a support forum for problems and questions related to this content module add-on for 2.3.4.1 CE Add-On Bootstrap Community Edition This add-on can be downloaded here: https://apps.oscommerce.com/LMcWt&manufacturer-s-name-with-url-link-bs
- 4 replies
-
- manufacturer
- name
-
(and 8 more)
Tagged with:
-
If we want to have content easy to modify on pages or page with option to turning off, we can use Content Module system for it and call only One of the box which we want and print it in our Template where we want. We can do through this steps: Create new directory: includes/modules/content/everywhere/ In template_top.php Before or just after: Add: if ($oscTemplate->hasContent('everywhere')) { $oscTemplate->getContent('everywhere'); } In osc_template.php Add (before getContent method) function getOneContent($title){ return $this->_content['everywhere'][$title]; } Modify: function addContent($content, $group, $contentname = false) { if($contentname){ $this->_content[$group][$contentname] = $content; }else{ $this->_content[$group][] = $content; } } And when you creating new module content in execute funtion do it like that: $oscTemplate->addContent($template, $this->group, $this->title); After all of this it's possible to print content where we want like that: echo $oscTemplate->getOneContent('Custom info');
-
Hi all, I got a problem with product shown on the top left corner of the site. There is three products on my site and that content box show all three products. Since I added fourth product, newly listed product it is on position 3 and product that was been on that position now missing. How can I show more than three products in that area