Page 52 of 85 FirstFirst ... 242505152535462 ... LastLast
Results 511 to 520 of 842
  1. #511
    Join Date
    Jan 2014
    Posts
    32
    Plugin Contributions
    0

    Default Re: Sheffield Blue Template Support Thread

    No problem Anne, you help a lot.

    How could i create a new sidebox for testimonials of customers? I saw someone did one and its nice to have it. Sorry but im only 1 week into zen-cart.

    Regards,

    David

  2. #512
    Join Date
    Jan 2014
    Posts
    32
    Plugin Contributions
    0

    Default Re: Sheffield Blue Template Support Thread

    I installed an add-on for testimonials and is working now.

    I now have another problem. If you check my site again, in the main page the 3 way header for new, specials and featured. How can i translate that for spanish also, im trying in the tpl_xxxx.php but no success as you can see hehe

    Kind regards,

    David

  3. #513
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Sheffield Blue Template Support Thread

    Quote Originally Posted by mc12345678 View Post
    This is possibly an issue related to zen lightbox. Check that thread. There is an issue that appears when looking at the reviews page with that plugin installed.
    FYI..
    NOT a Zen Lightbox issue.. Zen Lightbox merely illuminates an issue with a poorly coded core Zen Cart file.. This has been reported as a Zen Cart bug and is supposed to be included as a fix in v1.5.2....
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  4. #514
    Join Date
    Aug 2006
    Posts
    134
    Plugin Contributions
    0

    Default Re: Sheffield Blue Template Support Thread

    Quote Originally Posted by picaflor-azul View Post
    I am far from perfect.

    Thanks,

    Anne
    But you're not far off it I bet??

  5. #515
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Sheffield Blue Template Support Thread

    Quote Originally Posted by speedyrider View Post
    I installed an add-on for testimonials and is working now.

    I now have another problem. If you check my site again, in the main page the 3 way header for new, specials and featured. How can i translate that for spanish also, im trying in the tpl_xxxx.php but no success as you can see hehe

    Kind regards,

    David
    Generally speaking language things are in the languages directory, not the templates directory. Suggest learning how to use the built in ZC tool of Developer's tool kit. Search for the text you want changed and find the file(s) in which it is defined. Then for the new language modify it there as well. I thought those particular things were part of the "core" language file. Have you installed a language pack yet for your desired language? If this continues to be an issue, may I suggest. Beginning a new thread related to customizing a template with a new language.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #516
    Join Date
    Jan 2014
    Posts
    32
    Plugin Contributions
    0

    Default Re: Sheffield Blue Template Support Thread

    Quote Originally Posted by mc12345678 View Post
    Generally speaking language things are in the languages directory, not the templates directory. Suggest learning how to use the built in ZC tool of Developer's tool kit. Search for the text you want changed and find the file(s) in which it is defined. Then for the new language modify it there as well. I thought those particular things were part of the "core" language file. Have you installed a language pack yet for your desired language? If this continues to be an issue, may I suggest. Beginning a new thread related to customizing a template with a new language.
    Hi, ive located the file and its on the template folder not on the languages one. I have installed a language pack.

    File is: includes/templates/sheffield_blue/templates/tpl_index_default.php

    The line is like this:

    case 'SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS':
    echo '<span class="navThree moduleSpan"><a href="javascript:void(0)" rel="specialsDefault" class="navThree moduleBox">Specials</a></span>';

    I have defined variables like this: define('HEADER_TITLE_SPECIAL1',''); in the includes/languages/spanish/extra_definitions/sheffield_blue/headermenu.php

    and plan to sub it there, any ideas? dont know how to do it

  7. #517
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Sheffield Blue Template Support Thread

    Quote Originally Posted by speedyrider View Post
    I installed an add-on for testimonials and is working now.

    I now have another problem. If you check my site again, in the main page the 3 way header for new, specials and featured. How can i translate that for spanish also, im trying in the tpl_xxxx.php but no success as you can see hehe

    Kind regards,

    David
    If you want the template to work with languages other than english, you need to copy the template language files to your new language and make your translations.

    Thanks,

    Anne

  8. #518
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Sheffield Blue Template Support Thread

    {QUOTE=pewe;1233874]But you're not far off it I bet?? [/QUOTE]

    LOL! Thanks for the hug.

    Thanks,

    Anne

  9. #519
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Sheffield Blue Template Support Thread

    Quote Originally Posted by speedyrider View Post
    Hi, ive located the file and its on the template folder not on the languages one. I have installed a language pack.

    File is: includes/templates/sheffield_blue/templates/tpl_index_default.php

    The line is like this:

    case 'SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS':
    echo '<span class="navThree moduleSpan"><a href="javascript:void(0)" rel="specialsDefault" class="navThree moduleBox">Specials</a></span>';

    I have defined variables like this: define('HEADER_TITLE_SPECIAL1',''); in the includes/languages/spanish/extra_definitions/sheffield_blue/headermenu.php

    and plan to sub it there, any ideas? dont know how to do it
    A lot going on here. This may already be addressed in this forum. I haven't looked. But to get PHP defined constants to appear they must be called by php code. Add to this, whatever php defined variable you use/reference, must exist in all languages that will be used or english will be used as the default. If the php defined variable doesn't exist in english at that point, then the variable name will be displayed. So recommendation is to find the english equivalent for what you are trying to get (specials in this example) and define the spanish version to have spanish text.

    The code would look something like this:
    Code:
    'SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS':
    echo '<span class="navThree moduleSpan"><a href="javascript:void(0)" rel="specialsDefault" class="navThree moduleBox"><?php echo HEADER_TITLE_SPECIAL1; ?></a></span>';
    But again, be sure HEADER_TITLE_SPECIAL1 is defined in english or use the english definition and modify the spanish one to reflect the spanish word(s) to be used.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #520
    Join Date
    Jan 2014
    Posts
    32
    Plugin Contributions
    0

    Default Re: Sheffield Blue Template Support Thread

    Hi ive done it but now the part where the text should appear its not there. I guess i have to define it in other location.
    I have used now the BOX_HEADING_FEATURED_PRODUCTS variable but again it doesnt show anything. Any ideas?

    My line:

    echo '<span class="navOne moduleSpan"><a href="javascript:void(0)" rel="featuredProducts" class="navOne moduleBox"><?php echo BOX_HEADING_FEATURED_PRODUCTS; ?></a></span>';
    Last edited by speedyrider; 21 Jan 2014 at 06:08 PM.

 

 
Page 52 of 85 FirstFirst ... 242505152535462 ... LastLast

Similar Threads

  1. v151 Responsive Sheffield Blue v1.0
    By picaflor-azul in forum Addon Templates
    Replies: 1159
    Last Post: 23 Apr 2023, 01:20 AM
  2. v155 Column issues on Product Listings with Sheffield Blue template
    By wmorris in forum General Questions
    Replies: 4
    Last Post: 15 Apr 2016, 10:01 PM
  3. Replies: 5
    Last Post: 30 May 2014, 02:43 AM
  4. v151 Blue Admin [Support Thread]
    By vvomble in forum Addon Templates
    Replies: 11
    Last Post: 27 May 2013, 09:43 PM
  5. Gingham Blue Template Support Thread
    By LissaE in forum Addon Templates
    Replies: 9
    Last Post: 17 Apr 2009, 10:19 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR