Saurabh Jain Posted November 21, 2017 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
Heosforo Posted November 22, 2017 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
Angel Costa Posted December 1, 2017 Posted December 1, 2017 @Heosforo Would this affect all databases?
Heosforo Posted December 1, 2017 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)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.