| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
relocate menu | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
relocate menu
how can i relocate the top_menu.tpl content?or make another module with same content?
__________________
xcart 5 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: relocate menu
What portion of top_menu.tpl do you want to move and where do you want it be displayed instead?
As for documentation for developing modules for X-Cart 5 - you can find it there: http://kb.x-cart.com/display/XDD/Developer+docs
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#3
|
|||||||
|
|||||||
Re: relocate menu
i've create Top.php in xlite/module/xc/customskin/view/menu/customer and i've change getDefaultTemplate() value with my location/file.tpl .thanks.
__________________
xcart 5 |
|||||||
|
#4
|
|||||||||
|
|||||||||
Re: relocate menu
So, yes, if you want to replace the top_menu.tpl template completely, you can do it by extending the \XLite\View\Menu\Customer\Top::getDefaultTemplate( ) method in your module and pointing it to your template file under the skins/default/en/module/[YOUR-DEV-ID]/[YOUR-MODULE-ID]/ directory.
Or you can do it by registering a new skin (http://kb.x-cart.com/display/XDD/Substitutional+skins) and placing your top_menu.tpl under the skins/[YOUR-SKIN/en/ directory (no need to decorate the Top.php widget). However, since top_menu.tpl is a somewhat generic file it will be better to keep the template file unmodified, and stick to decorating the Top.php widget in your module.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#5
|
|||||||
|
|||||||
X-cart 5 at manu to other location
HI, can you please give me some information on the x-cart 5
about Menu at the menu to button page and top page. |
|||||||
#6
|
|||||||||
|
|||||||||
Re: relocate menu
Hi!
What kind of info you are looking for? We will be glad to help you, but need some more info to give relevant answer. Anyway, there was a task dedicated to work with this menu and it was covered during second webinar. You can check it out here: http://kb.x-cart.com/pages/viewpage.action?pageId=7504837#Webinar2-10Apr2014-DesignchangesinX-Cart5(Custom...thmyownme nu?
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#7
|
|||||||
|
|||||||
Main Categories
Hi!
Now I've categories on the site. I want to add this categories on the footer menu. Do you have any way to add? https://plus.google.com/u/0/112551345711256146561/posts/NnB33YsRzF3?pid=6033615156308779458&oid=1125513457 11256146561 think |
|||||||
#8
|
|||||||||
|
|||||||||
Re: relocate menu
A dedicated forum thread on the same issue:
http://forum.x-cart.com/showthread.php?t=69523
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|