Closed (outdated)
Project:
Semantic Views
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2010 at 13:52 UTC
Updated:
26 Mar 2017 at 20:09 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedComment #2
Anonymous (not verified) commentedComment #3
DanH commented@adr75
One way to do it...
- Go into the "semanticviews" module folder and remove some of the line breaks in semanticviews-view-fields.tpl.php
Comment #4
DanH commentedActually, don't hack the semanticviews-view-fields.tpl.php file directly - better to override.
Override the semanticviews-view-fields.tpl.php file by copying it into your active theme folder and then remove the line breaks. You may need to clear cached data to see the changes. ( Administer > Site Configuration > Performance ---> Clear cached data )
Comment #5
jerdavisThis was causing me some grief for a couple of fields I wanted to have defined as spans and butting up against each other. For example if you have a name field and then a position field, and you want to output as such:
I ended up rewriting the semanticviews-view-fields.tpl.php in a theme level override as such:
Comment #6
henrijs.seso commentedsubscr.
Comment #7
inlikealion commentedbangpound, what would it take to get this pushed into a release? How can I help?
Comment #8
inlikealion commentedSetting status to "needs review". The above 'patch' theme override gives me much better white space and hasn't appeared to blow anything up for me, either. Can anyone more knowledgeable chime in on the quality of the above code? Does it work for anyone else?
Comment #9
milesw commentedWorks nicely for me.
Comment #10
mxmilkiib commentedworking fine for myself, thanks jerdavis
Comment #11
mxmilkiib commentedSame issue exists in 7.x. As above, converting the new template from PHP in HTML to HTML in PHP works again to remove whitespace.
Comment #12
Scyther commentedIs this still a problem with the 7.x version of this module?
Comment #13
Scyther commented