close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Data Bridge - Public Pages

Thread begun 2/03/2013 10:09 am by Php | Last modified 2/05/2013 9:07 am by Jason Byrnes | 2723 views | 10 replies |

Php

Data Bridge - Public Pages

Hi,

I have just recently upgraded to data bridge, Do I get a free consultation? I didn't recieve any information in the email.

I am currently making an e-commerce site. I have created the admin pages and public pages using data assist. I need help with a few things :

1. The products table has product images which does not display on the results page and on the product details page.

2. The public pages which have been created are products_search, products_results and products_detail page. I have a menu which exists of the following categories sofas, tables, lighting etc. Would I have to create a separate products page manually to display products in each category or can I use data assist to create that?
And also would I be able to link the products page to the products_detail page created by data assist?

Thanks

Sign in to reply to this post

Php

Originally Said By: angel_16_786429569
  Hi,

I have just recently upgraded to data bridge, Do I get a free consultation? I didn't recieve any information in the email.

I am currently making an e-commerce site. I have created the admin pages and public pages using data assist. I need help with a few things :

1. The products table has product images which does not display on the results page and on the product details page.

2. The public pages which have been created are products_search, products_results and products_detail page. I have a menu which exists of the following categories sofas, tables, lighting etc. Would I have to create a separate products page manually to display products in each category or can I use data assist to create that?
And also would I be able to link the products page to the products_detail page created by data assist?

Thanks  



Hi,

I need to create this website ASAP, please can you help??

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

1) the products table should store the image names in column, then on the details page set an image tag to use the column from the recordset:

php:
<?img  src="path/to/images/<?php echo $row_recordsetName['imageColumn'?>" />




2) how do you want product categories to work? Should a product be assigned to only one category? or can it be assigned to multiple categories?

Sign in to reply to this post

Php

Thanks for replying, basically there would be multiple products in each category and then when you click on the menu for example sofas, the page should show only sofas. Once it shows sofas how would I then link that to the products details page created by data assist.

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

  basically there would be multiple products in each category  



yes, i get that, but what i need to know is whether or not a product can belong to only 1 category? or can a product belong to multiple categories.

the answer to your question will be different based on the answer you provide to this question.

Sign in to reply to this post

Php

The products can only belong to one category.

Sign in to reply to this post

Jason ByrnesWebAssist

ok, so in the products table add a categoryID column

also create a category table to define your categories:

categories:
categoryID -Primary Key
categoryName

when you run data bridge to create the products admin pages, set the category column of the products table to be a menu and use the categories table to populate it.


when you create the public product pages, include the category column in the search form, again set the category column to be a menu and use the categories table to populate it.

if you do a search for a category, you should see that the results page now uses URL variables to tell what category to show products for, use that URL in the links of your menu.

Sign in to reply to this post

Php

Image

[QUOTE=Jason Byrnes;145076]1) the products table should store the image names in column, then on the details page set an image tag to use the column from the recordset:

php:
<?img  src="path/to/images/<?php echo $row_recordsetName['imageColumn'?>" />


QUOTE]

Hi,

I copied the link like you said on the menu and it works thanks. I still have the issue with the image not being displayed. I copied the link as above (quote) but it does not show the image on the product detail page or result page.

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

the image code above was only an example, and not the exact code, you need to substitute the correct image path and the correct recordset binding,

Sign in to reply to this post

Php

I have replaced the image path and put the correct recordset binding but it does not display.

Sign in to reply to this post
loading

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