Developer forum

Forum » Development » Dynamicweb.Content.Page question

Dynamicweb.Content.Page question

Dmitrij Jazel
Reply

Q1) What properties of Dynamicweb.Content.Page class

correspods theese: http://screencast.com/t/VGU7Mfq8pZmh?

I know you can do things like Dynamicweb.Frontend.Page page.values etc...

but I need to know regarding Dynamicweb.Content.Page

IF not possible, any way I could work arround this?

 

And Q2)

Dynamicweb.Content.Page page.TopImage looks like really usefull property.

I would like to use it.

Any way I could set an image into it in the Dynamicweb admin?


Replies

 
Nicolai Høeg Pedersen
Reply

Q1:

You need Page.Hidden and Page.Active - Hidden means you can browse the page, but it does not show in navigation ("Hide in menu") - Active=False means that you will get a 404 if you try to visit the page without being logged in ("Unpublished") - if Active=True and Hidden=False the page is "Published"

Q2:

It is a legacy property from before designs and layout. On pages where you use the old implementation model, you have a dialog where you can set that property. If you need it now, create an item for extending the page properties.

Nicolai

 

You must be logged in to post in the forum