On Mon, Feb 23, 2009 at 11:40 AM, Emmanouil Batsis (Manos)
<[email protected]> wrote:
> Dave wrote:
>>
>> I would much prefer to see this feature implemented like so:
>>
>> 1) add a new Global Entry Management page, like the existing Global
>> Comment Management page, to the Server Admin section of the UI.
>>
>> 2) In that new page, an admin user would be able to set and unset the
>> Pinned to Main flag for any entry by setting a check box.
>>
>> 3) Add a new argument to the getWeblogEntriesPinnedToMain() method so
>> that a tag can be specified when querying for pinned entries. Do the
>> same thing for the corresponding method in the SiteModel.
>>
>> With this approach, a site administrator could setup a front-page blog
>> with different sections for "featured" entries and each section would
>> be assigned a tag.
>
> Can you please provide an example of the new method signature and it's
> behavior? E.g. will it only return a set of the most recent entry per tag?

Right. The signature would be:

   List getWeblogEntriesPinnedToMain(String tag, int count)

And it would return only entries that match the specified tag.

- Dave

Reply via email to