How to add a viewpage?

Apr 16, 2010 at 4:13 PM

Does any know how to add a viewpage? i need to add a gallery and would like to render a partial page.

Coordinator
Apr 16, 2010 at 7:27 PM

Hi Jakvike,

You have to add new controller, then create action in this controller and create veiw for action

For example you can create controller Gallery and action Default

Also you have to register route for your controller in Global.asax

Hope it helps.

Apr 16, 2010 at 7:33 PM
So I would have to do this from the original source code? Atomic cms is not capable, at this time, of creating a viewpage from the admin page?


-----Original Message-----
From: shapovalov
Sent: 4/16/2010 7:27:28 PM
To: [email removed]
Subject: Re: How to add a viewpage? [AtomicCms:209588]

From: shapovalov

Hi Jakvike,

You have to add new controller, then create action in this controller and create veiw for action

For example you can create controller Gallery and action Default

Also you have to register route for your controller in Global.asax

Hope it helps.

Coordinator
Apr 16, 2010 at 7:52 PM

No, you have to create it from source code. But all source code is available for download and modification

 

Apr 16, 2010 at 7:54 PM
Thank you shapovalov!


-----Original Message-----
From: shapovalov
Sent: 4/16/2010 7:52:08 PM
To: [email removed]
Subject: Re: How to add a viewpage? [AtomicCms:209588]

From: shapovalov

No, you have to create it from source code. But all source code is available for download and modification