Thread: Ask A Question

Page 2 of 40 FirstFirst 123412 ... LastLast
Results 11 to 20 of 399
  1. #11
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,751
    Plugin Contributions
    124

    Default Re: Ask A Question

    Re: Marg's contribution

    I looked for it when I started working on this, which was only about a month ago, and didn't see it. I really can't speak to the question of its deletion; perhaps the mods can speak up.

    As noted in the readme file, I ported this myself because I noticed it was missing from 1.3 and I enjoyed using it back in 1.27d.

    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. #12
    Join Date
    Oct 2005
    Posts
    38
    Plugin Contributions
    0

    Default Re: Ask A Question

    There was no call up for the product in the HTML version of the email.
    I ended up modifying /includes/modules/pages/ask_a_question/tpl_header_php.php and it all works fine now.

    For anyone that is interested:
    Replaced -
    Code:
    $html_msg['EMAIL_MESSAGE_HTML'] = strip_tags($_POST['enquiry']);
    With -
    Code:
    $html_msg['EMAIL_MESSAGE_HTML'] = '<b>Product: </b><a href="' . zen_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $_GET['products_id']) . '">' . $product_info->fields['products_name'] . '</a><br />' . strip_tags($_POST['enquiry']);

  3. #13
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,751
    Plugin Contributions
    124

    Default Re: Ask A Question

    I just uploaded a version with the fixes that have been suggested plus the button that was posted. It should be available in a few days after the mods approve it.

    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. #14
    Join Date
    Mar 2006
    Posts
    208
    Plugin Contributions
    0

    Default Re: Ask A Question

    Would be nice to have the product image displayed as well.
    Along with the product name, on the top of the mail form?

    Cheers
    Dimi

  5. #15
    Join Date
    Feb 2005
    Location
    Prague
    Posts
    151
    Plugin Contributions
    0

    Default Re: Ask A Question

    Please tell me where is problem ?
    http://www.czbeads.eu/seed-bead-1005...ml?language=en

    Im change tpl_product_info_display.php
    but it look like alligned on the right side. I need it on the left side

    ot I need put button (damn, how I can put this button - no info about it)

    Pavel

  6. #16
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,751
    Plugin Contributions
    124

    Default Re: Ask A Question

    Looks like you've got it. Nice!
    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.

  7. #17
    Join Date
    Feb 2005
    Location
    Prague
    Posts
    151
    Plugin Contributions
    0

    Default Re: Ask A Question

    Im add several <br /> codes and it help

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

    Default Re: Ask A Question

    Probably a better solution is to use

    <br class="clearBoth" />

    This way your alignment will still look good even if you swap out the graphic
    you're using for another one with different dimensions.

    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.

  9. #19

    Default Re: Ask A Question

    No one has explained how to add the freakin button yet.
    Rich People scream, Wealthy people whisper

    www.cooltechcentral.com

  10. #20
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,751
    Plugin Contributions
    124

    Default Re: Ask A Question

    Assuming your template name is "custom":

    a) copy the button image into includes/templates/custom/buttons/english
    (create this directory if it doesn't exist).

    b) create includes/languages/english/custom/button_names.php if you have not already done so,
    from includes/languages/english/button_names.php

    Add the lines
    define('BUTTON_IMAGE_ASK_A_QUESTION','button_ask_question.gif');
    define('BUTTON_ASK_A_QUESTION_ALT', 'Ask a question');

    to this file.

    Then, in tpl_product_info_display.php, your code would be:

    <div id="askQuestion" class="biggerText">
    <?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id']) . '">' .
    zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT) . '</a>'; ?></div>
    <br />
    ASK_A_QUESTION
    </a>
    </div>
    <br class="clearBoth" />

    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.

 

 
Page 2 of 40 FirstFirst 123412 ... 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