Thread: Ask A Question

Page 7 of 40 FirstFirst ... 5678917 ... LastLast
Results 61 to 70 of 399
  1. #61
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,312
    Plugin Contributions
    125

    Default Re: Ask A Question

    It looks like your template is template_default - this is a bad thing. See

    http://www.zen-cart.com/forum/faq.ph...late_customize

    If you installed the files as they were in the zip, you created

    ./includes/templates/custom/templates/tpl_ask_a_question_default.php

    which will only work if you create a template called custom and set your template to that value in admin - and this would be a good thing.

    Good luck,
    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #62
    Join Date
    Nov 2006
    Posts
    512
    Plugin Contributions
    0

    Default Re: Ask A Question

    Hello!

    I like this mod, very much. I notice that unless I include a manufacturer in my listing AAQ does not show up on the product info page.

    Is there some additional code, I need to place? Also how hard would it be change the AAQ text? to something like AAQ about this "item" instead of product.

  3. #63
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,312
    Plugin Contributions
    125

    Default Re: Ask A Question

    If it's not showing up unless you have a manufacturer, you've put it inside an if block. Move it down a bit.

    To change the text, edit ./includes/languages/english/html_includes/define_ask_a_question.php

    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #64
    Join Date
    Nov 2006
    Posts
    512
    Plugin Contributions
    0

    Default Re: Ask A Question

    If I move the AAQ down in the page, should I restore the original code under TEXT_PRODUCT_MANUFACTURER....</ul>
    <br class="clearBoth" />?

    here is what I have currently:


    (<!--bof Product details list -->
    <?php if ( (($flag_show_product_info_model == 1 and $products_model != '') or ($flag_show_product_info_weight == 1 and $products_weight !=0) or ($flag_show_product_info_quantity == 1) or ($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name))) ) { ?>
    <ul id="productDetailsList" class="floatingBox back">
    <?php echo (($flag_show_product_info_model == 1 and $products_model !='') ? '<li>' . TEXT_PRODUCT_MODEL . $products_model . '</li>' : '') . "\n"; ?>
    <?php echo (($flag_show_product_info_weight == 1 and $products_weight !=0) ? '<li>' . TEXT_PRODUCT_WEIGHT . $products_weight . TEXT_PRODUCT_WEIGHT_UNIT . '</li>' : '') . "\n"; ?>
    <?php echo (($flag_show_product_info_quantity == 1) ? '<li>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>' : '') . "\n"; ?>
    <?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '</li>' : '') . "\n"; ?>
    </ul>
    <br />
    <br />
    <span id="productQuestions" class="biggerText">
    <br />
    <b><?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id']) . '">' . ASK_A_QUESTION . '</a>'; ?></b>
    </span>
    <br class="clearBoth" />
    <?php
    }
    ?>
    <!--eof Product details list -->

  5. #65
    Join Date
    Sep 2006
    Location
    Leeds, UK
    Posts
    174
    Plugin Contributions
    1

    Default Re: Ask A Question

    This mod was working recently, I can't remember if it has stopped since I upgraded to 1.3.7 but this is what is get.

    "Sorry, my system does not understand your email address. Please try again."

    I try any address and it's the same, Contact Us work's fine. Any ideas where I should be looking, which file is used for taking the question.

  6. #66
    Join Date
    Sep 2006
    Location
    Leeds, UK
    Posts
    174
    Plugin Contributions
    1

    Default Re: Ask A Question

    I think I have figured it out, let me know. When I logged in it worked!! Then I saw that the Allow guest to ask a question option has been deleted in this version.

    Then I started checking code until I found the file

    includes/modules/pages/ask_a_question/header_php.php

    Line 13

    reads

    if (!$_SESSION['customer_id'] && (ALLOW_GUEST_TO_ASK_A_QUESTION == 'false')) {

    I replaced it with

    if (!$_SESSION['customer_id']) {

    This then prompts me to login then it works. Was the decision to take away the Guest allow for some major reason?

  7. #67
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,312
    Plugin Contributions
    125

    Default Re: Ask A Question

    This is a bug I've been meaning to fix for a while. I'll go ahead and do it now.

    The variable ALLOW_GUEST_TO_ASK_A_QUESTION was a remnant from a previous version. People who've been running this for a while still have that entry in their admin; new people don't and might get caught by this bug.

    Thanks,
    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  8. #68
    Join Date
    Sep 2006
    Location
    Leeds, UK
    Posts
    174
    Plugin Contributions
    1

    Default Re: Ask A Question

    Personally I think you should leave the Allow a Guest option to be configured in Admin. I have found that people come on my site and ask me product questions. My team is happy to help as it shows our high customer service. Even if they don't shop with us that time.

  9. #69
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,312
    Plugin Contributions
    125

    Default Re: Ask A Question

    Guests can ask questions. What I removed was the ability to disallow guests from asking questions. People who want this flexibility are welcome to add it back in.

    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #70
    Join Date
    Sep 2006
    Location
    Leeds, UK
    Posts
    174
    Plugin Contributions
    1

    Default Re: Ask A Question

    ah ok, I will have to see if I can find the previous version. I'm guessing it's just a case of running the SQL line to insert the key into the configuration table for Allow Guest to Ask Question, then leave the code as you already have it?

 

 
Page 7 of 40 FirstFirst ... 5678917 ... LastLast

Similar Threads

  1. Ask A Question module
    By okibi in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 18 Apr 2007, 01:55 PM
  2. Ask a question 1.7
    By Kodam in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Apr 2007, 11:16 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