close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Redirect after Product Delition

Thread began 6/28/2015 6:29 pm by Kamen Nikolov | Last modified 6/29/2015 5:49 pm by Ray Borduin | 1221 views | 6 replies |

Kamen Nikolov

Redirect after Product Delition

Hi,

When I delete a product the default link is "admin/products_results.php?ProductID=" I am getting an error page saying that the page "admin/products_results.php?ProductID=XX" doesn't exist. If I remove the ?ProductID= part the links looks like that "admin/products_results.phpXX" Some how it is putting the XX (product ID) on the end of the URL.

Any way I can control and remove that?

Kamen

Sign in to reply to this post

Ray BorduinWebAssist

Can I see a copy of the delete page you are working on? I can show you how to remove it once I see the code.

Sign in to reply to this post
Did this help? Tips are appreciated...

Kamen Nikolov

How can I show you a copy of the deleted pages? I can send you the products_results.php (which I have renamed index.php) and products_details.php. Is that going to work?

Kamen

Sign in to reply to this post

Ray BorduinWebAssist

Yes, just attach the page with the delete functionality to a reply to this post.

Sign in to reply to this post
Did this help? Tips are appreciated...

Kamen Nikolov

Here they are.

As I have said before products_results.php (has been renamed to index.php so if I go http://www.somewemsite.com/admin loads the products)

Kamen

Attached Files
index.php
products_detail.php
Sign in to reply to this post

Ray BorduinWebAssist

Line 52 of products_details.php is:

$WA_redirectURL = "products_results.php?ProductID=".((isset($_POST["WADADeleteRecordID"]))?$_POST["WADADeleteRecordID"]:"") ."";

it can be updated to remove the parameter like:

$WA_redirectURL = "products_results.php";

Sign in to reply to this post
Did this help? Tips are appreciated...

Kamen Nikolov

Perfect.

Thank you.

Kamen

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...