Pagesetter » Enhanced multilist and Cat Browser

Information

Hi pagesetter team

First, this two Plugins makes pagesetter much more usfull as it is allready, thanks!

For my needs, I enhanced it pretty much.

Changes:

multilist:

  • Multilanguage Support (Standart in ps, if fieldname starts with _, then the name will translated with lang defines
  • Bugfix: function getFilterSQL not worked
  • Bugfix: Typos (the plugin did not worked with pagesetter 6.3.0 Beta 5 due to at least 3 bugs)

 

cat brower:

  • Multi Select. Means you can select different Cat Entries, wich builds then an "AND" filter. For sure, you can also deselect Categories again.
  • Multilist Plugin support. Means you can now browse normal Categories and multilist fields as well (automatic dedection)
  • Multilanguage Support (Standart in ps, if fieldname starts with _, then the name will translated with lang define
  • Code clean up and more performance.
  • No more need of the two Plugins create filter and count (was only one line of code needed from this plugins)
  • multilistdecode call now possible without a section loop in template.

    Code

    <!--[pagesetter_multilistdecode field="ML" br=0 value=$ML ]-->

    new parameter br added
  • Documentation added

credits: Marco

Download

Download document

Commentaren

Thilo
05 mrt 2008

I don't find the documentation in the download

thesubmitter
12 mrt 2008

You just put the files in your pagesetter folder.

Please note the following fix which makes it so you don't have 2 choices in the same field chosen at the same time (which in the case of categories means no results will show up)

after line 153 ($filter_new = '')

add the following:

elseif ( strtok($value,'^') == strtok($filter_value,'^'))

$value = '';

Thilo
01 apr 2008

I have been able to create multilists and decode them in the template, and get the cat browser running. What I don't find is a list-selector (like "function.pagesetter_listSelector.php") to choose options in multiple filters. Does this exist?

Alleen ingelogde gebruikers kunnen commentaar plaatsen Inloggen / aanmelden