close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

plugin and updating

Thread began 2/21/2018 10:36 am by Jamie | Last modified 2/23/2018 4:04 pm by Ray Borduin | 373 views | 8 replies |

Jamie

plugin and updating

Hey Ray

I need to give a client the ability to create colour sets for an ecommerce installation.

Have the colour set pages colorsets_insert, _update and _results (colour_sets, ColourSetID, ColourSetName)

When you go into colorsets_update for the relevant ste, I have plugged in colors_results.php (colours, ColourID, ColourName, ColourImage and SetID) and need to filter these results by SetID which should match ColourSetID from the parent page. Then when you click on insert or update, it needs to use the SetID to insert or update into the database. The redirects and 'cancel' need to go back to the relevant colorsets_update.php page associated with that ID.

Have attached the relevant files.

Thanks

Jamie

Sign in to reply to this post

Ray BorduinWebAssist

I'm going to have to work with you directly on this. I'll need to see it in a browser to understand what is going on and debug what needs to be fixed.

Sign in to reply to this post

Jamie

ok, have manged to get this working in the main.

the only aspect I cant get to work is the redirect when deleting an entry on the plugged in page (colors_results.php)

Have set it to

$WA_redirectURL = "colorsets_update.php?ColourSetID=".($_SESSION['ColourInfo'])  ."";

however when you try to delete an entry, it redirects to

colorsets_update.php

and am unsure why it isnt incorporated in the ColourSetID

Have attached both the parent page (coloursets_update.php) and the plugged in page (colors_results.php)

Thanks

Jamie

Sign in to reply to this post

Ray BorduinWebAssist

Are you sure this is the uploaded page? It looks like it should work. I'd have to debug to see what is going on.

Sign in to reply to this post

Jamie

its definitley up. See PM

Sign in to reply to this post

Ray BorduinWebAssist

When I download that page from your live site I see:

$WA_redirectURL = "colorsets_results.php";

That page is colorsets_update.php

Sign in to reply to this post

Jamie

But the delete is on colors_results.php

Sign in to reply to this post

Ray BorduinWebAssist

OK to be honest I don't quite know what was going on, but I was able to fix it by removing the form action from the forms on the page. That causes the action to use the current page and included the url parameters. The issue wasn't with the redirect, it was the form action that was removing the url parameters before the delete took place.

Sign in to reply to this post

Jamie

gotcha many thanks Ray

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...