Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2009
    Posts
    13
    Plugin Contributions
    0

    red flag Change tpl_main_page.php

    Can you help me wiht changing tpl main page.php file depending on choosen language?
    Thanks a lot
    Mike

  2. #2
    Join Date
    Apr 2008
    Location
    UK
    Posts
    326
    Plugin Contributions
    1

    Default Re: Change tpl_main_page.php

    Hi

    What would you like to change in this file? Can we have link to your site.

    Thanks

    Phil

  3. #3
    Join Date
    Aug 2009
    Posts
    13
    Plugin Contributions
    0

    Idea or Suggestion change tpl_main_page.php

    Can anybody to advice me how to change tpl_main_page.php depending on choosen language? I have 3 languages.
    Thank you I will appresciate it well.

  4. #4
    Join Date
    Aug 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: Change tpl_main_page.php

    I need to change some texts and footer. But these are only in this file.

  5. #5
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: change tpl_main_page.php

    Quote Originally Posted by mikehr View Post
    Can anybody to advice me how to change tpl_main_page.php depending on choosen language? I have 3 languages.
    Thank you I will appresciate it well.
    You shouldn't need to change this file at all.

    All you'd need to do is to upload the appropriate language pack files

  6. #6
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Change tpl_main_page.php

    Quote Originally Posted by mikehr View Post
    I need to change some texts and footer. But these are only in this file.
    Changing text and the footer should be done through the appropriate language file(s)

    Footer information text can be changed in for example

    includes/languages/english.php
    includes/languages/spanish.php
    includes/languages/french.php

    Other text information can be changed in

    includes/languages/english/*.php
    includes/languages/spanish/*.php
    includes/languages/french/*.php

    Also there is no need to make multiple postings on the same subject

  7. #7
    Join Date
    Aug 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: Change tpl_main_page.php

    Thanks Clyde,
    I have template XY.. text defined in tpl_main_page as table in body and it is always the same there, it is one row of 5 text buttons-hyperlinks. I need to change these words depending on language and keeping links working. I do not know how to solve it.. starting with zencart. Thank you very much

  8. #8
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Change tpl_main_page.php

    Quote Originally Posted by mikehr View Post
    Thanks Clyde,
    I have template XY.. text defined in tpl_main_page as table in body and it is always the same there, it is one row of 5 text buttons-hyperlinks. I need to change these words depending on language and keeping links working. I do not know how to solve it.. starting with zencart. Thank you very much
    A URL for your site would be suseful

 

 

Similar Threads

  1. need html_header.php & tpl_main_page.php files
    By marvin in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Nov 2011, 06:32 PM
  2. change tpl_main_page.php
    By mikehr in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Sep 2009, 09:31 PM
  3. PHP help with broken tpl_main_page.php
    By HeresySnowboarding in forum General Questions
    Replies: 4
    Last Post: 18 Sep 2008, 07:48 PM
  4. tpl_main_page.php where is it?
    By misty16 in forum General Questions
    Replies: 3
    Last Post: 15 Oct 2006, 04:53 AM

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