Thread: Ask A Question

Page 34 of 40 FirstFirst ... 243233343536 ... LastLast
Results 331 to 340 of 399
  1. #331
    Join Date
    Jul 2012
    Posts
    16,799
    Plugin Contributions
    17

    Default Re: Ask A Question

    Quote Originally Posted by Maynards View Post
    I have added this plugin and do not get the option of asking a question on product pages. This is a very simple plugin to add but where did I go wrong.
    I am using zencart version 155e with a template of westminster_new.

    Any ideas?

    Thanks in advance
    Typically and I love how so many different plugins do things differently and regardless the method of explaining/doing, none is "right", but the README.txt indicates how to "present" the option:

    Move includes/templates/template_default/templates/tpl_product_info_display.php
    to your own template directory, if it's not already there.
    In this file, find: <!-- eof Product details list -->

    On the following line, insert this block of code:

    <span id="productQuestions" class="biggerText">
    <br />
    <b><?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id'], 'SSL') . '">' . ASK_A_QUESTION . '</a>'; ?></b>
    </span>
    <br class="clearBoth" />

    Alternately, you may use the button provided. To do this, insert

    <div id="askQuestion" class="biggerText">
    <?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id='
    . $_GET['products_id'], 'SSL') . '">' .
    zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT) .
    '</a>'; ?></div>
    <br />
    <br class="clearBoth" />
    That is the "link" to the software being installed and the option being presented...

    How/where otherwise within your code/site you place this is up to your desire, but it is a starting point that works. :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #332
    Join Date
    Feb 2010
    Location
    Minnesota
    Posts
    387
    Plugin Contributions
    0

    Default Re: Ask A Question

    Thanks mc12345678 for your response.
    Not understanding every word you wrote but I did add the code in the Read me file and I put it in here:

    includes/templates/westminster_new/templates/tpl_product_info_display.php

    In my current site I have this plugin that is used often by customers. I see the Ask a Question button next to each product. I do not see it here.

  3. #333
    Join Date
    Jul 2012
    Posts
    16,799
    Plugin Contributions
    17

    Default Re: Ask A Question

    Quote Originally Posted by Maynards View Post
    Thanks mc12345678 for your response.
    Not understanding every word you wrote but I did add the code in the Read me file and I put it in here:

    includes/templates/westminster_new/templates/tpl_product_info_display.php

    In my current site I have this plugin that is used often by customers. I see the Ask a Question button next to each product. I do not see it here.
    Sorry to have offered what was considered the obvious reason. Next up would be to look at the source code of an affected product page, to see that one of the two options is presented there and if so then deal with whatever css/javascript is hiding it... it may require moving the code to a different location within the file to be outside of the effects of either of those two.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #334
    Join Date
    Feb 2010
    Location
    Minnesota
    Posts
    387
    Plugin Contributions
    0

    Default Re: Ask A Question

    Quote Originally Posted by mc12345678 View Post
    Sorry to have offered what was considered the obvious reason. Next up would be to look at the source code of an affected product page, to see that one of the two options is presented there and if so then deal with whatever css/javascript is hiding it... it may require moving the code to a different location within the file to be outside of the effects of either of those two.
    Thank you very much for your help. I added the code under the <!--eof Product description --> instead of <!-- eof Product details list --> and it works perfectly.

    Just in case anyone else has this problem.

  5. #335
    Join Date
    Jul 2012
    Posts
    16,799
    Plugin Contributions
    17

    Default Re: Ask A Question

    Quote Originally Posted by Maynards View Post
    Thank you very much for your help. I added the code under the <!--eof Product description --> instead of <!-- eof Product details list --> and it works perfectly.

    Just in case anyone else has this problem.
    Welcome. :)

    And as to the other discussion that turned out to be confusing... See the original thought was that the code from the README didn't get inserted... Had that been correct then what I was saying was that this plugin was written to provide direction on where to insert some code to make the feature accessible. Other plugins provide a copy of the original file and some sort of notation that a change is needed at a certain point in the file, some give mixes of the two, etc... Well, I jumped the gun a little in thinking that the code hadn't been incorporated even though the referenced template likely has/had other modifications that could tuck the results away a little... But, seemed like the most likely cause with a secondary being where within the page... If it had gotten any more complex than either of those two then probably would have started asking for a web page. :)

    Regardless, glad it was able to be easily resolved, and thank you for your patience and continued professionalism in not expressing that I was possibly mistreating you and/or your experience. The information provided back helped significantly to guide towards a solution. :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #336
    Join Date
    Aug 2009
    Posts
    44
    Plugin Contributions
    0

    Default Re: Ask A Question

    I am in a bit of a funk. I am using this addon but when enabled I get no image only the "ask a question..." text and above that it reads in all caps a similar message however they both link to different pages. I am not sure what I did honestly. URL http://completelydevoteddesigns.com/...&products_id=8

    Any thoughts would be appreciated!

  7. #337
    Join Date
    Jul 2012
    Posts
    16,799
    Plugin Contributions
    17

    Default Re: Ask A Question

    Quote Originally Posted by gsallen101289 View Post
    I am in a bit of a funk. I am using this addon but when enabled I get no image only the "ask a question..." text and above that it reads in all caps a similar message however they both link to different pages. I am not sure what I did honestly. URL http://completelydevoteddesigns.com/...&products_id=8

    Any thoughts would be appreciated!
    Couple thoughts, though not entirely sure how it "happened".
    I accessed the site using a mobile device. There was no text that specified the ability to ask a question about the product on screen, but review of the source code identified that the ask a question content was in one way or another inserted into a sidebox. That sidebox; however, also has some "remnant" of a review link such as to offer a review of a product. That would be why the two links go to somewhere different.

    Not sure (yet) what the issue to resolve is, but if a sidebox was generated to show this option and there is "text" that is all caps, no spaces, that looks "wrong" then there probably is a language define that is missing for the sidebox. The link destination difference is because of how/what was incorporated and something similar for the lack of image. The text instructions in the download identify at least two ways that the plugin can be implemented. Many more are possible, but when having difficulty doing something not described, would suggest going back to what is known to work and then if necessary branch out from there and imitate what works.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #338
    Join Date
    Aug 2009
    Posts
    44
    Plugin Contributions
    0

    Default Re: Ask A Question

    Quote Originally Posted by mc12345678 View Post
    Couple thoughts, though not entirely sure how it "happened".
    I accessed the site using a mobile device. There was no text that specified the ability to ask a question about the product on screen, but review of the source code identified that the ask a question content was in one way or another inserted into a sidebox. That sidebox; however, also has some "remnant" of a review link such as to offer a review of a product. That would be why the two links go to somewhere different.

    Not sure (yet) what the issue to resolve is, but if a sidebox was generated to show this option and there is "text" that is all caps, no spaces, that looks "wrong" then there probably is a language define that is missing for the sidebox. The link destination difference is because of how/what was incorporated and something similar for the lack of image. The text instructions in the download identify at least two ways that the plugin can be implemented. Many more are possible, but when having difficulty doing something not described, would suggest going back to what is known to work and then if necessary branch out from there and imitate what works.
    Thank you for the response. I can only assume this happened when uploading all of the files for this add-on. I have been through each individual file related to this add-on and still no luck. Somewhere this side box is pointing to the "reviews" page and I cant seem to find it. I have removed all files and uploaded them again as before. All original files are correctly pointing where they need to.

    I guess I will just turn this off until I can resolve it.

  9. #339
    Join Date
    Jul 2012
    Posts
    16,799
    Plugin Contributions
    17

    Default Re: Ask A Question

    Quote Originally Posted by gsallen101289 View Post
    Thank you for the response. I can only assume this happened when uploading all of the files for this add-on. I have been through each individual file related to this add-on and still no luck. Somewhere this side box is pointing to the "reviews" page and I cant seem to find it. I have removed all files and uploaded them again as before. All original files are correctly pointing where they need to.

    I guess I will just turn this off until I can resolve it.
    The file that is a "problem" is outside the fileset that comes with this download. It happened in some other edit or by leaving something else behind during some upgrade or another. This plugin does not include any sidebox content. To find the "issue" (which has nothing to do with the instructions of this module because this module does not install/create a sidebox especially one which is currently incorrectly coded) and assuming that some semblance of appropriate incorporation was used, would suggest removing the files associated with this download and then using the developers toolkit to search for FILENAME_ASK_A_QUESTION. Or leave the files and do the same but looking for the file(s) that are not included in the original fileset...

    Or maybe search for: askaquestionsideboxHeading
    and see what file(s) are returned. More than likely have a
    Code:
    zen_href_link(FILENAME_REVIEWS...
    type link generated just after that text...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #340
    Join Date
    Aug 2009
    Posts
    44
    Plugin Contributions
    0

    Default Re: Ask A Question

    Quote Originally Posted by mc12345678 View Post
    The file that is a "problem" is outside the fileset that comes with this download. It happened in some other edit or by leaving something else behind during some upgrade or another. This plugin does not include any sidebox content. To find the "issue" (which has nothing to do with the instructions of this module because this module does not install/create a sidebox especially one which is currently incorrectly coded) and assuming that some semblance of appropriate incorporation was used, would suggest removing the files associated with this download and then using the developers toolkit to search for FILENAME_ASK_A_QUESTION. Or leave the files and do the same but looking for the file(s) that are not included in the original fileset...

    Or maybe search for: askaquestionsideboxHeading
    and see what file(s) are returned. More than likely have a
    Code:
    zen_href_link(FILENAME_REVIEWS...
    type link generated just after that text...
    I have tried that as well. It may be due to the fact this is for 1.3 and I am running v1.5.5e. Thank you for your time though.

 

 
Page 34 of 40 FirstFirst ... 243233343536 ... 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