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

new module needs to do the same as the overwriting templates in ../skins/theme_tweake

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 01-19-2017, 03:29 AM
  Dmitry's Avatar 
Dmitry Dmitry is offline
 

Member
  
Join Date: Jun 2010
Posts: 18
 

Default new module needs to do the same as the overwriting templates in ../skins/theme_tweake

Hi there

has anyone got an idea how to let a module modify the existing twig templates in the same was as the theme_tweaker does via
Code:
../skins/theme_tweaker/customer/ *
?

For example, xcart has fly-out-menu on sidebar and if I want to modify each item to have say an attr like id="uniqueIdXYZ"

It's probably kind of unsetting the default template and replacing it by loading a custom one? Please see if you can support with an example of APIs

Thanks so much in advance
__________________
xcart power and php/html/js coder is best friend
Reply With Quote
  #2  
Old 01-25-2017, 01:57 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

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

Default Re: new module needs to do the same as the overwriting templates in ../skins/theme_tweake

Please check this forum thread:
https://forum.x-cart.com/showthread.php?p=400954#post400954
__________________
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
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



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 07:21 PM.

   

 
X-Cart forums © 2001-2020