kmk Posted September 21, 2019 Share Posted September 21, 2019 Hello guys, I purchased and try to implement the use of Template System app in my forums sections, but it seems so difficult to receive a right support, so bad, but I think that is part of ips community, and I don't have other way than posting here and hope to get some replies. 1. Is possible styling the field name? 2. Is possible make fields editable without edit the topic? Link to comment Share on other sites More sharing options...
HeadStand Posted September 22, 2019 Share Posted September 22, 2019 14 hours ago, kmk said: Hello guys, I purchased and try to implement the use of Template System app in my forums sections, but it seems so difficult to receive a right support, so bad, but I think that is part of ips community, and I don't have other way than posting here and hope to get some replies. Sorry. I've had a crazy few weeks and I'm totally behind on every single thing. It's a big big mess. I'm just catching up on a whole long list of Marketplace issues now. 14 hours ago, kmk said: 1. Is possible styling the field name? Yes. You can edit the view template and have it work any way you please. In the ACP, go to Community -> Template System -> Sets Find the set you want and choose "Manage Views" Uncheck "Use Default View Template" Click in the codebox to edit You can see in the above screenshot that you have full control over the view. You can change the code to do different things for different fields as well. Example: <div class="ipsSpacer_top"> {{foreach $data as $fieldKey => $fieldValue}} {{if $fieldValue['value'] || !$fieldValue['hide']}} {{if $fieldKey == 'fieldABC'}} <!-- CUSTOM HTML GOES HERE --> {{else}} <div class="cTemplateField"> <span class="cTemplateField_label">{{$label = 'template_' . $fieldKey . '_label';}}</span> <span class="cTemplateField_value">{$item->$label}: {$fieldValue['value']|raw}</span> </div> {{endif}} {{endif}} {{endforeach}} </div> 14 hours ago, kmk said: 2. Is possible make fields editable without edit the topic? No. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.