Ask A Question

Views: 120,986

Results 381 to 399 of 399
23 Apr 2020, 9:13 PM
#381
swguy avatar

swguy

Administrator

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

Ask A Question

The current goal date is 5/17. You can help by joining the test effort!

https://www.zen-cart.com/showthread.php?226588-Testing-1-5-7

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.

28 May 2020, 9:03 PM
#382
mikebr avatar

mikebr

Zen Follower

Join Date:
May 2007
Posts:
124
Plugin Contributions:
0

Re: Ask A Question

Zencart 156c
Installed aaq 2.2

The back button of the AAQ form is directed to Page Not Found.

<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div> 

The Code
is the same for tpl_ask_a_question_default.php and tpl_contact_us_default.php
The back Button for Contact us is working.

Any Help would be appreciated
Stay Safe

28 May 2020, 11:38 PM
#383
mikebr avatar

mikebr

Zen Follower

Join Date:
May 2007
Posts:
124
Plugin Contributions:
0

Re: Ask A Question

Solved
added

$_SESSION['navigation']->remove_current_page();  // Remove page from navigation history

to
page_not_found/header_php.php

29 May 2020, 4:33 AM
#384
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Ask A Question

mikebr:

Solved
added

$_SESSION['navigation']->remove_current_page(); // Remove page from navigation history

> to
> page_not_found/header_php.php

Why... back links are based on the page you came from, Link to your site would help, more info on how the page was linked so on... I'm not having any strange things with AAQ, and looking at 2.2 I'm not that far off from where I'm at to give me any hints.

Dave
Always forward thinking... Lost my mind!

29 May 2020, 2:20 PM
#385
mikebr avatar

mikebr

Zen Follower

Join Date:
May 2007
Posts:
124
Plugin Contributions:
0

Re: Ask A Question

You'r right
After further testing The same was happening to 'Contact Us'
The only thing that was added to both the AAQ and CU was the Zen non CAPTURE mod.
This must be the culprit
Before I deleted the 400 error page as the redirection, selecting the back button of either AAQ or CU directed the user to the 'No page found'. Then oddly enough when selecting the back button again of the 'Page Not found' the user is returned to the original and correct web page.
Thanx
mike

30 May 2020, 12:01 AM
#386
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Ask A Question

mikebr:

You'r right
After further testing The same was happening to 'Contact Us'
The only thing that was added to both the AAQ and CU was the Zen non CAPTURE mod.
This must be the culprit
Before I deleted the 400 error page as the redirection, selecting the back button of either AAQ or CU directed the user to the 'No page found'. Then oddly enough when selecting the back button again of the 'Page Not found' the user is returned to the original and correct web page.
Thanx
mike

Still not seeing any problems if you are referring to nonCAPTCHA, Would need more hints! Did you modify anything in functions_general.php or kill any sessions dealing with navigation or did some strange page rewrites.

Dave
Always forward thinking... Lost my mind!

30 May 2020, 1:28 PM
#387
mikebr avatar

mikebr

Zen Follower

Join Date:
May 2007
Posts:
124
Plugin Contributions:
0

Re: Ask A Question

Exactly
i am using POSM by lat9 in which functions_general.php was modified.
Do you think i should reach out to her?
thanx mike

30 May 2020, 1:59 PM
#388
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Ask A Question

mikebr:

Exactly
i am using POSM by lat9 in which functions_general.php was modified.
Do you think i should reach out to her?
thanx mike

FWIW, ***POSM ***requires no change to the storefront's functions_general.php. It does require some additional notifications added to the admin's /includes/functions/general.php, though.

30 May 2020, 2:50 PM
#389
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Ask A Question

mikebr:

Exactly
i am using POSM by lat9 in which functions_general.php was modified.
Do you think i should reach out to her?
thanx mike

It's not an issue with any mods or ZC! this kind of like taking pot shots at a possum that keeps playing dead... back links are created by getting the HTTP_REFERER from your browser, so if your browser or rewrites or site is doing something to spoof where you are coming from, then back links well fail... thus the request for a link..

Dave
Always forward thinking... Lost my mind!

8 Mar 2021, 8:48 PM
#390
swguy avatar

swguy

Administrator

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

Re: Ask A Question

Zen Cart 1.5.7 comes with AAQ built in, but remember to update your template file for the product page (e.g. tpl_product_info_display.php) to use the parameter "pid" instead of "products_id" when calling AAQ.

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.

26 Mar 2021, 5:45 PM
#391
beepud avatar

beepud

New Zenner

Join Date:
Apr 2020
Location:
Scotland
Posts:
29
Plugin Contributions:
0

Re: Ask A Question

swguy:

Zen Cart 1.5.7 comes with AAQ built in

Hi,
Can you tell me how I turn this on or off on 1.5.7?
Thanks

27 Mar 2021, 1:53 AM
#392
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Ask A Question

BeePud:

Hi,
Can you tell me how I turn this on or off on 1.5.7?
Thanks

https://docs.zen-cart.com/user/admin_pages/catalog/product_types_edit_layout/
Change the setting for: Show "Ask a Question" button

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Sep 2023, 11:23 AM
#393
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: Ask A Question

Hi All,

Have an issue with one part link below allowing Ask a Question screen to come up but others not working and would assume that it would have to be a database issue.
https://www.outdoorking.com/engines/kawasaki-engines-spare-parts/kawasaki-engine-spare-parts/kawasaki-engine-air-filters-air-filter-spare-parts/air-filter-combo-11029-7023-100-018

another part on eth same page will not load the Ask a Question. This was installed by someone else and as usual I am thinking is was done incorrectly as I have not touched the back end till now.

This is one other product that is not working.
https://www.outdoorking.com/clearance-items/bs-tecumseh-pre-filter-271962-35404-air3994?cPath=1796_1797_1819&&zenid=cmn3fsvroajkdbmvded3vd6pn7

Any asistance would be great because I have spent a quite a few dollars getting other people to do things and most of the time I get other issues when they fimnish.

Outdoorking
Live Site https://www.outdoorking.com.au

17 Sep 2023, 2:13 PM
#394
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Ask A Question

From what I can 'see', it's not the ask-a-question handling, it's whatever URL mangler you're using that isn't sending the item's products_id in some situations.

It kind-of looks like one of those 'situations' is when the zenid is appended to the URL, like in your last example.

17 Sep 2023, 10:03 PM
#395
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: Ask A Question

lat9:

From what I can 'see', it's not the ask-a-question handling, it's whatever URL mangler you're using that isn't sending the item's products_id in some situations.

It kind-of looks like one of those 'situations' is when the zenid is appended to the URL, like in your last example.

This is the programe that is being used is and the same person installed both modules

Ceon URI Mappings Manager

Can it be corrected so that Ask a Question works correctly?

I am not very happy on what the person has done the on the site and it appear to be very messy and hard to correct what he has done.

Outdoorking
Live Site https://www.outdoorking.com.au

17 Sep 2023, 11:22 PM
#396
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Re: Ask A Question

It looks like the Ask a qurestion module is now working as it should thanks to DrByte information supplied.

Thanks again for your assistance with my site issues it is greatly appreciated.

Outdoorking
Live Site https://www.outdoorking.com.au

22 Feb 2024, 4:31 PM
#397
mikeel100 avatar

mikeel100

Zen Follower

Join Date:
Sep 2012
Location:
West Jefferson, NC
Posts:
391
Plugin Contributions:
0

Re: Ask A Question

Ask a Question and Contact Us template files are nearly identical.

Why not de-bloat the Zen Cart package and merge these two files into one?

Just a suggestion.

24 Feb 2024, 2:31 AM
#399
mikeel100 avatar

mikeel100

Zen Follower

Join Date:
Sep 2012
Location:
West Jefferson, NC
Posts:
391
Plugin Contributions:
0

Re: Ask A Question

torvista:

https://github.com/zencart/zencart/issues/6143

Thanks.

I made a similar option called Make An Offer and did not have to make a separate tpl file. It works off of the contact us form. Maybe I'll post it when I get done updating my cart to 1.5.8a.