9 years ago
2
Topic

Hi All,

I’m new to SEBLOD and have a design problem I need to solve. I have a very complex filtering app that can set filter options in many pages, and show filter results in a number of pages across different content types. Think of this as a targeting application where the filtering options define preferences as the user browses the site, and shows results of various content types in other places.

It seems to me the easiest option is to store the filter options on the user’s session. But the two elements I need are not available. I would need:

  • A plugin that takes live values from the session for ‘List and Search Types’ forms. SEBLOD may currently do this but I’m not sure, because all examples I’ve seen involve fields on the user content type. In my case, users will not be logging in and I just want the options stored on the (anonymous) session.
  • A modification (plugin,…? not sure of the nomenclature here) to the ‘List and Search Types’ forms that will, instead of searching and listing results, store the selections on the session and forward to a configurable page.

The closest extension I have found is the Code Pack: http://www.seblod.com/products/1854 . However, there is no after rendering event to hook onto for ‘List and Search Types’ forms (I’m only interested in ‘List and Search Types’), and it’s unclear if the lifecycle of the request can be altered.

I’m fine with developing these elements if required. Before I go that route I’m looking for:

  • Any extensions that can do the above (either part) that I may have missed
  • Another way of solving this problem
  • If I have to develop these: a) The best way to structure these extensions, and b) Simple or similar extension templates that I can work from

Just FYI, I have no doubt I have the ability to develop these. But being new to SEBLOD and Joomla I’m sure I’ll make some newbie mistakes and want to minimize that. If it works out I’ll make these extension(s) available.

Any help would be appreciated!

Thanks,

-dr

Get a VIP membership
9 years ago
0
Level 1

Hello dr,

thank for your post.

You're right, it's a good feature which would have it's place in SEBLOD core.

For now, the workaround would be something like that :

  • With the plugin field code "BeforeRender" you can store search parameters in the session.
  • With a live plugin "Session" on search fields to get values from the session. but this plugin don't exist yet.

For the developement of extensions, just have look at the product developer which help you to create the good structure for the differents plugins.

Hope it will help you.

Regards.

Lionel

187 Posts
Pathos
9 years ago
0
Level 1

Hello dr,

not that i could be of great help, but it sounds like a nice feature. If you could keep us up to date on this, that would be nice.

And where i can help or test, let me know.

Greetings,

Joris

Get a VIP membership