Page 1 of 2 12 LastLast
Results 1 to 10 of 842

Hybrid View

  1. #1
    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,
    first of all thanks for an awesome template, im new to zen-cart but have read all your readme instructions (very clear, thanks) and the whole 50 pages of support in this template forum.

    The result is this by now: www.kite-addi***ction.es/tienda please delete the *

    As you can see i have two languages, english (template original) and spanish.
    I want to be able to set different text in the currencies and languages in the header (i have located the file in includes / templates / sheffield_blue / sideboxes / tpl_languages_header.php and tpl_currencies_header.php).

    The text there is in english, i want it to be able to be a different one when spanish language is selected. Usually i have translated everything with your wonderful instructions, but here the file is in the templates folder and not in the english or spanish folder under the languages folder, and im scared to move it.

    Kind regards,

    David

    David
    Yes, this is an old bug that has been documented and is on the list for a future update.

    In the tpl_currencies_header.php file, you can change:

    Code:
    Currencies:  
    to

    Code:
    <?php echo HEADER_TITLE_CURRENCIES; ?>
    and in the tpl_languages_header.php file, change:

    Code:
    Languages:&nbsp;&nbsp;
    to:

    Code:
    <?php echo HEADER_TITLE_LANGUAGES; ?>
    Then add the define statements for the constants in the includes/languages/english/extra_definitions/sheffield_blue/headermenu.php file:

    Code:
    define('HEADER_TITLE_CURRENCIES','Currencies');
    define('HEADER_TITLE_LANGUAGES','Languages');

    Thanks,

    Anne

  2. #2
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Sheffield Blue Template Support Thread

    Quote Originally Posted by picaflor-azul View Post
    Yes, this is an old bug that has been documented and is on the list for a future update.
    All the more reason to take some time to read through the thread. Even with the best of intentions to meet or exceed standard ZC programming, sometimes something like that gets missed. But good that the solution was/is available.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jan 2014
    Posts
    32
    Plugin Contributions
    0

    Default Re: Sheffield Blue Template Support Thread

    Still doesnt work, i changed exactly what you said and now there is no information on that part of the screen. You can take a look in the same url

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

    Default Re: Sheffield Blue Template Support Thread

    Worked it out, as the file was already with <?php

    Should start like this: $content .= HEADER_TITLE_CURRENCIES . zen_draw_pull_down_menu('currency',......

  5. #5
    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
    Worked it out, as the file was already with <?php

    Should start like this: $content .= HEADER_TITLE_CURRENCIES . zen_draw_pull_down_menu('currency',......
    Yes, having your syntax correct is important in php.

    Thanks,

    Anne

  6. #6
    Join Date
    Sep 2009
    Posts
    24
    Plugin Contributions
    0

    Default Re: Sheffield Blue Template Support Thread

    Hello Anne,

    Thank you for all the support you give this community!

    I searched this thread but could not figure out how to word my search exactly right to see if this issue has been addressed already. You almost need sub threads for this thread.

    My issue - On the product review page, it is displaying some html code garbage just before the picture. Everything else displays correct.

    You can see an example here (Since this is live site I don't want it indexed so I added *** please remove that for the link - http://www.orings-onlin***e.net/inde...r_of_uploads=0

    I narrowed it down to this file I believe - \includes\modules\pages\product_reviews\header_php

    More specifically in this section I think as this seems to be the junk code displaying as text on the review page

    Code:
      $review_query_raw = $db->bindVars($review_query_raw, ':productsID', $_GET['products_id'], 'integer');
      $review_query_raw = $db->bindVars($review_query_raw, ':languagesID', $_SESSION['languages_id'], 'integer');
      $review = $db->Execute($review_query_raw);
    
      $products_price = zen_get_products_display_price($review->fields['products_id']);
    
      if (zen_not_null($review->fields['products_model'])) {
        $products_name = $review->fields['products_name'] . '<br /><span class="smallText">[' . $review->fields['products_model'] . ']</span>';
      } else {
        $products_name = $review->fields['products_name'];
      }
    If you have any ideas on how to fix this please let me know. Thanks a bunch

  7. #7
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Sheffield Blue Template Support Thread

    Quote Originally Posted by eric47905 View Post
    Hello Anne,

    Thank you for all the support you give this community!

    I searched this thread but could not figure out how to word my search exactly right to see if this issue has been addressed already. You almost need sub threads for this thread.

    My issue - On the product review page, it is displaying some html code garbage just before the picture. Everything else displays correct.

    You can see an example here (Since this is live site I don't want it indexed so I added *** please remove that for the link - http://www.orings-onlin***e.net/inde...r_of_uploads=0

    I narrowed it down to this file I believe - \includes\modules\pages\product_reviews\header_php

    More specifically in this section I think as this seems to be the junk code displaying as text on the review page

    Code:
      $review_query_raw = $db->bindVars($review_query_raw, ':productsID', $_GET['products_id'], 'integer');
      $review_query_raw = $db->bindVars($review_query_raw, ':languagesID', $_SESSION['languages_id'], 'integer');
      $review = $db->Execute($review_query_raw);
    
      $products_price = zen_get_products_display_price($review->fields['products_id']);
    
      if (zen_not_null($review->fields['products_model'])) {
        $products_name = $review->fields['products_name'] . '<br /><span class="smallText">[' . $review->fields['products_model'] . ']</span>';
      } else {
        $products_name = $review->fields['products_name'];
      }
    If you have any ideas on how to fix this please let me know. Thanks a bunch
    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.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #8
    Join Date
    Sep 2009
    Posts
    24
    Plugin Contributions
    0

    Default Re: Sheffield Blue Template Support Thread

    I don't know how you found my post, but bravo! That was the issue and the fix is already posted over there. Thanks a bunch - Zen light box brought out the error from the core code displaying the model poorly, but he has a fix posted for it.

  9. #9
    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 eric47905 View Post
    I don't know how you found my post, but bravo! That was the issue and the fix is already posted over there. Thanks a bunch - Zen light box brought out the error from the core code displaying the model poorly, but he has a fix posted for it.
    I am happy that you figured it out and got everything working ;)

    Thanks,

    Anne

  10. #10
    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.

 

 
Page 1 of 2 12 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

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