TOPIC: Add Link to Category Pictures

Add Link to Category Pictures 6 years 10 months ago #8670

  • noorgatb
  • noorgatb's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 30
  • Karma: 0
Hi

stitchkraft.co.za/online-store

How do I add links to the category pictures so that it takes me to the category products,
At the moment, if your click the category picture nothing happens. (The link works only for the title text)

Thank you.

Basheer
The administrator has disabled public write access.

Add Link to Category Pictures 6 years 10 months ago #8673

  • caselock
  • caselock's Avatar
  • OFFLINE
  • Administrator
  • Posts: 330
  • Thank you received: 32
  • Karma: 2
Hi

Please replace code on path: root / templates/ot_keila/html/com_virtuemart/sublayouts/categories.php line from 79 to 83

replace
	    <div class="ot-cat-image">
			<?php // if ($category->ids) {
			  echo $category->images[0]->displayMediaThumb("",false);
			//} ?>
		</div>
width
	    <div class="ot-cat-image">
	                <a href="<?php echo $caturl ?>" title="<?php echo $category->category_name ?>">
			<?php // if ($category->ids) {
			  echo $category->images[0]->displayMediaThumb("",false);
			//} ?>
                        </a>
		</div>

there is a small note, Keila template is free, but when you use should be removed "Designed by OmegaTheme" footer.
We probably will not support you if do not have it on the site, because we have a policy for removing this, please refer to "Remove copyright or brand information" www.omegatheme.com/member/signup/additional

Regards,
Kien
The administrator has disabled public write access.
The following user(s) said Thank You: noorgatb

Add Link to Category Pictures 6 years 10 months ago #8675

  • noorgatb
  • noorgatb's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 30
  • Karma: 0
Dear Sir,

Thank you.
It is now working.

I have added Omegatheme Copyright notice to the site.

Regards
Basheer
The administrator has disabled public write access.
Time to create page: 0.082 seconds