cancel
Showing results for 
Search instead for 
Did you mean: 

Extending multiple pages at once

kamielvdz
Champ in-the-making
Champ in-the-making
I am trying to create a module where I extend the /components/navigation/collaboration-navigation webscript only for certain sites. I created my own custom /components/navigation/custom-collaboration-navigation but can only get it working for all sites at once or by specifying a component override for each page like this:

<component>
     <scope>template</scope>
     <region-id>navigation</region-id>
     <source-id>documentlibrary</source-id>
     <url>/components/navigation/custom-collaboration-navigation</url>
</component>


Is there a way to do this without overwriting the entire webscript or extending every page where the collaboration navigation webscript is used (the source-id is different for each page)?
2 REPLIES 2

scouil
Star Contributor
Star Contributor
Hi kamielvdz,

You should have a look at "evaluators".
That will allow you to render your component only according to filters of your choice, including the site name.

Regards,
Scouil

kamielvdz
Champ in-the-making
Champ in-the-making
Thx, but I am already doing this. I just want to prevent that I have to extend the same component for each page. E.g. now I have to do this component config. for a the site dashboard, documentlibrary, wiki, blog, …. I want to find a way to do this in one go.