Saurabh Jain Posted November 21, 2017 Share Posted November 21, 2017 I have posted say 100 articles / posts in database It shows.. published on this date and by author I want to remove both the fields from page template.... Please suggest how this can be done Link to comment Share on other sites More sharing options...
Saurabh Jain Posted November 22, 2017 Author Share Posted November 22, 2017 possible? Link to comment Share on other sites More sharing options...
Heosforo Posted November 22, 2017 Share Posted November 22, 2017 Display template maybe? Acp -> Page templates -> Display -> record Remove this: <div class='ipsPhotoPanel ipsPhotoPanel_tiny ipsClearfix ipsSpacer_bottom'> {template="userPhoto" app="core" group="global" params="$record->author(), 'tiny', $record->warningRef()"} <div> <p class='ipsType_reset ipsType_large ipsType_blendLinks'> {lang="content_record_started_by" htmlsprintf="$record->author()->link()"} {{if $record->editLine()}} <span class='ipsType_light ipsType_medium ipsType_reset'> ({lang="edited_lc"}) </span> {{endif}} </p> <ul class='ipsList_inline'> <li>{datetime="$record->record_publish_date"}</li> {{foreach $record->customFieldsForDisplay('display_top') as $fieldId => $fieldValue}} {{if $fieldValue}} {$fieldValue|raw} {{endif}} {{endforeach}} </ul> </div> </div> Screenshot Link to comment Share on other sites More sharing options...
Angel Costa Posted December 1, 2017 Share Posted December 1, 2017 @Heosforo Would this affect all databases? Link to comment Share on other sites More sharing options...
Heosforo Posted December 1, 2017 Share Posted December 1, 2017 1 hour ago, Angel Costa said: @Heosforo Would this affect all databases? If you want. Each template can be assigned to a different database (optional) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.