Try our conversational search powered by Generative AI!

Replacing "Creating New Page"

Vote:
 

I was told that it's possible to replace which page is loaded when for examle the editor click the "crate new page" button.

 This should be done somewhere in the web.config but I can't fina any information on it.

 I found a blogpost from DropIT that has done something similiar but thats for cms5 and Im using 4.62B.

 Anyone can shed some light on this?

#25182
Oct 14, 2008 16:10
Vote:
 

Hi Per,

DropIT has as you say solved this. They have added a HttpModule that goes in an alters the postback to a page showing Extension pages aswell. You could have a look at the Dropit.Extension.dll in reflector and see how they have solved it.

#25187
Oct 14, 2008 17:27
Vote:
 

If I understand you correctly you're talking about doing this in CMS 4. There is actually a function for replacing pages in the EPiServer interface with your own custom ones. This is enabled by setting the web.config value EPfEnableAlternateFiles to true and placing a page with the same name as the episerver one in a folder called edit_.

 

#25207
Oct 15, 2008 10:49
Vote:
 

That switch comes with a performance cost btw. Make sure you test it.

There is a standard asp.net 2.0 way of "redirecting" files this way. Just can't remember how and what. It is configurable in web.config.

/Steve

#25208
Oct 15, 2008 10:59
Vote:
 

thanks for the answers I will test it out.

#25230
Oct 15, 2008 15:10
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.