Thread: Ask A Question

Page 1 of 6 123 ... LastLast
Results 1 to 10 of 399

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,752
    Plugin Contributions
    124

    Idea or Suggestion Ask A Question

    I was disappointed when the mod "Ask A Question" wasn't included in 1.3, so I decided to integrate it myself. It's now listed as a contribution here:

    http://www.zen-cart.com/index.php?ma...roducts_id=206

    It doesn't use the database entries that the previous one did; it just reuses the email settings that Contact Us uses.

    I hope other people find this as useful as I did!
    Scott

    PS> Unfortunately, I did not create a graphic button for it, which I think would be a great addition; if someone out there has the time and inclination to do so, I would happily include this in an update.
    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. #2
    Join Date
    Feb 2006
    Posts
    235
    Plugin Contributions
    1

    Re: Ask A Question

    Great Mod, got it installed...
    However for multy languages I tried replacing:

    <b><?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id']) . '">Ask a Question about this product</a>'; ?></b>

    with this:
    <b><?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id']) . '"><?php echo ASK_A_QUESTION; ?></a>'; ?></b>

    But did not work...obviously my php sucks..*lol*

    PS Yes I did:
    define('ASK_A_QUESTION', 'Ask a Question about this Product');
    in the language files I needed....

  3. #3
    Join Date
    Feb 2006
    Posts
    235
    Plugin Contributions
    1

    Default Re: Ask A Question

    Should replace with:
    <b><?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id']) . '">'.ASK_A_QUESTION.'</a>'; ?></b>

    works fine now.....

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,752
    Plugin Contributions
    124

    Default Re: Ask A Question

    The readme file should say

    <b><?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id']) . '">' . ASK_A_QUESTION . '</a>'; ?></b>


    and the file ./includes/languages/english/extra_definitions/ask_a_question_defines.php

    should be

    <?php

    define('ASK_A_QUESTION', 'Ask a question about this product');

    ?>

    I will fix this next time I upload. I'm still hoping some nice person will make a button! :)
    ~
    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.

  5. #5
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Ask A Question

    Scott-

    Just to clarify, the edit recommended below is a replacement for the edit recommended in the readme for includes\templates\TYOUR_TEMAPLATE\templates\tpl_product_info_display.php

    The readme file should say

    <b><?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id']) . '">' . ASK_A_QUESTION . '</a>'; ?></b>

    and the file
    /includes/languages/english/extra_definitions/ask_a_question_defines.php
    should include:

    define('ASK_A_QUESTION', 'Ask a question about this product');
    Also can you not incorporate the button Marg bundled with her previous version?

    And is your updated version known to work on all versions of Zen Cart 1.3x. And does it work on previous 1.2x versions? Hope so as I see Marg's version is no longer available in download area.

    I like your new leaner more efficient design and works well on v.1.3.0.2 (fresh install). Nice job.

    Woody

  6. #6
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Ask A Question

    In case anyone wants to visit the support thread for the previous mod version:
    http://www.zen-cart.com/forum/showthread.php?t=36598

    And the previous archives for that thread is at http://www.zen-cart.com/forum/showthread.php?t=6098

  7. #7
    Join Date
    Jun 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: Ask A Question

    Quote Originally Posted by swguy View Post
    The readme file should say

    <b><?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id']) . '">' . ASK_A_QUESTION . '</a>'; ?></b>


    and the file ./includes/languages/english/extra_definitions/ask_a_question_defines.php

    should be

    <?php

    define('ASK_A_QUESTION', 'Ask a question about this product');

    ?>

    I will fix this next time I upload. I'm still hoping some nice person will make a button! :)
    ~
    Thanks,
    Scott
    This is prolly a cool mod. I installed it did the editing and well zip nothing. Is this just me or something to do with the version of zencart?
    I am hopeless....

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,752
    Plugin Contributions
    124

    Default Re: Ask A Question

    Quote Originally Posted by alaircom View Post
    This is prolly a cool mod. I installed it did the editing and well zip nothing. Is this just me or something to do with the version of zencart?
    I am hopeless....
    You may want to hire someone to install it for you.
    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.

  9. #9
    Join Date
    Oct 2005
    Posts
    97
    Plugin Contributions
    0

    Default Re: Ask A Question

    Hey there. I've install this module before and don't think I've had this problem, but the TEXT AREA is covering up the "Your question/message/whatever" bit. I feel like I've seen something about this before on the forums, but all I could find was about the Tell A Friend module and it was a different problem. Any ideas?

    http://dana.lbdsites.com/index.php?m...products_id=79

    Thanks!


    Leila

  10. #10
    Join Date
    Jun 2005
    Posts
    10
    Plugin Contributions
    0

    Default Re: Ask A Question

    ask a question can't send email after update from 1.27 to v1.35.

    send email and send newsletter work normal.

 

 
Page 1 of 6 123 ... 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