close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

DataAssist Help Required: Filtering via two recordsets

Thread began 9/25/2010 4:28 am by neilo | Last modified 9/27/2010 8:55 am by neilo | 3226 views | 13 replies

neilo

Hi Craig and Dave,

Many thanks for your input on this. I have php code blindness - I have honestly tried, but I have let David Powers down dreadfully.

The site in question is www.buffalogals.co.uk - a band site that required an integrated wordpress blog (somewhat disguised). On the home page, there are two 'Quick List' sections, which both draw detail summaries from the databases.

The lower one (Latest Posts) is the one I am referring to regarding the problem. It works fine in itself, - if you click the title of a recent post (ordered by date descending) then the full detals are pulled in to the left of the screen on a detail page. So far so good.

However, I would like for the Home Page to always display the latest post created in Wordpress, but only if it has been listed under the category (slug) of 'site-news-item'. This is so that the owner of the site can choose to have a post appear in the lower-left section of the Home Page as a 'News Item', and still post others under different categories that won't appear on the Home page.

At the moment I can have the latest post appear there, but the latest post will appear regardless of what category it is listed under, as the categories/slugs are defined in a second wordpress table/recordset.

As the tables are heavily integrated with the way that wordpress works, I wouldn't know how to go about integrating them, and wouldn't want to try!

Dave - is this the sort of thing that 'SimplePie' does for you?

I'd appreciate any further guidance either of you can provide, I will pay for time if necessary.

Many thanks.

P.S - Dave - have been looking at your sites portfolio - fabulous design work.

P.P.S - Cheers Craig - yes the second record-set (Recordset2 - the one that contains the categories) is filtered by 'slug' (column name) value = 'site-news-item'

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