Hello friends, I own two different opencart stores located in two different servers and domains. I'm trying to add an image to the header of a category as shown here:
I know the image is loaded from here
But trying to do the same in my other site shows no results at all
DISREGARDING THE CUSTOM THEME, what file is normally responsible for handling this change in vanilla opencart?. I have basic knowledge of HTML, and I've already made custom changes to Opencart editing files directly, so I might be able to reverse the changes done replacing or rewriting the file. I just need to know which one it is.
I'm using Opencart 2.0.3.1 with the custom theme Blackdiamond.
Well, it's probably not a BlackDiamond Theme related problem, as it looks,
exept, if you use additional Extensions, possibly doing some harm...
Ernie
---
exept, if you use additional Extensions, possibly doing some harm...
Ernie
---
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
I suspect it is not a problem with BlackDiamond Theme since both sites have it installed and one is working and the other isn't.
I believe the problem is related to a modified custom file. I've already pored through the "category.tpl" files trying to find a line related to the description field, but no luck so far, I'm not sure if there are other files I should be poking. I understand the basics of how an Opencart site is built and where things are in general, but my area of expertise is more related to design so I'm struggling with this.
Thank you for your response, really appreciate it.
Last edited by Mikah on Wed Mar 21, 2018 5:12 am, edited 1 time in total.
It's this section in the file, release-dated 9.10.2015, containing
the Cat Image and the Decription:
category.tpl content:
the Cat Image and the Decription:
category.tpl content:
Code: Select all
<h2><?php echo $heading_title; ?></h2>
<?php if ($thumb || $description) { ?>
<div class="row">
<?php if ($thumb) { ?>
<div class="col-sm-2"><img src="<?php echo $thumb; ?>" alt="<?php echo $heading_title; ?>" title="<?php echo $heading_title; ?>" class="img-thumbnail" /></div>
<?php } ?>
<?php if ($description) { ?>
<div class="col-sm-10"><?php echo $description; ?></div>
<?php } ?>
</div>
<hr>
<?php } ?>
<?php if ($categories) { ?>
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: No registered users and 275 guests