Jump to content

Want to Hide Author name and date from records of database

Featured Replies

Posted

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 

  • Author

possible?

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

  • 2 weeks later...

@Heosforo Would this affect all databases?

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)

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.