3 Posts
anpace
9 years ago
4
Topic

hi, 

i'm new about seblod, and i think it's amazing.

i have just one problem/question beacause i really can't do it.

i installed masonry template, i created a list and after i created an item menu so.

List & Search, masonry.

so in my front page it showing so:

men:

image image image image image image image

women:

image image image image image image image

children:

image image image iaage image image image

i would like to see all images, and have 4 buttons.  when you click on one of that, images change, like this:

all    men    women    children

image image image image image image image

image image image image image image image 

image image image image image image image

when you click on men button,  images change and you see only:

all    MEN    women    children

image image image image image image image

 and so on... how coul i do this?

thank you very much in advence, and really thank you for your job

André

Get a VIP membership
9 years ago
3
Level 1

Hello andradeq,

welcome on SEBLOD forum.

In the search form you can create 4 buttons with link on them.

The link must bring the user always on the same menu item, but for each button, you add search value adapted of what you search :

  • Button All : the menu item link
  • Men : the menu item link + '&genre=1'
  • Women : the menu item link + '&genre=2'
  • ....

In the search form, you hide all fields, except this 4 buttons.


Regards.

Lionel

3 Posts
anpace
9 years ago
0
Level 2

Hello Lionel,

thank you very much for your quickly answer, but i need a little help about your suggestion.

when i go in lists & search types, pop up appear with two options:

1.    What kind of items are you searching for?

and 

2.    How do you want to display these items?

what have i chose for create 4 buttons? 

do i have create 4 lists & search types with one button, or one lists & search types with 4 buttons? 

i chose table and create 4 buttons with "button: submit" and chose "task: toobox add-on process"?

i'm so sorry for bothering you, but i really can't do this i need some help.

thank you again for all

André

3 Posts
anpace
9 years ago
1
Level 2

Hello, 

i wanted to tell you what i did:

i installed masonry template, so i created a lists & search types, in the searh form i created 4 button (submit) as you told me, but i can't insert link on them, and i don't understand this part of your suggestion:

The link must bring the user always on the same menu item, but for each button, you add search value adapted of what you search :

  • Button All : the menu item link
  • Men : the menu item link + '&genre=1'
  • Women : the menu item link + '&genre=2'
  • ....

i hope you'll could help me, i need this part to finih my web site.

thank you again

André

9 years ago
0
Level 3

Hi andradeq,

for doing that you need some other product :

so in the search form, you add 4 buttons Free. For each button, you set the link on the menu Item of the search, and in the parameters "Variables custom", you add your filter.

For example, if in your search form you have a select simple "user_genre" with options :

  • Men=1
  • Women=2

for the button "Men" you add the custom variable : &user_genre=2


Regards.

Lionel

Get a VIP membership