opentype Posted February 16, 2016 Share Posted February 16, 2016 Feature request for @Matt Records from the Database Relashionship field were shown as comma-separated in 3.4. Pages doesn’t do that anymore and just throws out an long stream of unseparated text when multiple entries are used. And since we can only access either the record IDs or the full HTML snippet for all links, there is also no simple and clean way to add a separator, add classes to the links or anything like that. Please consider options to make this more versatile or at least behave like 3.4 so we can continue to use it as before. Link to comment Share on other sites More sharing options...
Haku2 Posted March 2, 2016 Share Posted March 2, 2016 Are there any updates on this issue or clean workarounds that anyone has come up with? Link to comment Share on other sites More sharing options...
Haku2 Posted March 12, 2016 Share Posted March 12, 2016 Hi, I'm just bumping this topic because this issue is very important to me. Any kind of word on whether this will be addressed in a future version would be greatly appreciated. Kind Regards, Haku Link to comment Share on other sites More sharing options...
opentype Posted March 24, 2016 Author Share Posted March 24, 2016 Can you squeeze in a fix for this @Matt? Link to comment Share on other sites More sharing options...
opentype Posted March 24, 2016 Author Share Posted March 24, 2016 @Haku2 Quick fix via CSS: Use the “Display Custom Format” option in the field settings of the relationship field. Add something like: {{if $formValue}} <span class="linkseparator">{$value|raw}</span> {{endif}} And in your theme’s custom.css add: .linkseparator a:after { content: ', ';} .linkseparator a:last-child:after { content: '';} Link to comment Share on other sites More sharing options...
Management Lindy Posted March 25, 2016 Management Share Posted March 25, 2016 We're going to try and do something potentially for 4.1.11 Link to comment Share on other sites More sharing options...
Haku2 Posted April 15, 2016 Share Posted April 15, 2016 On 3/24/2016 at 11:20 AM, opentype said: @Haku2 Quick fix via CSS: Use the “Display Custom Format” option in the field settings of the relationship field. Add something like: {{if $formValue}} <span class="linkseparator">{$value|raw}</span> {{endif}} And in your theme’s custom.css add: .linkseparator a:after { content: ', ';} .linkseparator a:last-child:after { content: '';} Thank you very much for this quick fix @opentype! It is still somewhat very limiting in what can be done with it without at least a few more dirty quick fixes, at least for my use cases, but it definitely provides for a much better aesthetic appearance than before. On 3/25/2016 at 0:33 AM, Lindy said: We're going to try and do something potentially for 4.1.11 Thank you @Lindy. I know this may be a bit difficult to squeeze into 4.1.11 due to other, more critical pending items (features, bugs, etc.), but I very much look forward to seeing this implemented somewhere in the next few releases of IP.Pages. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.