Re: Sheffield Blue Template Support Thread
Quote:
Originally Posted by
picaflor-azul
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.
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
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',......
Re: Sheffield Blue Template Support Thread
Quote:
Originally Posted by
speedyrider
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
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
Re: Sheffield Blue Template Support Thread
Quote:
Originally Posted by
eric47905
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.
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.
Re: Sheffield Blue Template Support Thread
Quote:
Originally Posted by
picaflor-azul
Yes, having your syntax correct is important in php.
Thanks,
Anne
Yes, giving the correct answers is important when helping too, as not everybody knows php.
Thanks,
David
Re: Sheffield Blue Template Support Thread
Quote:
Originally Posted by
eric47905
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
Re: Sheffield Blue Template Support Thread
Quote:
Originally Posted by
speedyrider
Yes, giving the correct answers is important when helping too, as not everybody knows php.
Thanks,
David
Ouch! Sorry for making a mistake, but I am far from perfect. I will admit that I did not have time to test out the code.
Thanks,
Anne