Zen Cart Logo
Forums / All Other Contributions/Addons / Ask a question 1.7

Ask a question 1.7

Locked

Views: 2,287

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
28 Feb 2007, 6:23 PM
#1
kodam avatar

kodam

Zen Follower

Join Date:
Jul 2005
Posts:
84
Plugin Contributions:
0

Ask a question 1.7

Hello,

I followed instructions in the readme and it's installed.

I don't see any question button, where can I activate this feature ?

thank you

28 Feb 2007, 6:57 PM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,695
Plugin Contributions:
56

Re: Ask a question 1.7

Read further along in the instructions. :) You'll have to modify your product display template.

Scott

28 Feb 2007, 8:50 PM
#3
kodam avatar

kodam

Zen Follower

Join Date:
Jul 2005
Posts:
84
Plugin Contributions:
0

Re: Ask a question 1.7

I've done it from start to end but there is a part I don't fully understand a the end of the readme :

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 /> <br class="clearBoth" />

Does it means I have to change something in the first change on this file, or do I have to paste it just below ? (tried both and no difference)

thank you

28 Feb 2007, 8:55 PM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,695
Plugin Contributions:
56

Re: Ask a question 1.7

You have to put this code in to tpl_product_info_display.php

But since you're having trouble getting this to work, start with the code that just
displays a link. Get that to work, and then switch to the button code.

Scott

28 Feb 2007, 9:16 PM
#5
kodam avatar

kodam

Zen Follower

Join Date:
Jul 2005
Posts:
84
Plugin Contributions:
0

Re: Ask a question 1.7

I restarted the process.

Found the line, saw the 2 one below, changed the two one below into what the readme says int the includes\templates\template_default\templates\tpl_product_info_display.php file. (I uploaded the files in the package too)

There isn't any link in my product after this :'( (I use zencart 1.3.7)

thank you

1 Mar 2007, 5:48 AM
#6
kodam avatar

kodam

Zen Follower

Join Date:
Jul 2005
Posts:
84
Plugin Contributions:
0

Re: Ask a question 1.7

Still nothing after few tries, it's not the first time I install something, this time it's look like I've done it well and nothing new appears. Does it need to be activated in some options ?

thank you

4 Apr 2007, 9:54 PM
#7
sodajim avatar

sodajim

New Zenner

Join Date:
May 2005
Posts:
93
Plugin Contributions:
0

Re: Ask a question 1.7

Did a quick search and found this thread regarding "Ask A Question" 1.7; so, I'll piggy-back in here...

Utilizing ZC 1.3.7 and AaQ 1.7
Followed the instructions and see the image link but following the link displays my Error page within ZC...

I'm curious as most naming conventions in ZC are slightly different.
Ex. While holding the mouse over the image link, the status bar displays:
"...index.php?main_page=FILENAME_ASK_A_QUESTION&products_id=1"

In most instances of ZC, links are not displayed in this naming convention...
I would think it would read as follows:
"...index.php?main_page=ask_a_question&products_id=1"

This may or may not have something to do with the link...

Any direction appreciated,
Jim

4 Apr 2007, 10:16 PM
#8
sodajim avatar

sodajim

New Zenner

Join Date:
May 2005
Posts:
93
Plugin Contributions:
0

Re: Ask a question 1.7

My apologies...
Problem solved !

Make sure you use the correct code edit if you utilize the ask a question image!
Silly me ! ! !