mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 11:05:46 +02:00
IMPR: Minor social links improvements
This commit is contained in:
parent
90e1a0676e
commit
fc596b45ff
@ -58,7 +58,13 @@ class SocialExtension extends DataExtension
|
|||||||
{
|
{
|
||||||
parent::updateCMSFields($fields);
|
parent::updateCMSFields($fields);
|
||||||
|
|
||||||
|
$nwfieldsList = array_keys(self::$has_one);
|
||||||
|
foreach ($nwfieldsList as $k) {
|
||||||
|
$fields->removeByName($k.'ID');
|
||||||
|
}
|
||||||
|
|
||||||
$cfg = [
|
$cfg = [
|
||||||
|
'title_display' => false,
|
||||||
'types' => [
|
'types' => [
|
||||||
'URL',
|
'URL',
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user