No editable field, select dropdown, no results
I followed the video tutorial step for step 4 times for Search Wizard. Not getting anything but a mess. I'll attach Search and Results Templates.
I followed the video tutorial step for step 4 times for Search Wizard. Not getting anything but a mess. I'll attach Search and Results Templates.
Please provide more details.
Which specific tutorial are you following?
What exactly do you mean by:
Not getting anything but a mess
Is it showing an error message?
How is it a mess?
looking at you pages, the results page does not have any code to output the results of the recordset.
to create the results page, add your recordset to the page, add a table with 2 rows and as many columns as you will be displaying from the recordset.
In the first row, type a label for each column.
in the second row, go to the bindings pane, expand the recordset and drag each recordset column binding to a column of the table.
With one of the second columns selected, look in the tag selector at the bottom of the Dreamweaver design window and select the TR tag, now go to the server behaviors window and click the plus button, select Repeat Region.
Thanks for speedy reply Jason. That really helps!! Here is update...
Under 'Solution Recipes' for: DataAssist
----------------------------------------------------------------------------
Using the DataAssist Search wizard (Interactive Tutorial)
02_dataassist_search.swf
----------------------------------------------------------------------------
Defining your search results (Interactive Tutorial)
04_binding_data.swf
----------------------------------------------------------------------------
I've went step by step through these tutorials with no luck.
The second one basically mirrors your directions. You do the first one and you think you have it all. (It gives you a search page and a results page, video tutorial does not elude to the necessary second video title.)
(Once finished) I get no Results in Results Page (upon using search field [I am using the WebAssist 'Blue Sky' database with the items table, items cat table etc.]), Also, No drop down Select Menu (That shows anything) and my Editable Region in, I believe what is the step 2 of the DataAssist Search Wizard is greyed out.
I go to the DataAssist Wizard with Same Page and the Editable Region shows up just fine.
Code and Error message attached. Thanks!
you have not set the catsearch select list to have any options.
on the search page, select the catsaerch select list. in the property inspector, click the dynamic button and set the value to use the catID column of the rs_Categories recordset, and set the label to use the category Name column
add a static value with a blank value. Go into the code and make sure the value for the static option is set to value="":
<option value="">select a category</option>
the error you re getting is because you are adding this to a template, you should not be adding this to a template, but instead to the actual search and results pages.
If I could just get some advise as to how to produce an image from the database I would appreciate it.
Images lie in: images/detail/image.jpeg
Getting reference just not image (see attached.)
in the code, change the recordset binding that displays the file name to an image tag.
the code to display the file name will look similar to:
<?php echo $row_RecordsetName['ColumnName']; ?>
change that to:
<img src="images/detail/<?php echo $row_RecordsetName['ColumnName']; ?>" />
Tried in current tag, no luck.
It's trying to grab image, but abandons search in doing so.
Plus, like I say no image..
Thanks!
My apologies, 2nd time around did do search, thankfully.. couldn't figure out that one. Here is image path everything looks good, to me?
cd1.jpg
cd2.jpg
and so on..
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.