Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Finding A Specific Template Rate Topic   - - - - -

 
  • Mr.Croquet
  • Advanced Member
  • Trial users
  • Join Date: 22-Nov 13
  • 67 posts

Posted 21 November 2017 - 01:27 PM #1

I spend a lot of time looking for specific templates to edit them. I've read through the User Guide and Designer Guide on templates and tried searching the forum for anything relevant.

 

The list (tree) of templates is broken down into a tree with folders and files. Is there some way of expanding this tree or searching for a template name (eg: "Copyright information") to find it easily?



 
  • galtinbaeva
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 3387 posts

Posted 21 November 2017 - 01:41 PM #2

I spend a lot of time looking for specific templates to edit them. I've read through the User Guide and Designer Guide on templates and tried searching the forum for anything relevant.

 

The list (tree) of templates is broken down into a tree with folders and files. Is there some way of expanding this tree or searching for a template name (eg: "Copyright information") to find it easily?

 

Hello!

 

You can find some class or id in the page source and search for it in design folder.


Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Google Analytics Enhanced Ecommerce - get advanced ecommerce analytics


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20055 posts

Posted 22 November 2017 - 07:42 AM #3

All templates of static blocks are located here

 

design/themes/THEME/templates/blocks/static_templates


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • Mr.Croquet
  • Advanced Member
  • Trial users
  • Join Date: 22-Nov 13
  • 67 posts

Posted 24 November 2017 - 12:09 PM #4

Thank you both for your replies. Unfortunately, it doesn't answer my question. When I am looking for a specifi .tpl file on the templates.manage page, it presents the theme and several layers of folders (eg: css, layouts, mail, media, styles, templates and several sub-folders and sub-sub folders). I have to dig through all those folders through each layer until the .tpl file is found.

 

Is it possible to see a map of those folders and .tpl files? Or expand ALL folders to show the .tpl files Or do a search for a specific .tpl file name?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20055 posts

Posted 24 November 2017 - 01:16 PM #5

I am afraid, there is no such ability


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • galtinbaeva
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 3387 posts

Posted 24 November 2017 - 01:28 PM #6

Thank you both for your replies. Unfortunately, it doesn't answer my question. When I am looking for a specifi .tpl file on the templates.manage page, it presents the theme and several layers of folders (eg: css, layouts, mail, media, styles, templates and several sub-folders and sub-sub folders). I have to dig through all those folders through each layer until the .tpl file is found.

 

Is it possible to see a map of those folders and .tpl files? Or expand ALL folders to show the .tpl files Or do a search for a specific .tpl file name?

 

You wrote that you read the designer guide, and there is the templates documentation there with the explanation of templates structure. So all templates are located in the templates folder except mail templates (mail folder). If you know the template name, this is not a problem to find it in your file manager.


Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Google Analytics Enhanced Ecommerce - get advanced ecommerce analytics


 
  • cohen111
  • Junior Member
  • Members
  • Join Date: 14-Sep 09
  • 17 posts

Posted 18 December 2019 - 03:42 PM #7

If you use the on-site editing described at the end of this comment, it will reveal the template being used and you can click on it to open it.

 

If you know which template you are looking for by name, another way I sometimes use is expanding the cs-cart installation zip file on my computer and then searching the folder on my local computer first. Then use that as a clew to look for it on the server. Or sometimes I use the file manager or ftp client to search the server.

 

If you are looking to see which template is used on an area of the site, you can go to Design : Templates on the admin panel and click the gear icon on the upper right and choose on site editing. Then when you hover over the edit icons which appear over each area, it will show the template being used.