I manage to finish the OS training course about SEBLOD and that helped me a lot. But i want to create another template for search item display. According to Template position overrides it says List items cannot be override.
But there should be a way to create your own template for Search List items. Any thoughts or suggestions.
Im trying to get the data display but it looks like the data is not coming to this
But for some reason the values are not printing. im modifying the index.php of slicked_list. Is there better way of getting this as Im sort of stuck and dont know why the data is not coming through.
$html .= '
You only need to edit index.php if you are going to make a custom template that you intend to re-use.
If I understand you correctly... you need to do a position override or a position variation (variations are reusable, in any position and so more flexible).
In Slick CSS Options which is in the 'Options - Template' area...
Unique Class Name: here you give slick a class name, ie veg
Extra Classes: here you can add extra classes to that same element ie another-veg another-veg-2
Classes for your output items: Here you can add classes to your list items ie peas carrots spinach
If you want dynamic values aded to your list items then you need to use the position 'Element-Open' and therefore 'Element-Closed'.
You could add any field in there to 'activate' the position, and then either do an html override, or use a position override or variation, apply your code (make sure you activate element-closed and add the necessary elements to close it off)
Thank you so much for taking the effort and posting this. i tried it but what I want is css class depends on each item value from the dropdown.
What i did was moved the dropdown box to hidden and took the value over and create css classes with the value. manage to get it working. there is a tricky part on this. because the values have 2 words i couldnt get that to a single string. so what i did was if its "online resource or Academic literature" im using online and academic as unique css classes.