English 中文(简体)
Umbraco——通常不同的行为,Ajax要求
原标题:Umbraco - different behaviour for usual and ajax requests
  • 时间:2012-04-21 19:32:21
  •  标签:
  • umbraco

I m 开发一个Umbraco站点,是一个“单页”——没有再上载,只需要一个jax电话。

该网站将有冰.,使用html5推动国家历史。

这里的问题是,每向服务器提出请求时,都需要根据请求的类型不同处理:正常或突然。

对于通常的要求,我需要显示其内容及其主页。

对阿贾克斯人的要求,我只需要显示内容。

我不知道如何做到这一点——路线和主页。

谁能帮助?

问题回答

你可以使用替代模板。 详情。 基本上,备选模板只是以你想要的任何形式列出内容,而没有全部的html模板,然后确保你们的日本宇宙航空研究开发机构要求使用替代模板使用这些网页。

但是,如果你与日本宇宙航空研究开发机构一道重新进行所有现场航行,而且没有上页,那么谷歌(或大部分其他搜索引擎的间谍)就能够适当地对网站进行索引(因为它们不处理 j字),而贵址的排名也很好。





相关问题
Creating custom content sections with umbraco

I m working on an umbraco website just now and one of the requirements is to have a custom section in the back end that can be used to manage publish smaller micro-sites. I have been able to create ...

MVC and Umbraco integration

I ve followed the steps from http://memoryleak.me.uk/2009/04/umbraco-and-aspnet-mvc.html and integrated MVC in Umbraco with success, but I still have a problem which is critical for me. Is there any ...

Umbraco server error after install

I downloaded umbraco and used the web platform installer. Everything went though okay and it installed SQL Express 2008 and a new directory under the default website in IIS. However when I launch the ...

XSLT, sort and group by year-date

Regarding Umbraco XSLT version 1. I have aprox. 150 news items in XML. Lets say like this (all is pseudocode until I get more familiar with this xml/xslt): <news> <data alias=date>2008-...

Open node in Umbraco programmatically

I have created a dashboard for an Umbraco site and I want to link from it to various node in the tree. From what I can tell Umbraco uses editcontent.aspx?id={thenodeid} and javascript:opencontent({...

Umbraco Back Office Membership Provider

Has anyone had any experience trying to write a custom Membership Provider for the Umbraco back office? I ve run into all sorts of trouble trying to make this happen. You can see some more details ...

热门标签