Problem with Smart Folders and the Navigation Portlet

6 messages Options
Embed this post
Permalink
Mark Phillips () Problem with Smart Folders and the Navigation Portlet
Reply Threaded More More options
Print post
Permalink
Up to this point my client has been happy with tabs for navigation. Now they want to bring back the navigation portlet. However, all of my tabs are smart folders, so none of the underlying articles appear in the navigation portlet when a smart folder is selected.

I searched plone.org to see if anyone had a tip or howto to get the navigation portlet to display the "contents"  of a smart folder (ie the result of the catalog search performed by the smart folder) the way it displays the contents of a regular folder, but did not find anything.

Does anyone know of a patch/methodology to display the contents of a smart folder in the navigation portlet? I am using plone 2.5.

Thanks!

Mark
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
Bill Campbell-5 () Re: Problem with Smart Folders and the Navigation Portlet
Reply Threaded More More options
Print post
Permalink
On Sat, Nov 07, 2009, Mark Phillips wrote:

>Up to this point my client has been happy with tabs for navigation. Now they
>want to bring back the navigation portlet. However, all of my tabs are smart
>folders, so none of the underlying articles appear in the navigation portlet
>when a smart folder is selected.
>
>I searched plone.org to see if anyone had a tip or howto to get the
>navigation portlet to display the "contents"  of a smart folder (ie the
>result of the catalog search performed by the smart folder) the way it
>displays the contents of a regular folder, but did not find anything.
>
>Does anyone know of a patch/methodology to display the contents of a smart
>folder in the navigation portlet? I am using plone 2.5.

It sounds as though you have to go to Site Setup->Navigation and
configure it to display smart folders (I think this is CMF Topic
on Plone 2.5, but don't hold me to that :-).

Bill
--
INTERNET:   [hidden email]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186  Skype: jwccsllc (206) 855-5792

Only government can take perfectly good paper, cover it with perfectly good
ink and make the combination worthless.  -- Milton Friedman

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
David Hostetler () Re: Problem with Smart Folders and the Navigation Portlet
Reply Threaded More More options
Print post
Permalink
No, that'll just cause the smart folder objects themselves to get listed when the navigation portlet logic ecounters them.  Unless I misunderstand the original request, he wants the *results* of the smart folder's query to get proxied into the navigation portlet.

My suspicion is that you'll need a custom portlet to accomplish this -- something perhaps using the original navigation portlet as a base, and allowing you to detect when items are smart folders and you can ask those items for the result of their normal query, and embed that sublist into the normal navigation set.

Or something like that.

But I don't imagine that trying to coerce the actual navigation portlet into doing this is the right approach.


-hoss

David Hostetler
[hidden email]


On Sat, Nov 7, 2009 at 13:24, Bill Campbell <[hidden email]> wrote:
On Sat, Nov 07, 2009, Mark Phillips wrote:
>Up to this point my client has been happy with tabs for navigation. Now they
>want to bring back the navigation portlet. However, all of my tabs are smart
>folders, so none of the underlying articles appear in the navigation portlet
>when a smart folder is selected.
>
>I searched plone.org to see if anyone had a tip or howto to get the
>navigation portlet to display the "contents"  of a smart folder (ie the
>result of the catalog search performed by the smart folder) the way it
>displays the contents of a regular folder, but did not find anything.
>
>Does anyone know of a patch/methodology to display the contents of a smart
>folder in the navigation portlet? I am using plone 2.5.

It sounds as though you have to go to Site Setup->Navigation and
configure it to display smart folders (I think this is CMF Topic
on Plone 2.5, but don't hold me to that :-).

Bill
--
INTERNET:   [hidden email]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186  Skype: jwccsllc (206) 855-5792

Only government can take perfectly good paper, cover it with perfectly good
ink and make the combination worthless.  -- Milton Friedman

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
ajung () Re: Problem with Smart Folders and the Navigation Portlet
Reply Threaded More More options
Print post
Permalink
In reply to this post by Mark Phillips
The navigation portlet only works on the actual object hierarchy but not on top of
aggregated content (as exposed through a collection). In Plone 3 you could implement
your own navigation tree strategy. I am sure that you have to implement something
on your own for Plone 2.5. And I would argue that aggregated content is nothing that
belongs into a navigation tree.

-aj

Mark Phillips wrote:
Up to this point my client has been happy with tabs for navigation. Now they
want to bring back the navigation portlet. However, all of my tabs are smart
folders, so none of the underlying articles appear in the navigation portlet
when a smart folder is selected.

I searched plone.org to see if anyone had a tip or howto to get the
navigation portlet to display the "contents"  of a smart folder (ie the
result of the catalog search performed by the smart folder) the way it
displays the contents of a regular folder, but did not find anything.

Does anyone know of a patch/methodology to display the contents of a smart
folder in the navigation portlet? I am using plone 2.5.

Thanks!

Mark

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
Plone-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-users
marr () Re: Problem with Smart Folders and the Navigation Portlet
Reply Threaded More More options
Print post
Permalink
In reply to this post by Mark Phillips
Hi Mark,

If appropriate, you might consider upgrading to Plone 3.x that brings you more flexibility on how to navigate contents.

My experience is to use collections (Plone 3.x term for Plone 2.5 smart folders) as default display for a folder, and set collections not shown in the navigation tree. This way might be close to what you need.

Cheers,
/marr/


2009/11/7 Mark Phillips <[hidden email]>
Up to this point my client has been happy with tabs for navigation. Now they want to bring back the navigation portlet. However, all of my tabs are smart folders, so none of the underlying articles appear in the navigation portlet when a smart folder is selected.

I searched plone.org to see if anyone had a tip or howto to get the navigation portlet to display the "contents"  of a smart folder (ie the result of the catalog search performed by the smart folder) the way it displays the contents of a regular folder, but did not find anything.

Does anyone know of a patch/methodology to display the contents of a smart folder in the navigation portlet? I am using plone 2.5.

Thanks!

Mark

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
Mark Phillips () Re: Problem with Smart Folders and the Navigation Portlet
Reply Threaded More More options
Print post
Permalink
Everyone,
 
Thanks for your suggestions. I managed to convince the client not to display the contents of a folder in the navigation portlet, but to keep the user interaction with the site the same as before this round of changes. Up to this point, we have had tabs instead of the navigation portlet, so this issue with smart folders never surfaced. In other words, we are just moving the tabs to the navigation portlet.
 
My plan is to migrate the site to Plone 3 this summer when things are less hectic.
 
Thanks again!
 
Mark

2009/11/8 TsungWei Hu <marr.tw@gmail.com>
Hi Mark,

If appropriate, you might consider upgrading to Plone 3.x that brings you more flexibility on how to navigate contents.

My experience is to use collections (Plone 3.x term for Plone 2.5 smart folders) as default display for a folder, and set collections not shown in the navigation tree. This way might be close to what you need.

Cheers,
/marr/


2009/11/7 Mark Phillips <[hidden email]>
Up to this point my client has been happy with tabs for navigation. Now they want to bring back the navigation portlet. However, all of my tabs are smart folders, so none of the underlying articles appear in the navigation portlet when a smart folder is selected.

I searched plone.org to see if anyone had a tip or howto to get the navigation portlet to display the "contents"  of a smart folder (ie the result of the catalog search performed by the smart folder) the way it displays the contents of a regular folder, but did not find anything.

Does anyone know of a patch/methodology to display the contents of a smart folder in the navigation portlet? I am using plone 2.5.

Thanks!

Mark

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users