Thread: Ask A Question

Page 22 of 40 FirstFirst ... 12202122232432 ... LastLast
Results 211 to 220 of 399
  1. #211
    Join Date
    Apr 2009
    Posts
    149
    Plugin Contributions
    0

    Default Re: Ask A Question

    Just wanted to say I think this is a fantastic mod. Thanks!.

  2. #212
    Join Date
    Feb 2010
    Posts
    1
    Plugin Contributions
    0

    Idea or Suggestion Re: Ask A Question

    Hi there,

    first I would like to say thanks for this mod! I'm in the middle of my first zencart site and I'm finding it very useful!

    Second, I'm running the site in showcase mode and was looking for a way to make the ask a question button work in place of the contact us link on product listing pages.

    I had gotten as far as getting the button to appear in place of "contact us" by editing includes/functions/functions_general.php and changing this

    Code:
    // show case only superceeds all other settings
    if (STORE_STATUS != '0') {
    return '<a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . TEXT_SHOWCASE_ONLY . '</a>';
    }
    to this

    Code:
    // show case only superceeds all other settings
    if (STORE_STATUS != '0') {
    return '<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>';
    }
    My problem was getting the product id for the link. After some trial and error I came up with this (I have little to no php experience so it took a while )

    Code:
    // show case only superceeds all other settings
    if (STORE_STATUS != '0') {
    return '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id='
       . (int)$product_id) . '">' .
       zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT) .
       '</a>';
    }
    And its now working fine.

    I'm sharing how I did this for anyone else who might be trying to do the same thing, though it may affect the same button on product info pages but I already have it disabled on those pages so can't be sure.

    Now I dont really know what im doing so if there's a better way of doing this please share
    Well that's my 2 cents, thanks again for the mod.

    Andrew

  3. #213
    Join Date
    Mar 2009
    Posts
    34
    Plugin Contributions
    0

    Default Re: Ask A Question

    After installing i've got get the button visible.
    But when I click it it doesn't direct me to the contact page, but to a page with only the product name and image.

    You can check it here... http://www.centrumgaia.nl/shop/jongl...e-lx-grey-p-94

    I upoaded and renamed the files according the insructions, but I can't find the solution.

  4. #214
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: Ask A Question

    You have some kind of SEO software installed that doesn't play nicely with this contribution.
    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. #215
    Join Date
    Mar 2009
    Posts
    34
    Plugin Contributions
    0

    Default Re: Ask A Question

    Indeed, I installed Simple SEO Url.
    Do I have to modify something or isn't it going to work altogether?

  6. #216
    Join Date
    Dec 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: Ask A Question

    Hi,

    I cant get this to work on the product listing page. For some reason, it doesnt insert the products id into the link. Can anyone help? I tried to replicate the solution from Marlboro, but it doesnt make a difference.

    Thanks

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

    Default Re: Ask A Question

    Ask A Question 1.9 has been posted to the Free Software Add Ons area for those who require PHP 5.3 compatibility. No other functional changes were made in this update.

    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. #218
    Join Date
    Dec 2007
    Posts
    52
    Plugin Contributions
    0

    Default Re: Ask A Question

    Hi, Thank you for this useful module but I have some problem with it. I tried install this modules with new zencart 1.3.9e but when i click on the link ask a question it only display "HEADING_TITLE" and product image

    do you know if there is any effect with 1.3.9e and this module?

    I read post about and you said that "You have some kind of SEO software installed that doesn't play nicely with this contribution"

    what do you mean by OSE software?

    currently I have statezones, all invoices, direct bank deposit
    and I don't see when these modules will have effect on ask a question module.

    thanks

  9. #219
    Join Date
    Dec 2007
    Posts
    52
    Plugin Contributions
    0

    Default Re: Ask A Question

    If anyone get this modules work with 1.3.9e pls let me know so i know i am doing something wrong.

    I tried with fresh install and same thing still happen.

  10. #220
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: Ask A Question

    It works fine with 139e. You have installed it incorrectly. Remember that any directory named "custom" should be renamed to your template directory.
    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 22 of 40 FirstFirst ... 12202122232432 ... 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