Log in | Register | Lost password

Bottom
Filtering List - How to display contextual information?
  • Posted: 27.07.2004, 17:11
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hi!

    I'd like to display some information in the header of my list, depending on the filter i use on the list.

    That's what my url looks like:
    &filter=Department:like:Education,Subsection:like:Languages

    The interesting part for me is Department:like:Education

    I tried to setup the the following filter, which should show the name of the department in the list-header, but i doesn't work:

    [pnvarcleanfrominput name="filter" assign="filter"]-->

    Edcuation

    I guess it's due to the fact, that the list contains more elements.
    Any ideas, how to solve this?

    Greetings,
    Andreas



  • Posted: 27.07.2004, 18:03
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    hi,

    to get filter value try:
    $smarty.get.filter, if filter parameter is in the URL
    $smarty.post.filter, if filter parameter is passed by a form with post method
    $smarty.request.filter, if you want to use get and/or post method

    chaKal

Template courtesy of Designs By Darren.