By shendric on
I'm not sure if this is the right place to ask or not, but I have the following question about Views. I have a multiple value field that I'd like to display as a list. Right now, it outputs as a series of nested divs. I can do that, but it would be much more semantic as an unordered list. Is there a way to output the values of a field in a list, like so:
<ul>
<li>Value 1</li>
<li>Value 2</li>
</ul>
If I change the tpl file for that field, I just get an <li> element around the entire thing, not each separate value. Does that make sense?
Comments
I am looking
I am looking at a modification to this too, except rather than outputting each element in li, I would like to wrap each element in a td.
So would be a single row, wide table.
Also looking to fund something like this, even if its a hack, around $200, as this is quite critical to my project.
I think this will help
I think this will help you:
Two Questions re theme_content_view_multiple_field
How do I modify the above code to generate a
element for each multiple field item?Do I have to hack the content.views.inc file or is it possible to cut and paste code into template.php and modify the code there?
Thanks
Has anyone been able to
Has anyone been able to figure this out? I need to get this working. Thanks.
Nevermind! I figured it out!
Nevermind! I figured it out!
Hi, I'm interested by your
Hi,
I'm interested by your solutions. Can you post it?
Thank you