I'm verry new to OpenCart and I'm trying to make a module for it.
I want a link in the admin menu to the module I am creating thus I've edited this file:
/admin/view/template/common/header.tpl
The code I have added:
<li><a class="top">Import / Export</a>
<ul>
<li><a href="" target="_blank">Link 1</a></li>
<li><a href="" target="_blank">Link 2</a></li>
<li><a href="" target="_blank">Link 3</a></li>
</ul>
</li>
My question is propably verry simple:
In the normal links the url for the <a href="">
is set like this:
<a href="<?php echo $report_customer_online; ?>">
How can i make an url to the right module with the token of OpenCart?
The module path is module/order_export
.
If you need more info, feel free to ask...