Page 4 of 13 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 126
  1. #31
    Join Date
    Oct 2010
    Location
    United Kingdom
    Posts
    477
    Plugin Contributions
    0

    Default Re: Reviews - Updated [Support Thread]

    Hi
    Not sure if this has been mentioned before but while doing SEO using seo doctor on firefox my title tags had 2 H1 tags causing errors .
    I eventually found it (with a little help :) ) to be the reviews on every product page

    I changed includes/template/your template/ template/tpl_product_reviews_write_default
    line 12
    <h1 id="reviewsWriteHeading"><?php echo $products_name . $products_model; ?></h1>
    and changed the h1 tags to h2 which then fixed my double tag issues.
    So not sure if it is an error or just my template or just me..

    thanks

  2. #32
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,912
    Plugin Contributions
    89

    Default Re: Reviews - Updated [Support Thread]

    ATSWorld, since there's only one <h1> tag in the tpl_product_reviews_write_default.php file that comes with this plugin and since the "standard" Zen Cart behavior is to have this page (product_reviews_write) as a stand-alone page, I'm guessing that it's an issue with your template.

    From what you've said, the template seems to be imbedding the contents of the product_reviews_write page into the product_info page.

  3. #33
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Reviews - Updated [Support Thread]

    @lat9. quick question. how does the details of guest reviewers get stored? does it create a dummy account in table cutomers?
    I ask because isnt this where the standard reviews module pulls the info from?

    if it does create a dummy account does this cause problems if the user trys to create an account later?

    Thanks
    Phil Rogers
    A problem shared is a problem solved.

  4. #34
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,912
    Plugin Contributions
    89

    Default Re: Reviews - Updated [Support Thread]

    Phil, the only detail stored for a guest reviewer is the name they entered. All of the reviews information is stored in the reviews table, which is customer-independent and contains its own field for the 'customers_name' (i.e. the name of the reviewer). The only difference for a guest reviewer is that the customer_id value that's stored is 0 (since there's no id associated with them).

  5. #35
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Reviews - Updated [Support Thread]

    Quote Originally Posted by lat9 View Post
    Phil, the only detail stored for a guest reviewer is the name they entered. All of the reviews information is stored in the reviews table, which is customer-independent and contains its own field for the 'customers_name' (i.e. the name of the reviewer). The only difference for a guest reviewer is that the customer_id value that's stored is 0 (since there's no id associated with them).

    Fantastic, thanks for clarifying :o) will install tonight!
    Phil Rogers
    A problem shared is a problem solved.

  6. #36
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Reviews - Updated [Support Thread]

    @lat9

    Works perfect thank you!

    just one thing, is it possible to move the notification message:
    Your review has been submitted for approval.

    so that instead of coming up above the top of the website, have it like the one on the product info page does if you try and add items to cart without selecting required attributes etc?

    I want the message to show around the area the form is?

    Thanks
    Phil Rogers
    A problem shared is a problem solved.

  7. #37
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Reviews - Updated [Support Thread]

    do I change this:
    $messageStack->add_session('header', REVIEWS_APPROVAL == '1' ? MESSAGE_REVIEW_SUBMITTED_APPROVAL : MESSAGE_REVIEW_SUBMITTED, 'success');

    to this:
    $messageStack->add_session('review_text', REVIEWS_APPROVAL == '1' ? MESSAGE_REVIEW_SUBMITTED_APPROVAL : MESSAGE_REVIEW_SUBMITTED, 'success');

    is that what will make it output by this one:
    <h1 id="reviewsWriteHeading"><?php echo $products_name . $products_model; ?></h1>
    <?php if ($messageStack->size('review_text') > 0) echo $messageStack->output('review_text'); ?>

    ??
    Phil Rogers
    A problem shared is a problem solved.

  8. #38
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,912
    Plugin Contributions
    89

    Default Re: Reviews - Updated [Support Thread]

    Quote Originally Posted by philip937 View Post
    do I change this:
    $messageStack->add_session('header', REVIEWS_APPROVAL == '1' ? MESSAGE_REVIEW_SUBMITTED_APPROVAL : MESSAGE_REVIEW_SUBMITTED, 'success');

    to this:
    $messageStack->add_session('review_text', REVIEWS_APPROVAL == '1' ? MESSAGE_REVIEW_SUBMITTED_APPROVAL : MESSAGE_REVIEW_SUBMITTED, 'success');

    is that what will make it output by this one:
    <h1 id="reviewsWriteHeading"><?php echo $products_name . $products_model; ?></h1>
    <?php if ($messageStack->size('review_text') > 0) echo $messageStack->output('review_text'); ?>

    ??
    It would ... if the message was going to be displayed by the product_reviews_write page. However, upon successful recording of the review, the reviews_write processing causes a redirect to the product_reviews page and there's no messaging used by the as-shipped page template (that's why the message is sent to the header, which is available on all pages).

    So, you have two choices:
    1. Change /includes/modules/pages/product_reviews_write/header_php.php to change the message stack location and comment-out the redirect to the product_reviews page (on line 138).
    2. Change /includes/modules/pages/product_reviews_write/header_php.php to change the message stack location and also edit your template's version of /includes/templates/YOUR_TEMPLATE/templates/tpl_product_reviews_default.php to add the code
      PHP Code:
      <?php if ($messageStack->size('review_text') > 0) echo $messageStack->output('review_text'); ?>
      where you want the message displayed.

  9. #39
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Reviews - Updated [Support Thread]

    With ya totally. Didn't notice the redirect. I think I'll just move the header output down to just below the top nav, that should be sufficient :-)

    Cheers
    Phil Rogers
    A problem shared is a problem solved.

  10. #40
    Join Date
    May 2012
    Posts
    29
    Plugin Contributions
    0

    Default Re: Reviews - Updated [Support Thread]

    Hi, I noticed two bugs of this module.
    1.it only accounts for newly written review.
    2. In admin review page,customers' name are shown the same as reviews.php in front website page. I want the customer's full name are shown in admin review page.
    Can you solve this two bugs?
    Thanks!

 

 
Page 4 of 13 FirstFirst ... 23456 ... LastLast

Similar Threads

  1. ZX Slideshow support thread
    By balihr in forum All Other Contributions/Addons
    Replies: 743
    Last Post: 30 Mar 2024, 02:26 AM
  2. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 19
    Last Post: 23 Jan 2023, 08:04 AM
  3. v150 Orders Status History -- Updated By [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 34
    Last Post: 29 Jul 2019, 07:05 PM
  4. v151 Reviews Reply addon [Support Thread]
    By mikestaps in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 17 Oct 2014, 01:29 AM
  5. Replies: 68
    Last Post: 29 Jul 2013, 06:33 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