close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Bug Data Bridge pageNum

Thread began 5/05/2021 3:03 am by Jonas | Last modified 5/06/2021 8:14 am by Ray Borduin | 235 views | 3 replies |

Jonas

Bug Data Bridge pageNum

Explanation
I have created a detail page and results page through data bridge (latest version). This is a simple test. The results page has the layout type: Public. The only thing that is connected to the database is the title. I have chosen to link the title so you can choose to either press it or use the magnifying glass symbol to get to the detail page. Two pages are displayed with 20 repeats.

The problem
When you get to the detail page and then press "Back To Results", the product and the page it is on should be displayed on the results page. This works exactly as it should if you press the magnifying glass symbol. But something strange happens in the link. It is not generated correctly. The title text starts with "& pageNum _..." and does not work properly. That is, it does not go back to the correct page on the results page.

The reason I use DataAssist for this is to create code that I know is coded correctly. But if it is a bug, then of course this is not good.

Sign in to reply to this post

Ray BorduinWebAssist

Have you already fixed this? I tested the page and it seems to be working correctly.

I see... I had to browse to the second page of results to see the issue.

I think you can just remove this code on line 159 of the results page:

php:
<?php echo(isset($_GET["pageNum_WADAbucBuckets"])?"&pageNum_WADAbucBuckets=".intval($_GET["pageNum_WADAbucBuckets"]):""); ?>



Technically I think that code should be part of the link instead of displayed. So this:

php:
<a href="buckets_detail.php?buc_id=<?php echo($WADAbucBuckets->getColumnVal("buc_id")); ?>" ><?php echo(isset($_GET["pageNum_WADAbucBuckets"])?"&pageNum_WADAbucBuckets=".intval($_GET["pageNum_WADAbucBuckets"]):""); ?>

<?php 
echo($WADAbucBuckets->getColumnVal("buc_name")); ?></a>



Should be:

php:
<a href="buckets_detail.php?buc_id=<?php echo($WADAbucBuckets->getColumnVal("buc_id")); ?><?php echo(isset($_GET["pageNum_WADAbucBuckets"])?"&pageNum_WADAbucBuckets=".intval($_GET["pageNum_WADAbucBuckets"]):""); ?>" >

<?php echo($WADAbucBuckets->getColumnVal("buc_name")); ?></a>
Sign in to reply to this post
Did this help? Tips are appreciated...

Jonas

Thanks Ray, it works. One question: Was there a bug in DataAssist? Have you been able to reproduce the problem? It would be good to know if this problem will occur every time I use DataAssist?

Sign in to reply to this post

Ray BorduinWebAssist

It looks like DataAssist is putting that code in the wrong spot when you add a link through the wizard. I'll have to take a look and get it resolved in an upcoming build.

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

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