This project is read-only.

How to use Custom Layout Chooser Ad-on

Topics: Developer Forum
Apr 14, 2009 at 6:19 AM

I have to change the Layout of the page, for that i downloaded Custom layout chooser ad-on and added to my site.
How can i add my templates.
Apr 14, 2009 at 6:09 PM
Please pay attention to addon description in addon section of N2 portal.
You should create some specefic folders and put into them *.master files (every Master file is template).
Path to your templates depends on theme choosed, I mean that if you choose N2Plain theme the path to templates will be /CustomTemplates/N2Plain/*.*.

Apr 30, 2009 at 11:39 AM

Can you add source code to the project?

Feb 1, 2010 at 1:17 AM

After trying like crazy to get this working, I used to figure out why it couldn't pick up any master pages in the post that mentions /CustomTemplates directory. After peering through the dll with reflecter I realised that the masterpage template need to be in a directory of ~/CustomLayouts/appthemename/something.Master.

I believe that the string matches are case sensitive so you'll want to use .Master for the extension.

Hope this saves someone the aggravation I had.