close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

'back' button query

Thread began 1/21/2014 9:21 am by Jamie | Last modified 1/22/2014 2:44 pm by Jamie | 443 views | 5 replies

Jamie

'back' button query

Hey Jason

Am just retrofitting a site to use eCart and have a couple of questions:

Question 1.
I have the following front end pages set up:

sections.php which displays the categories

which clicks through to

products.php which displays the list products from the category selected in sections.php which I have filtered using an inner join on ProductCategoryID (from products) and CategoryID from productcategories

which clicks through to

product-detail.php which displays individual product details.

My query is, on the product-detail.php page if I create a 'back' button like this

<a href="javascript: history.go(-1)"><< back</a>

if I add something to the cart on this page and then click back, it goes back on the page itself.. I would need to click back twice to get to the products.php page


Question 2.
On the products.php page I have added several 'if' statements and want to add another one based on whether or not the 'Live' column in the database is checked (ie to not display products that have been marked as invisible) The problem is that if the first record is unchecked but the second record isnt, it still shows the 'if' statement.

I hope that this makes sense?

Cheers

Jamie

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