Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Sidebar

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 02-23-2018, 08:52 AM
 
mcupka mcupka is offline
 

eXpert
  
Join Date: Jan 2013
Posts: 204
 

Default Sidebar

Hello,

Can someone please help me figure out why this isn't working?

https://devs.x-cart.com/design_changes/creating_sidebar_menu_in_customer_area.html

Although I'm running 5.3.2.13 (this was written for 5.2.x), I managed to be able to create a module. I see it in the list of modules, although every time I try to activate it, re-deploy store again and is still disabled.

Just trying to figure out how to add a sidebar to my site lol... I'm using the Standard theme and did create a body.tpl file as that documentation suggests.

Any help would be appreciated, thanks.
Reply With Quote
  #2  
Old 02-26-2018, 12:51 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Sidebar

5.3 uses Twig as the template engine, so older templates (.tpl files) have to be converted to Twig (.twig files).
Please check this article on converting 5.2 module to 5.3:
https://devs.x-cart.com/migration_guides/updating_modules_from_5.2_to_5.3_branch.html
__________________
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
Reply With Quote
  #3  
Old 02-26-2018, 06:11 AM
 
mcupka mcupka is offline
 

eXpert
  
Join Date: Jan 2013
Posts: 204
 

Default Re: Sidebar

Thanks, this is still a bit confusing. Can you guys update the developer docs to support 5.3? Trying to learn this but very new to Twig and this template engine.
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:30 PM.

   

 
X-Cart forums © 2001-2020