
ross
Staff
/ Moderator

May 1, 2009, 7:43 AM
Post #4 of 6
(3702 views)
Shortcut
|
|
Re: [terryally] Options for PHP include of search queries
[In reply to]
|
Can't Post
|
|
Hi Terry. Thanks for clearing that up. I have ideas for both things you are trying to setup but it's going to start getting a little more involved so would you mind if we covered them one at a time? For the 5 articles on your front page, create a new category called "Front Page Articles" making sure it's set as hidden. You can then add any article you like to this category because you have the option of adding each article to multiple categories. You'll want to set this new category as the second one for any articles in it. IE: set News as the first category for your article and then set Front Page News as the second category. From there, you create a publish rule (set it to sort by updated date) and include that file on your home page. Does that make sense? If you set it to be ordered by last updated time, the 5 articles will always be the latest 5 you added to that new category and you won't have to worry about unselecting the older articles. Let me know what you think :). My ideas for the search query involve either an iFrame or a script we call publish cron. I look forward to hearing from you. ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting: http://www.interactivetools.com/consulting/
|