Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    May 2009
    Posts
    43
    Plugin Contributions
    0

    Default language file for manufactures dropdown?

    Hi there,

    I've asked this a few times now but got no reply, what is the name of the language file for the manufactures dropdown box and where is it located?

    Thanks for you time,
    Wilbo

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: language file for manufactures dropdown?

    There isn't one... the manufacturers' data is stored in the database.
    20 years a Zencart User

  3. #3
    Join Date
    May 2009
    Posts
    43
    Plugin Contributions
    0

    Default Re: language file for manufactures dropdown?

    Ah, the problem I have it that my site sells art so I need to change the bit that says "All Maufacturers" to "All Artists".

    Will I have to go into the database to change this?

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: language file for manufactures dropdown?

    Okay I see what you want...

    These CONSTANTS are called language defines.

    When I used ADMIN>>>TOOLS>>>DEVELOPERS TOOLKIT to do a search for this CONSTANT, I find that it occurs as follows:

    /includes/languages/english/advanced_search.php

    Line #31 : define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');



    /includes/languages/english/advanced_search_result.php

    Line #42 : define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');



    /includes/languages/english/index.php

    Line #47 : define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

    ... So you'll need to edit the defines in the three files shown above.

    HOWEVER... you need to FTP these files to your local machine, edit them on your local machine, then FTP the edited version s to the OVER-RIDE folders of your template.

    EG:

    For: /includes/languages/english/index.php

    Edited file goes to: /includes/languages/english/YOUR_TEMPLATE/index.php
    20 years a Zencart User

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: language file for manufactures dropdown?

    PS: ...

    This is what you will need to edit on each define statement:-

    define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

    Becomes:-

    define('TEXT_ALL_MANUFACTURERS', 'All Artists');

    You DO NOT change the UPPER_CASE_CONSTANT
    20 years a Zencart User

  6. #6
    Join Date
    May 2009
    Posts
    43
    Plugin Contributions
    0

    Default Re: language file for manufactures dropdown?

    Thanks Schoolboy,

    I didn't realise that the same thing could be in more that one language file.

    Thanks again

 

 

Similar Threads

  1. Replies: 2
    Last Post: 11 Feb 2013, 09:02 PM
  2. DropDown Box: Manufactures
    By vr4indian in forum Basic Configuration
    Replies: 2
    Last Post: 25 Oct 2009, 05:52 PM
  3. Help needed to merge a file for attributes/dynamic dropdown
    By schwimwastaken in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 9 Sep 2009, 03:12 PM
  4. Dropdown Menu for Language Selection
    By MerchantPathway in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 11 Jan 2009, 03:06 AM
  5. manufactures as a dropdown
    By miweb in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Feb 2008, 11:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg