asp.net - Add a custom class to a pipeline using a .config and patch attribute -
i want line
<processor type="estate.packages.modificationdate.setmodificationdate, estate.packages" />
beneath
<processor type="sitecore.pipelines.httprequest.executerequest, sitecore.kernel" />
in web.config. tried adding .config file in app_config/include folder website.
<configuration http://www.sitecore.net/xmlconfig/"> <sitecore> <pipelines> <httprequestbegin> <processor x:after="*[@type='sitecore.pipelines.httprequest.itemresolver, sitecore.kernel']" type="sitecore.packages.modificationdate.setmodificationdate, sitecore.packages" /> </httprequestbegin> </pipelines> </sitecore> </configuration>
however, ain't working. if add line in web.config beneath executerequest pipeline working correctly. when use .config file nothing happens. (no error message either) got clue of i'm doing wrong?
i suggest have @ show config tool (browse http://yoursite/sitecore/admin/showconfig.aspx). shows final merged sitecore configuration including pluggable configs out there. @ least, give clue whether injection in right place , in right format. later on can play value of x:after
attribute find out what's wrong there.
from see, mention you'd place processor under executerequest
, code references itemresolver
instead...
Comments
Post a Comment