Hi Everyone!
I'd like to add an external link to the navigation bar.
I tried to edit header.tpl and i add this code but it doesn't work :
<a href="<?php echo $category['href']; ?>" class="see-all"><?php echo $text_all; ?> <?php echo $category['name']; ?></a> </div>
</li>
<?php } else { ?>
<li><a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a></li>
<?php } ?>
<?php } ?>
<ul class="menu">
<li>
<a href="https://MY SITE "> HOUSEWARES AND MORE</a>
</li>
</ul>
</ul>
</div>
Any suggestions?
Thanks a lot for the answer!
Lù
You have refreshed ocmod?
One on left, one on right. You choose.
You can write code like this:
or
One on left, one on right. You choose.
You can write code like this:
Code: Select all
<li><a href="https://you_site" target="_blank">HOUSEWARES AND MORE</a></li>
Code: Select all
<li><a href="https://you_site" target="_blank" title="Best housewares from world... ">HOUSEWARES AND MORE</a></li>
My converted modules | Buy me a beer | Opencart upgrade service
Or like this:
Code: Select all
<li><a href="https://you_site" target="_blank" alt="Best housewares from world …" title="Best housewares from world...">HOUSEWARES AND MORE</a></li>
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 32 guests