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