Change path of view and use UID

One remaining problem is that the view title does not use the username

Also existing user blogs will have URLs with usernames in it because we
migrated the old path aliases, but we are not yet generating new path
aliases.

Ref #56
This commit is contained in:
benjamin melançon 2019-10-03 18:18:49 -04:00
parent b8be494509
commit 67281ede61

View file

@ -226,7 +226,7 @@ display:
position: 3
display_options:
display_extenders: { }
path: blogs/%
path: blog/%
display_description: 'Blog posts listings for each user.'
relationships: { }
defaults:
@ -240,17 +240,16 @@ display:
relationship: none
group_type: group
admin_label: ''
default_action: 'not found'
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: views_url_path
title_enable: true
title: '{{ arguments.uid }}''s blog'
default_argument_type: user
default_argument_options:
provide_static_segments: '1'
segments: users
user: false
default_argument_skip_url: false
summary_options:
base_path: ''
@ -261,13 +260,11 @@ display:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: true
specify_validation: false
validate:
type: views_url_path
type: none
fail: 'not found'
validate_options:
provide_static_segments: '1'
segments: users
validate_options: { }
break_phrase: false
not: false
entity_type: node