Welcome, Guest
Username: Password: Remember me

TOPIC: Add Link to Category Pictures

Add Link to Category Pictures 6 months 3 weeks ago #8670

  • noorgatb
  • noorgatb's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 29
  • 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 months 3 weeks ago #8673

  • caselock
  • caselock's Avatar
  • OFFLINE
  • Administrator
  • Posts: 228
  • Thank you received: 25
  • Karma: 1
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 months 3 weeks ago #8675

  • noorgatb
  • noorgatb's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 29
  • 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.157 seconds