Page 53 of 85 FirstFirst ... 343515253545563 ... LastLast
Results 521 to 530 of 842
  1. #521
    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
    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>';
    Please read and follow the instructions in my reply to your post.

    Thanks,

    Anne

  2. #522
    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 mc12345678 View Post
    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.
    This is really the hard way to go about this. See my reply to the op here:

    http://www.zen-cart.com/showthread.p...28#post1233928

    Thanks,

    Anne

  3. #523
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Sheffield Blue Template Support Thread

    Quote Originally Posted by picaflor-azul View Post
    This is really the hard way to go about this. See my reply to the op here:

    http://www.zen-cart.com/showthread.p...28#post1233928

    Thanks,

    Anne
    I agree not an easy way to address, it seems though that the individual has found in the templates directory where a word to be displayed is not language/defined variable dependent. That said, it looks like in my effort to help, I have fallen short. Our posts had crossed paths (saw yours after I had finished typing and posted mine).

    In retrospect, I thought there was a ZC function that would help sort out from which language file(s) to pull a defined variable.
    Last edited by mc12345678; 21 Jan 2014 at 06:27 PM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #524
    Join Date
    Jan 2014
    Posts
    32
    Plugin Contributions
    0

    Default Re: Sheffield Blue Template Support Thread

    thanks anne but its nor working.

    the text is in the sheffield_blue/template folder under the tpl_index.php file. Its not in the language folder. Sorry if im being a pain but im new to this and need a bit more clear instructions, maybe i misundertood something.

  5. #525
    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
    thanks anne but its nor working.

    the text is in the sheffield_blue/template folder under the tpl_index.php file. Its not in the language folder. Sorry if im being a pain but im new to this and need a bit more clear instructions, maybe i misundertood something.
    Yes, the text in that file that is used in the template is defined in includes/languages/english/extra_definitions/responsive_sheffield_blue/module_tabs.php

    If you follow my instructions in my previous post about how to use the template with the other languages, you can translate the text.

    Thanks,

    Anne

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

    Default Re: Sheffield Blue Template Support Thread

    Hi Anne,

    sorry but the text is not in the folder you said, it is in the includes / templates / sheffield_blue / templates / tpl_index_default.php

    So i dont know how to make it work. If it were in the languages folder i would know how to translate it as i have already translated other sections of the website.

    Thanks for your help,

    David

  7. #527
    Join Date
    Jan 2014
    Posts
    32
    Plugin Contributions
    0

    Default Re: Sheffield Blue Template Support Thread

    The file and folder you said doesnt exist as this is the sheffield blue and not the responsive template

    thanks

  8. #528
    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
    The file and folder you said doesnt exist as this is the sheffield blue and not the responsive template

    thanks
    Copy the files from the responsive sheffield blue template to your template:

    includes/templates/responsive_sheffield_blue/templates/tpl_index_default.php
    includes/languages/english/extra_definintions/responsive_sheffield_blue/module_tabe.php

    This update has not yet been made to the sheffield blue template package.

    Thanks,

    Anne

  9. #529
    Join Date
    Jan 2014
    Posts
    32
    Plugin Contributions
    0

    Default Re: Sheffield Blue Template Support Thread

    Thanks, it worked!

  10. #530
    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
    Thanks, it worked!
    I am happy that you figured it out ;)

    Thanks,

    Anne

 

 
Page 53 of 85 FirstFirst ... 343515253545563 ... 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