close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

DataAssist Blog Categories.

Thread began 6/17/2014 8:31 am by Kumel | Last modified 6/17/2014 12:33 pm by Jason Byrnes | 2865 views | 10 replies |

Kumel

DataAssist Blog Categories.

I have created a blog using DataAssist.
Now under this blog i want 4 options like where in under which category it must go to. ie four categories are: news , press, blog , & events.
So can you tell me how can this be done?

Sign in to reply to this post

Jason ByrnesWebAssist

add a column to the blog table for the category.

Sign in to reply to this post

Kumel

Then how to filter as per category?

Sign in to reply to this post

Jason ByrnesWebAssist

In the recordset that returns the blogs, add a where clause to filter by the category column.

Sign in to reply to this post

Kumel

Do you have any tutorial or document file for this ? I m not able to understand so.

Sign in to reply to this post

Jason ByrnesWebAssist

see this one:

http://www.webassist.com/tutorials/Getting-started-with-MySQL-and-dynamic-websites

Sign in to reply to this post

Kumel

well i got this categorised thing done.
Now i have 4 different categories ie: events, blogs, press & news.

Now may i know how can i display all of these 4 categories in 1 page?

Each category must display 3 of its records.

Sign in to reply to this post

Jason ByrnesWebAssist

create 4 recordsets, one to return each category, when you add each of the repeat regions set it to only return 3 records.

Sign in to reply to this post

Kumel

well i did that.
Records are displaying fine. but below it show this error:

Notice: Undefined variable: startRow_RecordsetEvents in /Applications/XAMPP/xamppfiles/htdocs/nextgen/news-events-blog-press.php on line 322
1 to
Notice: Undefined variable: maxRows_RecordsetEvents in /Applications/XAMPP/xamppfiles/htdocs/nextgen/news-events-blog-press.php on line 322

Notice: Undefined variable: startRow_RecordsetEvents in /Applications/XAMPP/xamppfiles/htdocs/nextgen/news-events-blog-press.php on line 322
0 of 1

Notice: Undefined variable: pageNum_RecordsetEvents in /Applications/XAMPP/xamppfiles/htdocs/nextgen/news-events-blog-press.php on line 327

Notice: Undefined variable: pageNum_RecordsetEvents in /Applications/XAMPP/xamppfiles/htdocs/nextgen/news-events-blog-press.php on line 332

Notice: Undefined variable: totalPages_RecordsetEvents in /Applications/XAMPP/xamppfiles/htdocs/nextgen/news-events-blog-press.php on line 337

Notice: Undefined variable: pageNum_RecordsetEvents in /Applications/XAMPP/xamppfiles/htdocs/nextgen/news-events-blog-press.php on line 337

Notice: Undefined variable: totalPages_RecordsetEvents in /Applications/XAMPP/xamppfiles/htdocs/nextgen/news-events-blog-press.php on line 342

Notice: Undefined variable: pageNum_RecordsetEvents in /Applications/XAMPP/xamppfiles/htdocs/nextgen/news-events-blog-press.php on line 342

Attached Files
news-events-blog-press.php
Sign in to reply to this post

Kumel

well its solved. it was cause of repeat region.

Thank You

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