close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to make a dynamic link?

Thread begun 7/16/2014 3:25 pm by Kumel | Last modified 7/17/2014 9:24 am by Kumel | 2075 views | 5 replies |

Kumel

How to make a dynamic link?

I have created blog pages. I have added category field in blog. Drop down menu so only few categories. Well lets say i m in blog page where all blog post are displayed from all categories.
So now if i want to view post from only a particular post how do i add dynamic link it? also a dynamic page.

Not like i create a new page & insert a WHERE rule in recordset.

Attached Files
Archive 2.zip
Sign in to reply to this post

Jason ByrnesWebAssist

What you are asking about is a master details page set.

in your master list, the list of all blogs from all categories, you would have a link that passes the blog id to the detail page.

on the detail page, the recordset would use the ID URL variable in the where clause. the database starter kit tutorial here:
http://www.webassist.com/community/tutorials/view_tutorial.php?tid=104

has an example of how to create a master detail page set.

Sign in to reply to this post

Kumel

Well attached image is a dynamic blog page where a single blog post is seen.
& if you look closer below the image you can is that particular post comes under category on MARINE.
So i want to make that particular word clickable. Every post will have different category. I have like 5-6 categories.
All field you can see is from DB. so when someone's clicks the category name (dynamic) it should show all post in that particular category.

Sign in to reply to this post

Jason ByrnesWebAssist

Yes the database starter kit tutorial will give you the information needed to create this.

Sign in to reply to this post

Jason ByrnesWebAssist

the basic concept is to create a link that passes the category ID as a URL variable

for example
categorypage.php?catID=3

then on the category page, you have a recordset that uses the catID URL variable to filter the blog posts for that category.

this is very basic recordset filtering

Sign in to reply to this post

Kumel

That was simple & easy.

Thank You :)

Sign in to reply to this post

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