I have a problem which should have a simple solution, but I simply can't figure it out. Perhaps I'm overthinking it or missing some piece of information. Being new to drupal it's not unlikely at all.
I'm trying to output a list of links through a View. No matter which Format I chose (unformatted list, grid, etc.), Drupal never fails to add a comma between each link. I'm having a great deal of trouble removing this comma.
Setting a separator under Field Settings have no effect, but I guess that's only applicable if I had another list of links.
I have tried editting 'views-view-field.tpl.php' by adding the line:
<?php $field->field_associated_quicklinks->separator = ""; ?>
But it doesn't seem to work. PHP and I aren't on friendly terms, so I'm loathe to start messing too much with the scripts - unless I got some helpful tips from you guys.
All in all I'm stuck on this, and frustrated that I'm having this problem in the first place. Drupal shouldn't go around adding content to my output.
Well, after several hours and a few tufts of hair, I found this great vid: http://www.youtube.com/watch?v=sxZQqgvJk3s
I believe it's exactly what I needed to know, but I still can't make it work.
I did as prescriped:
1) Copied the field.tpl.php file, removed the comment and changed the mark-up a bit.
2) I named the file 'field--field_associated_links.tpl.php' and copied it into the templates folder of my sub-theme.
I get no reaction whatsoever. Could it be confused by the fact that my field name starts with 'field' as well?
Any and all suggestions are very welcome!