Zen Cart Logo
Forums / Customization from the Admin / Language defines in admin

Language defines in admin

Locked

Views: 1,709

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
26 Apr 2007, 4:38 PM
#1
sparrish avatar

sparrish

New Zenner

Join Date:
Sep 2005
Posts:
67
Plugin Contributions:
0

Language defines in admin

Hi everybody, I have a client that would like to make changes to a few language file defines on a regular basis, but isn't comfortable with a text editor/ftp and working directly in the files. Is there an easy way to add an ability to edit any of that from the admin, or will I need to add those defines to the db and add some config options for them? Thanks in advance for any help. Adding them to the db isn't a problem for me, but I don't want to reinvent the wheel if someone has an easier way.

26 Apr 2007, 4:41 PM
#2
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Language defines in admin

Sure. Admin/Define Pages Editor. There your customer can change all the text he/she wants on any page without messing anything up.

26 Apr 2007, 4:42 PM
#3
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Language defines in admin

Oops. Sorry. That's Admin/tools/Define Pages Editor

26 Apr 2007, 4:47 PM
#4
sparrish avatar

sparrish

New Zenner

Join Date:
Sep 2005
Posts:
67
Plugin Contributions:
0

Re: Language defines in admin

Thanks for your reply. I probably should have been more specific, though. What they want to edit is the title and page header for the featured products page.

Line #22 : define('NAVBAR_TITLE', 'Featured Products');
Line #23 : define('HEADING_TITLE', 'Featured Products');

...in /includes/languages/english/featured_products.php

They want to change them out seasonally (Christmas, Mother's Day, etc.).