10 years ago
1
Topic

Hello

I tried to dynamically assign a value (in the option2 sub field) to the canonical field but didn't succeeded.

In some cases we have contents that can be displayed from several seblod lists so from different menuitems. I can't just assign the menuitem value inside the canonical field since it will depends on the content itself.

For ONE content type (let's say article) I need to attach the canonical menu item to the content (not the content type). With a before render field even if  I did succeed in modifying the option2 value of the canonical field, it had no impact on the rendered page.

any idea please ?

thanks

cyril

Get a VIP membership
10 years ago
0
Level 1

Hello

Nobody can answer this question please ? How can we dynamically modify the canonical field with a PHP script please ?

thanks

Cyril

Get a Book for SEBLOD