网络营销电子商务研究中心  
How to buy the best prescription safety glasses in Canada? Let's study!
Go Back   网络营销电子商务研究中心 > 网站建设 > ZenCart
User Name
Password
 
FAQ Members List Calendar Cheap Glasses

Reply
 
Thread Tools Display Modes
  #1   IP: 49.87.51.31
Old 2016-04-03, 03:58 PM
Questa Questa is offline
初级会员
 
Join Date: 2011-10-24
Posts: 2
Questa 现在声名狼藉
Default zen-cart v1.5.5 How do I change the "Congratulations! you have successfully installed

How do I change the "Congratulations! you have successfully installed..." Message?

CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should be changed to the name of the template/language you are using.


If you want to change "Congratulations! You have successfully installed your Zen Cart®; E-Commerce Solution" with your own text open the includes/languages/ENGLISH/index.php file and find the following code:

// This section deals with the "home" page at the top level with no options/products selected
/*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart® E-Commerce Solution.');
} elseif ($category_depth == 'nested') {
// This section deals with displaying a subcategory
/*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart® E-Commerce Solution.');
}

Replace the text starting “Congratulations” with your own text. Make sure that the single quote marks are not left out.

Save the edited file to includes/languages/ENGLISH/CUSTOM/index.php and upload it to your server.
Reply With Quote
  #2   IP: 49.87.51.31
Old 2016-04-03, 04:06 PM
Radford Radford is offline
初级会员
 
Join Date: 2007-02-03
Posts: 1
Radford 现在声名狼藉
Default

直接修改/includes/languages/english/responsive_classic/index.php,这里假设你的模板名是responsive_classic.

Code:
elseif ($category_depth == 'top') {
  // This section deals with the "home" page at the top level with no options/products selected
  /*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
  define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart® E-Commerce Solution.');
} elseif ($category_depth == 'nested') {
  // This section deals with displaying a subcategory
  /*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
  define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart® E-Commerce Solution.'); 
}
替换相应的文字或代码就行了。
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Steps to Change Your Table Prefix in WordPress Abby WordPress 0 2014-04-14 03:40 PM
有关Zen Cart的一些常用操作 yahoo ZenCart 0 2009-12-01 09:36 PM
How to Install an Zen Cart Template topvip ZenCart 0 2009-08-23 05:35 PM
x-cart Template Editing Guide for 4.1.x topvip X-Cart 0 2009-04-15 11:42 PM

Prescription-glasses.com offers prescription glasses online at discount prices.
All times are GMT +8. The time now is 10:43 AM.


Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.