-
- 142 Posts
This has a great set of features and I look forward to testing it out!!
-
- 36 Posts
Hi helio~
I see in the instructions you have a &cssStyle parameter. Where do I need to put the css files for it to use them?
Can I use css files for the [+tveSearchForm+] and [+tveDittoList+] placeholders?
Thanks!
-
- 2,542 Posts
Hi Krypto,
for this feature I’ve borrowed some code from eForm (thx to Tobyl )
You can put your files wherever you want you, it can be a chunk, a modx document or a file
If this is a file you have to write the path (relative or absolute)
relative => assets/cssFolder/my.css
absolute=>www.mydomain/ltd/assets/cssFolder/my.css
[+tve.SearchForm+] and [+tve.DittoList+] placeholders are used to display the rendered output.
css style will be applied to them as any content in the page.
Hope that helps
:-)
-
- 1,611 Posts
I’ve started using tvEditor/tvExplorer a lot - thanks for all the work creating it!
I’ve got one issue that I haven’t been able to figure out. If I have a multi-select TV (e.g., "tags") and documents with one or more of these selected and I add a drop-down menu to the search form with a filter number of 9, the only documents that are returned are those with only that value selected (and no others). So for example if one document is tagged "Africa", "Asia", and also "Latin America" it does not show up in a search for any of these values. If it’s tagged with only one of these values, however, then it does appear in a search for that value.
I’ve tried other filter numbers, but none of those have worked either. I would’ve thought that the standard Ditto filter number 7 would work also, but nope. If I make the field a set of checkboxes, however, it does work. (EDIT: Not true. In fact I get a parse error...) Is there some conflict between the dropdown list form type and multi-select results? And if so, is there a way to work around this?
-
- 2,542 Posts
Hi Zap,
did you set the widget for this TV to delimited list with value "," ?
The 9 filter should work nicely in this case.
:-)
-
- 1,611 Posts
That was it! Thanks for setting me straight. I didn’t follow all of the directions from the beginning this time because I thought I knew what I was doing, but I skipped that one very important detail.