Fork me on GitHub

Postcalendar and sort values  Bottom

  • Is it possible to use the sort values from the system categories to sort the postcalendar events?

    I think, I have to screw here in the template:

    Code

    <!--[ pc_sort_events var="S_EVENTS" sort="catname" order="asc" value=$A_EVENTS ]-->
  • You can look inthepluginto see sorting options available, but I'm not sure what you are seeking to do. I doubt this is currently available.
  • Hi Craigh,

    yes, I have seen it in the plugin, there is the possibility to select "category" as a value for "sort". But this will sort the category by the name of the category (asc or desc).

    My wish is, to use the sort_value from the Categories-Modul, so I can give a non alphabetical sorting by given numbers (sort_values)

    BTW.: zikula 1.2.8 and Postcalendar 6.2.2 on a german site
  • I'm afraid that would take some significant custom coding. I haven't ducked my head into PC in so long, I can't easily answer your question. You would have to create additional sort functions within the plugin, add parameters for the type of sorting, then find what the sort_value array index is called and work with that.I'm afraid thats about all the help I can be at the moment. sorry.
  • OK, thank you - I'll try.

This list is based on users active over the last 60 minutes.