Johan: Ok I will try and explain more precisly.
'default.aspx' is a page template that is used on the the page type 'startsida'.
default.aspx's front end has the following code
<div class="event">
<a href="<%= Event1Link %>"><span class="row"><span class="date"><%= Event1Date %></span> <span class="time">
<%= Event1Time %></span> <span class="location"><%= Event1Place %></span> <span class="cc">
</span></span><span class="header"><%= Event1Header %></span> <span class="bread">
<%= Event1Text %><span class="more">
Läs mer</span></span></a></div>
default.aspx's back end has alot of code. Like:
public string str;public string Event1Date;public string Event1Time;public string Event1Place;public string Event1Header;public string Event1Text;public string Event1Link;
PageDataCollection myPages = new PageDataCollection();
PageReference page = CurrentPage["FirstEvent"] as PageReference;
PageData Event0 = DataFactory.Instance.GetPage(page);
PageReference page2 = CurrentPage["SecondEvent"] as PageReference;
PageData Event1 = DataFactory.Instance.GetPage(page2);
PageReference page3 = CurrentPage["ThirdEvent"] as PageReference;
PageData Event2 = DataFactory.Instance.GetPage(page3);
myPages.Add(Event0);
myPages.Add(Event1);
myPages.Add(Event2);
The pagetype 'startsida' has three propertys of the type 'sida' (page?), Iam looking in admin mode. When an editor browse to a page in EpiServer and place in the controller some text is written to the startpage of our web site.
My goal is to have the same text written to another page. The editor in EpiServer works as usual with the startpage pagetype and the content is written to both the startpage and to the other page.