You can display content in a template other than selected on the properties tab. On this tab you can also find a link to the page that you want to see/preview. If there are other templates under the master (eg homepage) you can also select these.
You can try without /master or change to default.aspx. In the umbraco backoffice you find a direct link on the propertys tab of the homepage node. if that fails I'm afraid I can not help further.
I don't think I satisfied that rule, But when I call "http://localhost/Master" it returns me the page.. with template similar like in my /masterpages/Master.master It can display whatever master page I have in my masterpages folder by calling the name of it...
a) the URL matches a node in the content tree * I don't have node called master
b) the URL matches one specified in the reserved folders/ reserved
paths (in the umbraco.config) Here is my reserverd Urls and paths, I don't have my masterpages there <add key="umbracoReservedUrls"
value="~/config/splashes/booting.aspx,~/install/default.aspx,~/config/splashes/noNodes.aspx,~/VSEnterpriseHelper.axd"
/>
<add key="umbracoReservedPaths" value="~/umbraco,~/install/" />
c) you have a URL rewriting rule for it I don't have URL Rewriting as well..
Any clue, why I still can access my master page by calling the name ?
Master Page also Exposed outside in the url
I just notice... when I type this "localhost\Master"
it show me the Master page.. with the home content...
Master is my templates in umbraco..
Why this happen ? is that possible to avoid this ?
Thanks
This is the way to display your content in a alternative template. It is possible on all nodes.
what does it mean by alternative template?
I don't want people to see the template.. ? How to do it...?
Thanks
You can display content in a template other than selected on the properties tab. On this tab you can also find a link to the page that you want to see/preview. If there are other templates under the master (eg homepage) you can also select these.
I can't see any preview/list of the page when I call /Master...
btw.. can my templates not expose outside ?
You can try without /master or change to default.aspx. In the umbraco backoffice you find a direct link on the propertys tab of the homepage node. if that fails I'm afraid I can not help further.
I don't want to be able to access my master page..
localhost/master... should turn.. to 404 page.. because I don't have page name or alias called Master..
It's my tempalates.. I don't want people to see it...
Anyone can help ?
Thanks
You can add custom rules to the config/UrlRewritig.config file, e.g. one that redirects /master to just '/'. That should take care of your problem.
Master much match a node URL, umbraco URL's will only send you somewhere if:
a) the URL matches a node in the content tree
b) the URL matches one specified in the reserved folders/ reserved paths (in the umbraco.config)
c) you have a URL rewriting rule for it
The .Master extension isn't served from IIS AFAIK
Hi Slace,
I don't think I satisfied that rule, But when I call "http://localhost/Master" it returns me the page.. with template similar like in my /masterpages/Master.master
It can display whatever master page I have in my masterpages folder by calling the name of it...
a) the URL matches a node in the content tree
* I don't have node called master
b) the URL matches one specified in the reserved folders/ reserved paths (in the umbraco.config)
Here is my reserverd Urls and paths, I don't have my masterpages there
<add key="umbracoReservedUrls" value="~/config/splashes/booting.aspx,~/install/default.aspx,~/config/splashes/noNodes.aspx,~/VSEnterpriseHelper.axd" />
<add key="umbracoReservedPaths" value="~/umbraco,~/install/" />
c) you have a URL rewriting rule for it
I don't have URL Rewriting as well..
Any clue, why I still can access my master page by calling the name ?
THanks
I find the answer.. just need to turn off the setting in 404Handler.config.
is working on a reply...