Creating A Website

Vote:
 

Hello,

How Can I create a small website using EPIServer 7.5 CMS in a few days??

Thanks in Advance.

Please Advise.

#114224
Dec 08, 2014 9:03
Vote:
 

Hello Mousa,

I would start with the Get started section here on world. Exploring the sample site should give you a good foundation to build your own website.

#114227
Dec 08, 2014 9:27
Vote:
 

Hi Petter,

Thanks a lot , I have started successfully but I have faced a problem under creating Your Project section , I haven't found "Manage NuGet Packages"  as below step.

Updating to the latest

  • Right-click on References in your project, and select "Manage NuGet Packages".

Please Advise and thanks for your propmt response.

Regards,

Mousa Gharaibeh

#114336
Dec 10, 2014 12:02
Vote:
 

Nuget is actually a Visual Studio Extension that has to be installed before you get access to the "Manage NuGet Packages" menu option.

Follow the guidelines here to install nuget in Visual Studio: http://docs.nuget.org/docs/start-here/installing-nuget

#114337
Dec 10, 2014 12:17
Vote:
 

Can you survive without NuGet? :)

#114340
Dec 10, 2014 13:52
Vote:
 

Is it needful ?

#114343
Dec 10, 2014 14:13
Vote:
 

Mousa: what Valdis means is that so much of development in general (not just EPiServer) is now using NuGet as the primary way of delivering and updating software packages.

Yes, NuGet is something you should learn if you are going to do serious development.

If you want to follow the EPiServer 7.x guides you will have to install NuGet in Visual Studio. 

Most of EPiServer's product updates are also delivered via NuGet.

#114345
Dec 10, 2014 14:20
Vote:
 
Hi,

I have completed section five in building my website , but I have faced another problem in section "Creating a start page"

5-Configure the start page by going to Admin view, Config and Manage Websites. Change the start page to the new page you just created. Going to to Edit view, you will notice a new icon in the page tree for the newly created page, which is now the start page.

Because I haven't found my website and I found these sentence on my page.

The license file "c:\users\cmsuser\documents\visual studio 2013\Projects\MyEPiServerSite\MyEPiServerSite\License.config" does not exist

Also , I have received an email with Episerver commercial License and copy paste it under my project , but still the same issue.

Please Advise.

Best Regards,

Mousa Gharaibeh
Analyst , Business Process Automation
Corporate & Technology Services
Office :  +962 6 5800936
Mobile: +962 796579097         
Email: mousa.gharaibeh@sita.aero

#114543
Dec 15, 2014 11:51
Vote:
 

Can you login in CMS Admin UI? If you copy License.config file under project's root directory - warning message is still visible?

#114550
Dec 15, 2014 12:50
Vote:
 

Yes I can , Already copy it "c:\users\cmsuser\documents\visual studio 2013\Projects\MyEPiServerSite\MyEPiServerSite\License.config"

I have noticed that my project is defined as a project not a website.

Best Regards,

Mousa Gharaibeh
Analyst , Business Process Automation
Corporate & Technology Services
Office :  +962 6 5800936
Mobile: +962 796579097          
Email: mousa.gharaibeh@sita.aero

#114558
Dec 15, 2014 14:36
Vote:
 

What do you mean by "defined as project not as website"? What type of license you picked from licensing center? Should be EPiServer 7 Developer License.

#114561
Dec 15, 2014 14:53
Vote:
 

No it's a Episerver commercial License , how can I receive EPiServer 7 Developer ? 

I can't find My Website  Under IIS.

Thanks in advance.

#114563
Dec 15, 2014 14:58
Vote:
 

a) Login into https://license.episerver.com/

b) Pick "EPiServer 7" as product and License Type as "EPiServer 7 Customer Developer License"

c) Restrict to IP or MAC address

d) Receive file in inbox and copy over to project root dir

You should be able to see it in IIS (unless you are not running in IIS Express) otherwise you wouldn't be able to access and login in the site.

#114565
Dec 15, 2014 15:25
Vote:
 

When go to Admin ,configuration ,Manange website  that there is no website to manange , and the installation is licensed for two sites message

Please help

#114656
Dec 17, 2014 11:46
Vote:
 

Can you see a buttn called 'Add Site"?

* Click on it

* Give a name that's relevant for your website

* Add a URL and select a start page. if you have not created your start page yet, you can select the root page and later update it

#114662
Dec 17, 2014 16:37
Vote:
 

what do mean by URL , I'm trying to fill it with http://localhost:58874/EPiServer , but with no luck 

when I Click on save button , got a message that The URL must end with "/" ?

Please Help

#114694
Dec 18, 2014 14:02
Vote:
 

That the URL should written http://localhost:58874/EPiServer

However the EPiServer website is usually at the root of a domain.

For example if you would browse to http://www.mywebsite.com/ to access your website, the Url should be http://www.mywebsite.com.

To access the edit interface you would browse to http://www.mywebsite.com/EPiServer but that is a seperate thing

#114695
Edited, Dec 18, 2014 14:05
Vote:
 

By the way, a URL is the "Uniform Resource Locator". The address to a page in the format http://domain.top/path-on-server

#114698
Dec 18, 2014 14:21
Vote:
 

It should working fine now , anyway I have another question under creating start page section , I can't find page folder under views folder as below 

Create a template for the start page. In your project, right-click on the folder Views > Pages and selectAdd > New Item and then Page Template. Name the item "Start.aspx".

so the name space as below ,

namespace MyEPiServerSite.Views

{
[TemplateDescriptor(Path = "~/Views/Start.aspx")]
public partial class Start : EPiServer.TemplatePage<StartPage>
{
}
}

where is the problem , how can I define it under pages under views folde? Please Advise.

#114883
Dec 29, 2014 9:39
Vote:
 

When using webforms you can actually create your template anywere in your project but for conventions they guide you to create the templates in a specific folder. Ritght click your parent-folder and create new folders. 

The same way as creating a templates.

The namespace gets the series of names from your folder-structure. 

Regarding license I sugest running the website in IIS Express, instead of full IIS, then you will not need a license.

#114887
Dec 29, 2014 22:14
Vote:
 

Thanks a lot Eric,I Think now it's working fine , for the last section "Adding website functionality"could you please provide me with a snippet or simple code , just to create and test simple website.

#114892
Dec 30, 2014 10:24
Vote:
 

Any Update?

#114905
Dec 31, 2014 7:49
Vote:
 

Hi,

When you come to section 6 you might leave the "simple website" part depending on how complex you will build your website.

Step 6: Adding website functionality

Most of the things mentioned on the page  'Adding website functionality' when building a 'simple' website is a repetition of step 5 where you create a Content Type and Template.

Those things that are not mentioned in the previous steps can be found through links through each "how to do it".
Further information on each functionality can mostly be found using Blog posts and Documentation here on EPiServer World or using Google but it's very difficult for us to give you a full "here is what you need to know" through a Forum thread.

Since most EPiServer development basically is normal .NET development against an API, having experience in .NET development is very helpful because then you don't need to learn .NET and EPiServer at the same time. Trust me, doing that is a tricky path.

Planning

This is where the deevloper or team usually plan the structure of the website such as design, site map, editor organization, languages to use.
The bullets below marked with QUESTION are the areas you need feedback from your client.

Adding website design and layout

* QUESTION: What does the design look like?

* A common way to do is to create static html pages based on the design.

Adding master pages, menus and navigation

* QUESTION: What is the site structure?

* Based on the site structure and design, Which areas are the "global layout" that should belong in the master page (WebForms) or Layout (MVC)

* You need to copy your static html into the master page/layout.

Creating additional page types/block/media types and templates

* Based on the design and site structure, what content types do we need?

* What Properties should each content type need?

* You need to copy your static html into the templates.

Setting up user groups and access rights

* QUESTION: How does the client's editor organization look like? Do they only need one editor account that can do everything or several editors with different access rights?

* Based on the editor organization you set up accounts, groups and access rights. This is done in Admin mode

Setting up globalization

* QUESTION: Which languages do we use?

* Based on the languages you set them up in Admin mode and use the Editor interface to create and translate pages in different languages.

I hope this gives you some help. It takes some time to getting comfortable in EPiServer development but so does any enterprise system development.

Again it's very difficult to say "this is what you need to know or do" since we don't know what you plan to do. EPiServer is a framework that focus alot on the editor's requirements. Hence it's so dynamic and each website needs planning and discussions with the client to know how to build the website.

#115147
Jan 10, 2015 12:10
Vote:
 

Hi Nilsson,

I understood what you wrote , but what I need is a simple website ,just run a simple code to test EPIserver environment stability , and how can we build a website on EPIserver.

Best Regards,

Mousa Gharaibeh
Analyst , Business Process Automation

#115286
Jan 13, 2015 10:26
Vote:
 

Hi Mousa,

If you just quickly want a site up to play around with I would go with the Aloy demo site that is provided by EPi. See step 1-3 in the  Get started

#115289
Jan 13, 2015 11:11
Vote:
 

Hi Petter,

I already did five steps , except last one still pending .

Regards,

Mousa Gharaibeh

#115385
Jan 14, 2015 12:11
Vote:
 

Hi Mousa,

Then I don't quite get your question to Alfs post. 

If you did 1-3 you would have an Alloy site that looks like this http://alloy75.demo.episerver.com/. That should work for your "I need is a simple website ,just run a simple code to test EPIserver environment stability". The "snippet or simple code" you are asking for should be the ones in the Alloy site.

#115392
Edited, Jan 14, 2015 13:44
Vote:
 

The easiest way to do is to use the Visual Studio AddOn, read more about it here:
http://world.episerver.com/blogs/Per-Bjurstrom/Archive/2014/5/New-version-of-Visual-Studio-extension-available/

Download it here:
https://visualstudiogallery.msdn.microsoft.com/4ad95160-e72f-4355-b53e-0994d2958d3e

It will create a site for you with nuget and all

#115397
Jan 14, 2015 14:33
Vote:
 

Hello Guys,

I have created my own website successfully , but when I am trying open it Via browser I got this error "Unable to connect"

My Address is : http://localhost:58874/ , this is my site it's not working with erro message above, but in edit mode it's working fine "http://localhost:58874/EPiServer".

Please Advise.

Regards,

Mousa Gharaibeh

#115850
Jan 20, 2015 12:59
Vote:
 

Hello Support,

Sorry for multiple replies , Now My site is working fine with no error message but the start page is a blanck page nothing is appear.is it normal .

The below code is typed in start page as below :

[ContentType(DisplayName = "StartPage", GUID = "275ca89b-eedf-43ad-82da-e0d0e83df7f3", Description = "")]
public class StartPage : PageData
{

[CultureSpecific]
[Display(
Name = "Main body",
Description = "The main body will be shown in the main content area of the page, using the XHTML-editor you can insert for example text, images and tables.",
GroupName = SystemTabNames.Content,
Order = 1)]
public virtual XhtmlString MainBody { get; set; }

}

Please Help and Advise.

Regards,

Mousa Gharaibeh

#116056
Jan 22, 2015 11:16
Vote:
 

Hi, a few things comes to my mind:

#116057
Edited, Jan 22, 2015 12:18
Vote:
 
#116063
Jan 22, 2015 13:25
* 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.