Post by piyushbhatia89 » Sat Aug 15, 2015 11:35 pm

I tried to add one field in menu.tpl file but i m nt able to see that in admin front end.I added the fields in language and controller file as well under common/menu.php files.following is the changed menu.tpl file.

<ul id="menu">
<li id="dashboard"><a href="<?php echo $home; ?>"><i class="fa fa-dashboard fa-fw"></i> <span><?php echo $text_dashboard ?></span></a></li>
<li id="newfield"><a class="parent"><i class="fa fa-tags fa-fw"></i> <span><?php echo $new1; ?></span></a>
<ul>
<li><a href="<?php echo $newfield; ?>">hi</a></li>
</ul>
</li>
<li id="catalog"><a class="parent"><i class="fa fa-tags fa-fw"></i> <span><?php echo $text_catalog; ?></span></a>
<ul>
<li><a href="<?php echo $category; ?>"><?php echo $text_category; ?></a></li>
<li><a href="<?php echo $product; ?>"><?php echo $text_product; ?></a></li>
<li><a href="<?php echo $recurring; ?>"><?php echo $text_recurring; ?></a></li>
<li><a href="<?php echo $filter; ?>"><?php echo $text_filter; ?></a></li>
<li><a class="parent"><?php echo $text_attribute; ?></a>
<ul>
<li><a href="<?php echo $attribute; ?>"><?php echo $text_attribute; ?></a></li>
<li><a href="<?php echo $attribute_group; ?>"><?php echo $text_attribute_group; ?></a></li>
</ul>
</li>
<li><a href="<?php echo $option; ?>"><?php echo $text_option; ?></a></li>
<li><a href="<?php echo $manufacturer; ?>"><?php echo $text_manufacturer; ?></a></li>
<li><a href="<?php echo $download; ?>"><?php echo $text_download; ?></a></li>
<li><a href="<?php echo $review; ?>"><?php echo $text_review; ?></a></li>
<li><a href="<?php echo $information; ?>"><?php echo $text_information; ?></a></li>
</ul>
</li>
</ul>


Posts

Joined
Sat Aug 15, 2015 11:18 pm

Post by RuslanBrest » Wed Oct 14, 2015 12:40 pm

Go to Modifications and press refresh button.

OCJ: OpencartJazz.com
http://rb.labtodo.com/category/opencart (lang: ru)


New member

Posts

Joined
Sat Nov 12, 2011 3:19 pm

Who is online

Users browsing this forum: No registered users and 4 guests