Novactive / NovaeZSEOBundle

Novactive eZ Publish and Platform SEO Bundle
MIT License
25 stars 57 forks source link

Default links location from paramater #86

Closed wizhippo closed 4 years ago

wizhippo commented 6 years ago

The ability to specify the href location id in a default_link as an parameter should be supported. This would help multi-site setup and being able to globally define the href to the default location id.

Plopix commented 4 years ago

This is an old issue @wizhippo, I have just tried and that worked.

nova_ezseo:
    system:
        default:
            sitemap_includes:
                locations:
                    - '%testid%'
                    - 5
            default_links:
                Index:
                    href: { location_id: 2 }
                    title: 'Home'
                Plop:
                    href: { location_id: '%testid%' }
                    title: 'Plop TEST'

do you recall what you wanted to achieve?

Closing for now (but we can reopen)