Package: collective.flexitopic
IntroductionFlexitopic integrates the easy use of plone collections with aFlexigridAJAX view. The criteria from the topic are taken to construct a simple
query form to narrow down a search inside a collection. Subtopics are
displayed inside tabs of the (old style) collection.
It works with new (plone.app.collection.Collection) and
old (Products.ATContentTypes.ATTopic) style collectionsFlexitopic does not install a new content type but just adds an additional view to the collection type.it degrades for non javascript browsers to a simple table - (almost) same usability, no information loss.it requires JQuery only (built into plone 4) no JQuery UIlightweight JSFlexigrid: 27 KB packedJSlider: 22 KB packedUsageAdd a collection. Criteria of the collection will be used to build
a form to narrow down your search inside the collection. If the criterion (the
index in portal_catalog) is sortable you can sort this column. Not all criteria
types can be used as input for Flexi-collection so beware.Search FormSearch Textfull text search inside the collections. If you leave the
criterion value empty users can search for content containing that text, if
the value is not empty it will search for this text plus the text the user
supplied.Titlesearch or sort by title (see above)Descriptionsearch description only (search see above, no sorting here!)Dates (effective, created, …)will be converted to date ranges and can be selected with the JQueryJSliderPluginLocation (path index)will not be displayed in the search form and always be applied to the queryKeyword Indices (like tags)a drop down list will be generated to narrow the search downif the criterion operator is AND the list will contain all unique
values of the index minus the ones you selected, the query will search
for all terms that match your criteria plus the user input (old style
ciolletions only)if the criterion is OR the terms you selected will be display in the
selection list. The search will be for the user supplied input only.
This is the behaviour for new style collections.The output is always a table with the fields you supplied in theTable Columnsof the collection, no matter ifDisplay as Tableis checked or not.Subtopics (old style collections only)Flexitopic will display subtopics as tabs on top of the page. The first
tab is the description of the topic, subtopics will occupy the following
tabs. Subtopics will always be displayed as (plain html) tables defined
by the criteria,Table Columnsand theNumber of Itemsof the
subtopic.PortletsYou can display Topics and Collections in a Flexitopic portlet.
The Portlet is mainly meant to be used with products that let you
dispay portlets inside the content area such asContentWellPortletsorPortletPagesbut it may be usefull as a ‘real’ portlet in edge cases
as well.InstallationThis addon can be installed has any other addons, please follow officialdocumentation.Add to buildouts configuration[buildout]
...
eggs =
    collective.flexitopicRe-run buildout, e.g. with$ ./bin/buildoutRestart Plone and activate the product in Plones Add-on configuration
section.ParticipationCode repositoryhttps://github.com/collective/collective.flexitopic/Questions and commentsmailto:product-developers@lists.plone.orgBug Reportshttps://github.com/collective/collective.flexitopic/issuesChangelog0.7.1 (2014-08-28)update to latest flexigrid javascript [jean]0.7 (2013/12/04)add flexitopic portletuse one table for flexigrid + search resuts table - no more noscript tag0.6.2 (2013/09/06)use UID instead of getId for a cells id (fixes cell misalignments)0.6.1 (2013/09/05)do not cache results (persistent objects cannot be cached)0.6 (2013/09/05)move bodytext above searchformuse_view_actionsupgrade js registrydo not use description as html attribute title on Titlebug fixescache search results0.5 (2013/08/30)support for plone.app.collectionadd caching0.4 (2011/12/06)make date columns smallerremove minimize button from table0.3 (2011/06/17)plone 4.1 compatibleupgrade flexigrid to ver 1.10.2 (2011/04/05)do not display review state in searchformsplit monolithic flexitopic_view into several viewletsget items per page out of topicrender html table into a noscript area, flexigrid into an empty table0.1 (2011/01/27)First public releaseAdd slider to query for date rangesCaching for expensive catalog queries0.1dev (unreleased)Initial releaseFlexigrid to display search resultsGenerate search form from collection criteria