zem_popup_cat documentation

Context sensitive category list (0.2)

<txp:zem_popup_cat /> creates a popup/dropdown list similar to <txp:popup type="c" />. It shows categories in a context sensitive manner. On the front page, only categories which contain active articles will be included in the list. On a section page, only categories which contain active articles from the current section will be included.

Supported attributes:

  • type – Display categories of type “article”, “link” or “image”. Default is “article”. Note that link and image categories have no association with sections.
  • section – Include only categories associated with the specified section. The form will jump to that section when the user selects an item. section=”“ will show categories from all sections, almost exactly like txp:popup.
  • default – Display this name in the list as the default (empty) selection
  • *label
  • wraptag – As per txp:popup


Hi zem,

have been installing it on RC3, it works exactly as intended (asy-category doesn’t do it on the front page) but it does send
print " section_q=$section_q n"; as a commented line at the very top of the rendered page before the doctype which breaks the layout in MSIE win

when I delete this line of code in the plugin it seems to still be ok though. being a php illiterate this is probably a wrong move, any idea on how to solve this ?

— mickael T    May 1, 11:57 pm    #

Zem,

I just wanna say I think this is a great plugin, but I was wondering if there were a “this_section” sort of possiblity with it like <txp:popup /> has.
I basically need to display section specific categories in a dropdown, and have them stay whithin that section when selected.

As of now when I try zem_popup_cat…it directs to the default page.

Any help would be greatly appreciated. I tried everything to no avail. Thanks for your time.

— rami s.    Apr 18, 05:13 pm    #

Commenting is closed for this article.