Channel management
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Channel management

 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server
Author Message
Dave
Guest





Posted: Mon Jan 10, 2005 10:25 pm    Post subject: Channel management Reply with quote

Hi all,

I asked a Q last week about creating like a news
application, of which I found the RSS feed generator on
Stefan's site, which I modified to suit.

I am still working in the same application, however, I am
not sure of what I need to be doing.

Let me explain...

Imagine the system is a news system. I want to have
something like...

News Items
News - Week 3.
Local News
Regional News
News - Week 2.
Local News
Regional News
News - Week 1.
Local News
Regional News

What I want to do is hand over administration of News
Items channel to someone else, without giving them admin
to everything else.

Each week, that person will create a new "News - Week x"
and the two News subchannels.

These must not be seen by site visitors, only authors,
editors and admins.

Authors can then only select a template within the Local
News and Regional News areas.

As you may see, this is an ongoing process. Once the
authors posts have been entered, they then get read by a
summary page (which is where I used the modified RSS
script from Stefan's site), which then links to the
article. The summary page is the page that will be seen
at the "Local News" or "Regional News" level.

Whew, I think that explains it in a nutshell.

Now,
1. How do I allow someone else to admin the channels? Is
there a web admin? I can't find one, but as the site
manager talks over HTTP, I would assume there is
something that the channel managers can use.
2. If there is a web admin, how should I integrate this
into the process?
3. Can I do with the channels as I am describing (only
seen by authors etc until whole thing published)?

I am sure there are other things I need to ask, but can't
think what they are at the moment.

I appreciate your responses.

Best regards,
Dave Colliver.
http://www.DoncasterFOCUS.com
Back to top
Stefan [MSFT]
Guest





Posted: Mon Jan 10, 2005 10:42 pm    Post subject: Re: Channel management Reply with quote

Hi Dave,

1) give him channel manager rights. Then you could implement custom console
actions to create new channels.
Something like this:
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=b6610912-b3b7-42ec-8430-10cc9b749c6a

2) see above

3) I don't understand this question. Could you please rephrase?

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote in message
news:17f801c4f730$fa1f1b50$a301280a@phx.gbl...
Quote:
Hi all,

I asked a Q last week about creating like a news
application, of which I found the RSS feed generator on
Stefan's site, which I modified to suit.

I am still working in the same application, however, I am
not sure of what I need to be doing.

Let me explain...

Imagine the system is a news system. I want to have
something like...

News Items
News - Week 3.
Local News
Regional News
News - Week 2.
Local News
Regional News
News - Week 1.
Local News
Regional News

What I want to do is hand over administration of News
Items channel to someone else, without giving them admin
to everything else.

Each week, that person will create a new "News - Week x"
and the two News subchannels.

These must not be seen by site visitors, only authors,
editors and admins.

Authors can then only select a template within the Local
News and Regional News areas.

As you may see, this is an ongoing process. Once the
authors posts have been entered, they then get read by a
summary page (which is where I used the modified RSS
script from Stefan's site), which then links to the
article. The summary page is the page that will be seen
at the "Local News" or "Regional News" level.

Whew, I think that explains it in a nutshell.

Now,
1. How do I allow someone else to admin the channels? Is
there a web admin? I can't find one, but as the site
manager talks over HTTP, I would assume there is
something that the channel managers can use.
2. If there is a web admin, how should I integrate this
into the process?
3. Can I do with the channels as I am describing (only
seen by authors etc until whole thing published)?

I am sure there are other things I need to ask, but can't
think what they are at the moment.

I appreciate your responses.

Best regards,
Dave Colliver.
http://www.DoncasterFOCUS.com

Back to top
Dave
Guest





Posted: Mon Jan 10, 2005 10:51 pm    Post subject: Re: Channel management Reply with quote

Hi Stefan,

Thanks for the reply.

What I meant with 3 was...
When the channel admin creates the channels, I don't want
them to be visible to visitors, except the authors. I am
thinking that when a channel is created, it is visible. I
want to restrict the visibility to everyone except people
working in the channel until the channel manager decides
to make it live.

Is that possible?

I will have a look at the link you have sent me.

Best regards,
Dave Colliver.
http://www.DorkingFOCUS.com



Quote:
-----Original Message-----
Hi Dave,

1) give him channel manager rights. Then you could
implement custom console
actions to create new channels.
Something like this:
http://www.gotdotnet.com/Community/UserSamples/Details.as
px?SampleGuid=b6610912-b3b7-42ec-8430-10cc9b749c6a

2) see above

3) I don't understand this question. Could you please
rephrase?

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote in
message
news:17f801c4f730$fa1f1b50$a301280a@phx.gbl...
Hi all,

I asked a Q last week about creating like a news
application, of which I found the RSS feed generator on
Stefan's site, which I modified to suit.

I am still working in the same application, however, I
am
not sure of what I need to be doing.

Let me explain...

Imagine the system is a news system. I want to have
something like...

News Items
News - Week 3.
Local News
Regional News
News - Week 2.
Local News
Regional News
News - Week 1.
Local News
Regional News

What I want to do is hand over administration of News
Items channel to someone else, without giving them
admin
to everything else.

Each week, that person will create a new "News - Week
x"
and the two News subchannels.

These must not be seen by site visitors, only authors,
editors and admins.

Authors can then only select a template within the
Local
News and Regional News areas.

As you may see, this is an ongoing process. Once the
authors posts have been entered, they then get read by
a
summary page (which is where I used the modified RSS
script from Stefan's site), which then links to the
article. The summary page is the page that will be seen
at the "Local News" or "Regional News" level.

Whew, I think that explains it in a nutshell.

Now,
1. How do I allow someone else to admin the channels?
Is
there a web admin? I can't find one, but as the site
manager talks over HTTP, I would assume there is
something that the channel managers can use.
2. If there is a web admin, how should I integrate this
into the process?
3. Can I do with the channels as I am describing (only
seen by authors etc until whole thing published)?

I am sure there are other things I need to ask, but
can't
think what they are at the moment.

I appreciate your responses.

Best regards,
Dave Colliver.
http://www.DoncasterFOCUS.com




.
Back to top
Stefan [MSFT]
Guest





Posted: Mon Jan 10, 2005 10:59 pm    Post subject: Re: Channel management Reply with quote

Hi Dave,

this can be easily achieved with the "hidden when published" setting.
This is available to channel managers in the Channel properties dialog.
Swtiching this setting to false will prevent the channel from being shown in
navigation controls.

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote in message
news:1b5201c4f734$948f8410$a401280a@phx.gbl...
Quote:
Hi Stefan,

Thanks for the reply.

What I meant with 3 was...
When the channel admin creates the channels, I don't want
them to be visible to visitors, except the authors. I am
thinking that when a channel is created, it is visible. I
want to restrict the visibility to everyone except people
working in the channel until the channel manager decides
to make it live.

Is that possible?

I will have a look at the link you have sent me.

Best regards,
Dave Colliver.
http://www.DorkingFOCUS.com



-----Original Message-----
Hi Dave,

1) give him channel manager rights. Then you could
implement custom console
actions to create new channels.
Something like this:
http://www.gotdotnet.com/Community/UserSamples/Details.as
px?SampleGuid=b6610912-b3b7-42ec-8430-10cc9b749c6a

2) see above

3) I don't understand this question. Could you please
rephrase?

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote in
message
news:17f801c4f730$fa1f1b50$a301280a@phx.gbl...
Hi all,

I asked a Q last week about creating like a news
application, of which I found the RSS feed generator on
Stefan's site, which I modified to suit.

I am still working in the same application, however, I
am
not sure of what I need to be doing.

Let me explain...

Imagine the system is a news system. I want to have
something like...

News Items
News - Week 3.
Local News
Regional News
News - Week 2.
Local News
Regional News
News - Week 1.
Local News
Regional News

What I want to do is hand over administration of News
Items channel to someone else, without giving them
admin
to everything else.

Each week, that person will create a new "News - Week
x"
and the two News subchannels.

These must not be seen by site visitors, only authors,
editors and admins.

Authors can then only select a template within the
Local
News and Regional News areas.

As you may see, this is an ongoing process. Once the
authors posts have been entered, they then get read by
a
summary page (which is where I used the modified RSS
script from Stefan's site), which then links to the
article. The summary page is the page that will be seen
at the "Local News" or "Regional News" level.

Whew, I think that explains it in a nutshell.

Now,
1. How do I allow someone else to admin the channels?
Is
there a web admin? I can't find one, but as the site
manager talks over HTTP, I would assume there is
something that the channel managers can use.
2. If there is a web admin, how should I integrate this
into the process?
3. Can I do with the channels as I am describing (only
seen by authors etc until whole thing published)?

I am sure there are other things I need to ask, but
can't
think what they are at the moment.

I appreciate your responses.

Best regards,
Dave Colliver.
http://www.DoncasterFOCUS.com




.
Back to top
Dave
Guest





Posted: Tue Jan 11, 2005 4:12 pm    Post subject: Re: Channel management Reply with quote

Hi Stefan,

Thanks for the pointer for the channel create routine. It
works great... I wonder why this isn't in the system by
default.

Anyway, is there a way to create a page from one of my
own templates to use as a holding page. The page won't do
anything, but it will use my current defaultconsole,
which I can use to easily create the sub channels.

In fact, is there a way to set up so that specific
channels use specific templates, so that I take as many
processes away from the user (make their job easier,
whilst keeping it consistent.)?

Thanks.
Dave Colliver.
http://www.GravesendFOCUS.com


Quote:
-----Original Message-----
Hi Dave,

this can be easily achieved with the "hidden when
published" setting.
This is available to channel managers in the Channel
properties dialog.
Swtiching this setting to false will prevent the channel
from being shown in
navigation controls.

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote in
message
news:1b5201c4f734$948f8410$a401280a@phx.gbl...
Hi Stefan,

Thanks for the reply.

What I meant with 3 was...
When the channel admin creates the channels, I don't
want
them to be visible to visitors, except the authors. I
am
thinking that when a channel is created, it is
visible. I
want to restrict the visibility to everyone except
people
working in the channel until the channel manager
decides
to make it live.

Is that possible?

I will have a look at the link you have sent me.

Best regards,
Dave Colliver.
http://www.DorkingFOCUS.com



-----Original Message-----
Hi Dave,

1) give him channel manager rights. Then you could
implement custom console
actions to create new channels.
Something like this:

http://www.gotdotnet.com/Community/UserSamples/Details.as
px?SampleGuid=b6610912-b3b7-42ec-8430-10cc9b749c6a

2) see above

3) I don't understand this question. Could you please
rephrase?

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote in
message
news:17f801c4f730$fa1f1b50$a301280a@phx.gbl...
Hi all,

I asked a Q last week about creating like a news
application, of which I found the RSS feed
generator on
Stefan's site, which I modified to suit.

I am still working in the same application,
however, I
am
not sure of what I need to be doing.

Let me explain...

Imagine the system is a news system. I want to have
something like...

News Items
News - Week 3.
Local News
Regional News
News - Week 2.
Local News
Regional News
News - Week 1.
Local News
Regional News

What I want to do is hand over administration of
News
Items channel to someone else, without giving them
admin
to everything else.

Each week, that person will create a new "News -
Week
x"
and the two News subchannels.

These must not be seen by site visitors, only
authors,
editors and admins.

Authors can then only select a template within the
Local
News and Regional News areas.

As you may see, this is an ongoing process. Once the
authors posts have been entered, they then get read
by
a
summary page (which is where I used the modified RSS
script from Stefan's site), which then links to the
article. The summary page is the page that will be
seen
at the "Local News" or "Regional News" level.

Whew, I think that explains it in a nutshell.

Now,
1. How do I allow someone else to admin the
channels?
Is
there a web admin? I can't find one, but as the site
manager talks over HTTP, I would assume there is
something that the channel managers can use.
2. If there is a web admin, how should I integrate
this
into the process?
3. Can I do with the channels as I am describing
(only
seen by authors etc until whole thing published)?

I am sure there are other things I need to ask, but
can't
think what they are at the moment.

I appreciate your responses.

Best regards,
Dave Colliver.
http://www.DoncasterFOCUS.com




.



.
Back to top
Stefan [MSFT]
Guest





Posted: Tue Jan 11, 2005 7:53 pm    Post subject: Re: Channel management Reply with quote

Hi Dave,

yes this is possible.
Send me a mail to webmaster@stefan-gossner.de and I will send you a sample.

Cheers,
Stefan


"Dave" <david@revilloc.remove.this.bit.com> wrote in message
news:1c5d01c4f7c6$032e7ca0$a301280a@phx.gbl...
Quote:
Hi Stefan,

Thanks for the pointer for the channel create routine. It
works great... I wonder why this isn't in the system by
default.

Anyway, is there a way to create a page from one of my
own templates to use as a holding page. The page won't do
anything, but it will use my current defaultconsole,
which I can use to easily create the sub channels.

In fact, is there a way to set up so that specific
channels use specific templates, so that I take as many
processes away from the user (make their job easier,
whilst keeping it consistent.)?

Thanks.
Dave Colliver.
http://www.GravesendFOCUS.com


-----Original Message-----
Hi Dave,

this can be easily achieved with the "hidden when
published" setting.
This is available to channel managers in the Channel
properties dialog.
Swtiching this setting to false will prevent the channel
from being shown in
navigation controls.

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote in
message
news:1b5201c4f734$948f8410$a401280a@phx.gbl...
Hi Stefan,

Thanks for the reply.

What I meant with 3 was...
When the channel admin creates the channels, I don't
want
them to be visible to visitors, except the authors. I
am
thinking that when a channel is created, it is
visible. I
want to restrict the visibility to everyone except
people
working in the channel until the channel manager
decides
to make it live.

Is that possible?

I will have a look at the link you have sent me.

Best regards,
Dave Colliver.
http://www.DorkingFOCUS.com



-----Original Message-----
Hi Dave,

1) give him channel manager rights. Then you could
implement custom console
actions to create new channels.
Something like this:

http://www.gotdotnet.com/Community/UserSamples/Details.as
px?SampleGuid=b6610912-b3b7-42ec-8430-10cc9b749c6a

2) see above

3) I don't understand this question. Could you please
rephrase?

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote in
message
news:17f801c4f730$fa1f1b50$a301280a@phx.gbl...
Hi all,

I asked a Q last week about creating like a news
application, of which I found the RSS feed
generator on
Stefan's site, which I modified to suit.

I am still working in the same application,
however, I
am
not sure of what I need to be doing.

Let me explain...

Imagine the system is a news system. I want to have
something like...

News Items
News - Week 3.
Local News
Regional News
News - Week 2.
Local News
Regional News
News - Week 1.
Local News
Regional News

What I want to do is hand over administration of
News
Items channel to someone else, without giving them
admin
to everything else.

Each week, that person will create a new "News -
Week
x"
and the two News subchannels.

These must not be seen by site visitors, only
authors,
editors and admins.

Authors can then only select a template within the
Local
News and Regional News areas.

As you may see, this is an ongoing process. Once the
authors posts have been entered, they then get read
by
a
summary page (which is where I used the modified RSS
script from Stefan's site), which then links to the
article. The summary page is the page that will be
seen
at the "Local News" or "Regional News" level.

Whew, I think that explains it in a nutshell.

Now,
1. How do I allow someone else to admin the
channels?
Is
there a web admin? I can't find one, but as the site
manager talks over HTTP, I would assume there is
something that the channel managers can use.
2. If there is a web admin, how should I integrate
this
into the process?
3. Can I do with the channels as I am describing
(only
seen by authors etc until whole thing published)?

I am sure there are other things I need to ask, but
can't
think what they are at the moment.

I appreciate your responses.

Best regards,
Dave Colliver.
http://www.DoncasterFOCUS.com




.



.
Back to top
Dave
Guest





Posted: Wed Jan 12, 2005 10:00 pm    Post subject: Re: Channel management Reply with quote

Hi Stefan,

I have had a look at the CreatePostingFromTemplate.cs
file. I am having a little difficulty following it.

What I am trying to do is integrate this into the
CreateChannel script you pointed me to the other day but
having a little difficulty. I want to do everything in
one go.

Taking apart your CreatePostingFromTemplate, I have
worked out that much of the work is being done with
GetAuthoringNewUrl, so I am trying to integrate that
directly.

Once the newChannel name, displayname, description,
isHidden etc is written and before the return statement,
I am trying to generate the default page. I am doing it
like this...

Microsoft.ContentManagement.WebControls.WebAuthorContext.C
urrent.GetAuthoringNewUrl((Template)
CmsHttpContext.Current.Searches.GetByPath("Fact Sheet
List"), (Channel)CmsHttpContext.Current.Searches.GetByGuid
(newChannel.Guid));

but it isn't working as I expected. (That is the whole
line).

Am I on the right lines?

The whole section is...

if(_parent!=null)
{
//create the new
channel
newChannel =
_parent.CreateChannel();

//assign the
properties
newChannel.Name =
channelName;

newChannel.DisplayName = channelDisplay;

newChannel.Description = channelDescription;


//check if
channel should be hidden
if
(channelIsHidden)
{

newChannel.IsHiddenModePublished=true;
}

//commit the
changes

_cContext.CommitAll();


// Set up the
default posting (navigation template) for this channel.

Microsoft.ContentManagement.WebControls.WebAuthorC
ontext.Current.GetAuthoringNewUrl((Template)
CmsHttpContext.Current.Searches.GetByPath("Fact Sheet
List"), (Channel)CmsHttpContext.Current.Searches.GetByGuid
(newChannel.Guid));
_cContext.CommitAll();
//return the url
for the new channel
return
newChannel.Url
+ "&WBCMODE=PresentationUnpublished&wbc_purpose=Basic";
}


Cheers.
Dave.
http://www.LincolnFOCUS.com

Quote:
-----Original Message-----
Hi Dave,

yes this is possible.
Send me a mail to webmaster@stefan-gossner.de and I will
send you a sample.

Cheers,
Stefan


"Dave" <david@revilloc.remove.this.bit.com> wrote in
message
news:1c5d01c4f7c6$032e7ca0$a301280a@phx.gbl...
Hi Stefan,

Thanks for the pointer for the channel create routine.
It
works great... I wonder why this isn't in the system by
default.

Anyway, is there a way to create a page from one of my
own templates to use as a holding page. The page won't
do
anything, but it will use my current defaultconsole,
which I can use to easily create the sub channels.

In fact, is there a way to set up so that specific
channels use specific templates, so that I take as many
processes away from the user (make their job easier,
whilst keeping it consistent.)?

Thanks.
Dave Colliver.
http://www.GravesendFOCUS.com


-----Original Message-----
Hi Dave,

this can be easily achieved with the "hidden when
published" setting.
This is available to channel managers in the Channel
properties dialog.
Swtiching this setting to false will prevent the
channel
from being shown in
navigation controls.

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote in
message
news:1b5201c4f734$948f8410$a401280a@phx.gbl...
Hi Stefan,

Thanks for the reply.

What I meant with 3 was...
When the channel admin creates the channels, I don't
want
them to be visible to visitors, except the authors.
I
am
thinking that when a channel is created, it is
visible. I
want to restrict the visibility to everyone except
people
working in the channel until the channel manager
decides
to make it live.

Is that possible?

I will have a look at the link you have sent me.

Best regards,
Dave Colliver.
http://www.DorkingFOCUS.com



-----Original Message-----
Hi Dave,

1) give him channel manager rights. Then you could
implement custom console
actions to create new channels.
Something like this:


http://www.gotdotnet.com/Community/UserSamples/Details.as
px?SampleGuid=b6610912-b3b7-42ec-8430-10cc9b749c6a

2) see above

3) I don't understand this question. Could you
please
rephrase?

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote
in
message
news:17f801c4f730$fa1f1b50$a301280a@phx.gbl...
Hi all,

I asked a Q last week about creating like a news
application, of which I found the RSS feed
generator on
Stefan's site, which I modified to suit.

I am still working in the same application,
however, I
am
not sure of what I need to be doing.

Let me explain...

Imagine the system is a news system. I want to
have
something like...

News Items
News - Week 3.
Local News
Regional News
News - Week 2.
Local News
Regional News
News - Week 1.
Local News
Regional News

What I want to do is hand over administration of
News
Items channel to someone else, without giving
them
admin
to everything else.

Each week, that person will create a new "News -
Week
x"
and the two News subchannels.

These must not be seen by site visitors, only
authors,
editors and admins.

Authors can then only select a template within
the
Local
News and Regional News areas.

As you may see, this is an ongoing process. Once
the
authors posts have been entered, they then get
read
by
a
summary page (which is where I used the modified
RSS
script from Stefan's site), which then links to
the
article. The summary page is the page that will
be
seen
at the "Local News" or "Regional News" level.

Whew, I think that explains it in a nutshell.

Now,
1. How do I allow someone else to admin the
channels?
Is
there a web admin? I can't find one, but as the
site
manager talks over HTTP, I would assume there is
something that the channel managers can use.
2. If there is a web admin, how should I
integrate
this
into the process?
3. Can I do with the channels as I am describing
(only
seen by authors etc until whole thing published)?

I am sure there are other things I need to ask,
but
can't
think what they are at the moment.

I appreciate your responses.

Best regards,
Dave Colliver.
http://www.DoncasterFOCUS.com




.



.



.
Back to top
Stefan [MSFT]
Guest





Posted: Wed Jan 12, 2005 10:18 pm    Post subject: Re: Channel management Reply with quote

Hi Dave,

actually the path you entered is wrong: "Fact Sheet List" is not a path.
A list looks like this: "/Templates/TemplateGallery/Fact Sheet List".

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote in message
news:05b101c4f8bf$e01e2350$a401280a@phx.gbl...
Quote:
Hi Stefan,

I have had a look at the CreatePostingFromTemplate.cs
file. I am having a little difficulty following it.

What I am trying to do is integrate this into the
CreateChannel script you pointed me to the other day but
having a little difficulty. I want to do everything in
one go.

Taking apart your CreatePostingFromTemplate, I have
worked out that much of the work is being done with
GetAuthoringNewUrl, so I am trying to integrate that
directly.

Once the newChannel name, displayname, description,
isHidden etc is written and before the return statement,
I am trying to generate the default page. I am doing it
like this...

Microsoft.ContentManagement.WebControls.WebAuthorContext.C
urrent.GetAuthoringNewUrl((Template)
CmsHttpContext.Current.Searches.GetByPath("Fact Sheet
List"), (Channel)CmsHttpContext.Current.Searches.GetByGuid
(newChannel.Guid));

but it isn't working as I expected. (That is the whole
line).

Am I on the right lines?

The whole section is...

if(_parent!=null)
{
//create the new
channel
newChannel =
_parent.CreateChannel();

//assign the
properties
newChannel.Name =
channelName;

newChannel.DisplayName = channelDisplay;

newChannel.Description = channelDescription;


//check if
channel should be hidden
if
(channelIsHidden)
{

newChannel.IsHiddenModePublished=true;
}

//commit the
changes

_cContext.CommitAll();


// Set up the
default posting (navigation template) for this channel.

Microsoft.ContentManagement.WebControls.WebAuthorC
ontext.Current.GetAuthoringNewUrl((Template)
CmsHttpContext.Current.Searches.GetByPath("Fact Sheet
List"), (Channel)CmsHttpContext.Current.Searches.GetByGuid
(newChannel.Guid));
_cContext.CommitAll();
//return the url
for the new channel
return
newChannel.Url
+ "&WBCMODE=PresentationUnpublished&wbc_purpose=Basic";
}


Cheers.
Dave.
http://www.LincolnFOCUS.com

-----Original Message-----
Hi Dave,

yes this is possible.
Send me a mail to webmaster@stefan-gossner.de and I will
send you a sample.

Cheers,
Stefan


"Dave" <david@revilloc.remove.this.bit.com> wrote in
message
news:1c5d01c4f7c6$032e7ca0$a301280a@phx.gbl...
Hi Stefan,

Thanks for the pointer for the channel create routine.
It
works great... I wonder why this isn't in the system by
default.

Anyway, is there a way to create a page from one of my
own templates to use as a holding page. The page won't
do
anything, but it will use my current defaultconsole,
which I can use to easily create the sub channels.

In fact, is there a way to set up so that specific
channels use specific templates, so that I take as many
processes away from the user (make their job easier,
whilst keeping it consistent.)?

Thanks.
Dave Colliver.
http://www.GravesendFOCUS.com


-----Original Message-----
Hi Dave,

this can be easily achieved with the "hidden when
published" setting.
This is available to channel managers in the Channel
properties dialog.
Swtiching this setting to false will prevent the
channel
from being shown in
navigation controls.

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote in
message
news:1b5201c4f734$948f8410$a401280a@phx.gbl...
Hi Stefan,

Thanks for the reply.

What I meant with 3 was...
When the channel admin creates the channels, I don't
want
them to be visible to visitors, except the authors.
I
am
thinking that when a channel is created, it is
visible. I
want to restrict the visibility to everyone except
people
working in the channel until the channel manager
decides
to make it live.

Is that possible?

I will have a look at the link you have sent me.

Best regards,
Dave Colliver.
http://www.DorkingFOCUS.com



-----Original Message-----
Hi Dave,

1) give him channel manager rights. Then you could
implement custom console
actions to create new channels.
Something like this:


http://www.gotdotnet.com/Community/UserSamples/Details.as
px?SampleGuid=b6610912-b3b7-42ec-8430-10cc9b749c6a

2) see above

3) I don't understand this question. Could you
please
rephrase?

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote
in
message
news:17f801c4f730$fa1f1b50$a301280a@phx.gbl...
Hi all,

I asked a Q last week about creating like a news
application, of which I found the RSS feed
generator on
Stefan's site, which I modified to suit.

I am still working in the same application,
however, I
am
not sure of what I need to be doing.

Let me explain...

Imagine the system is a news system. I want to
have
something like...

News Items
News - Week 3.
Local News
Regional News
News - Week 2.
Local News
Regional News
News - Week 1.
Local News
Regional News

What I want to do is hand over administration of
News
Items channel to someone else, without giving
them
admin
to everything else.

Each week, that person will create a new "News -
Week
x"
and the two News subchannels.

These must not be seen by site visitors, only
authors,
editors and admins.

Authors can then only select a template within
the
Local
News and Regional News areas.

As you may see, this is an ongoing process. Once
the
authors posts have been entered, they then get
read
by
a
summary page (which is where I used the modified
RSS
script from Stefan's site), which then links to
the
article. The summary page is the page that will
be
seen
at the "Local News" or "Regional News" level.

Whew, I think that explains it in a nutshell.

Now,
1. How do I allow someone else to admin the
channels?
Is
there a web admin? I can't find one, but as the
site
manager talks over HTTP, I would assume there is
something that the channel managers can use.
2. If there is a web admin, how should I
integrate
this
into the process?
3. Can I do with the channels as I am describing
(only
seen by authors etc until whole thing published)?

I am sure there are other things I need to ask,
but
can't
think what they are at the moment.

I appreciate your responses.

Best regards,
Dave Colliver.
http://www.DoncasterFOCUS.com




.



.



.
Back to top
Dave
Guest





Posted: Wed Jan 12, 2005 10:25 pm    Post subject: Re: Channel management Reply with quote

Cheers Stefan, I thought that maybe it, but hadn't tried
it.

Apart from that, does it look right? I will give it a go
now and try it.

Regards,
Dave.
http://www.AxminsterFOCUS.com


Quote:
-----Original Message-----
Hi Dave,

actually the path you entered is wrong: "Fact Sheet
List" is not a path.
A list looks like this: "/Templates/TemplateGallery/Fact
Sheet List".

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote in
message
news:05b101c4f8bf$e01e2350$a401280a@phx.gbl...
Hi Stefan,

I have had a look at the CreatePostingFromTemplate.cs
file. I am having a little difficulty following it.

What I am trying to do is integrate this into the
CreateChannel script you pointed me to the other day
but
having a little difficulty. I want to do everything in
one go.

Taking apart your CreatePostingFromTemplate, I have
worked out that much of the work is being done with
GetAuthoringNewUrl, so I am trying to integrate that
directly.

Once the newChannel name, displayname, description,
isHidden etc is written and before the return
statement,
I am trying to generate the default page. I am doing it
like this...


Microsoft.ContentManagement.WebControls.WebAuthorContext.C
urrent.GetAuthoringNewUrl((Template)
CmsHttpContext.Current.Searches.GetByPath("Fact Sheet
List"), (Channel)
CmsHttpContext.Current.Searches.GetByGuid
(newChannel.Guid));

but it isn't working as I expected. (That is the whole
line).

Am I on the right lines?

The whole section is...

if(_parent!=null)
{
//create the new
channel
newChannel =
_parent.CreateChannel();

//assign the
properties
newChannel.Name =
channelName;

newChannel.DisplayName = channelDisplay;

newChannel.Description = channelDescription;


//check if
channel should be hidden
if
(channelIsHidden)
{

newChannel.IsHiddenModePublished=true;
}

//commit the
changes

_cContext.CommitAll();


// Set up the
default posting (navigation template) for this channel.

Microsoft.ContentManagement.WebControls.WebAuthorC
ontext.Current.GetAuthoringNewUrl((Template)
CmsHttpContext.Current.Searches.GetByPath("Fact Sheet
List"), (Channel)
CmsHttpContext.Current.Searches.GetByGuid
(newChannel.Guid));
_cContext.CommitAll();
//return the url
for the new channel
return
newChannel.Url
+ "&WBCMODE=PresentationUnpublished&wbc_purpose=Basic";
}


Cheers.
Dave.
http://www.LincolnFOCUS.com

-----Original Message-----
Hi Dave,

yes this is possible.
Send me a mail to webmaster@stefan-gossner.de and I
will
send you a sample.

Cheers,
Stefan


"Dave" <david@revilloc.remove.this.bit.com> wrote in
message
news:1c5d01c4f7c6$032e7ca0$a301280a@phx.gbl...
Hi Stefan,

Thanks for the pointer for the channel create
routine.
It
works great... I wonder why this isn't in the
system by
default.

Anyway, is there a way to create a page from one of
my
own templates to use as a holding page. The page
won't
do
anything, but it will use my current defaultconsole,
which I can use to easily create the sub channels.

In fact, is there a way to set up so that specific
channels use specific templates, so that I take as
many
processes away from the user (make their job easier,
whilst keeping it consistent.)?

Thanks.
Dave Colliver.
http://www.GravesendFOCUS.com


-----Original Message-----
Hi Dave,

this can be easily achieved with the "hidden when
published" setting.
This is available to channel managers in the
Channel
properties dialog.
Swtiching this setting to false will prevent the
channel
from being shown in
navigation controls.

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote
in
message
news:1b5201c4f734$948f8410$a401280a@phx.gbl...
Hi Stefan,

Thanks for the reply.

What I meant with 3 was...
When the channel admin creates the channels, I
don't
want
them to be visible to visitors, except the
authors.
I
am
thinking that when a channel is created, it is
visible. I
want to restrict the visibility to everyone
except
people
working in the channel until the channel manager
decides
to make it live.

Is that possible?

I will have a look at the link you have sent me.

Best regards,
Dave Colliver.
http://www.DorkingFOCUS.com



-----Original Message-----
Hi Dave,

1) give him channel manager rights. Then you
could
implement custom console
actions to create new channels.
Something like this:



http://www.gotdotnet.com/Community/UserSamples/Details.as
px?SampleGuid=b6610912-b3b7-42ec-8430-
10cc9b749c6a

2) see above

3) I don't understand this question. Could you
please
rephrase?

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com
wrote
in
message
news:17f801c4f730$fa1f1b50$a301280a@phx.gbl...
Hi all,

I asked a Q last week about creating like a
news
application, of which I found the RSS feed
generator on
Stefan's site, which I modified to suit.

I am still working in the same application,
however, I
am
not sure of what I need to be doing.

Let me explain...

Imagine the system is a news system. I want to
have
something like...

News Items
News - Week 3.
Local News
Regional News
News - Week 2.
Local News
Regional News
News - Week 1.
Local News
Regional News

What I want to do is hand over administration
of
News
Items channel to someone else, without giving
them
admin
to everything else.

Each week, that person will create a
new "News -
Week
x"
and the two News subchannels.

These must not be seen by site visitors, only
authors,
editors and admins.

Authors can then only select a template within
the
Local
News and Regional News areas.

As you may see, this is an ongoing process.
Once
the
authors posts have been entered, they then get
read
by
a
summary page (which is where I used the
modified
RSS
script from Stefan's site), which then links
to
the
article. The summary page is the page that
will
be
seen
at the "Local News" or "Regional News" level.

Whew, I think that explains it in a nutshell.

Now,
1. How do I allow someone else to admin the
channels?
Is
there a web admin? I can't find one, but as
the
site
manager talks over HTTP, I would assume there
is
something that the channel managers can use.
2. If there is a web admin, how should I
integrate
this
into the process?
3. Can I do with the channels as I am
describing
(only
seen by authors etc until whole thing
published)?

I am sure there are other things I need to
ask,
but
can't
think what they are at the moment.

I appreciate your responses.

Best regards,
Dave Colliver.
http://www.DoncasterFOCUS.com




.



.



.



.
Back to top
Stefan [MSFT]
Guest





Posted: Wed Jan 12, 2005 10:47 pm    Post subject: Re: Channel management Reply with quote

Hi Dave,

I haven't reviewed every line but the general steps look good!

Cheers,
Stefan.

"Dave" <david@revilloc.remove.this.bit.com> wrote in message
news:0c6301c4f8c3$62af66f0$a601280a@phx.gbl...
Quote:
Cheers Stefan, I thought that maybe it, but hadn't tried
it.

Apart from that, does it look right? I will give it a go
now and try it.

Regards,
Dave.
http://www.AxminsterFOCUS.com


-----Original Message-----
Hi Dave,

actually the path you entered is wrong: "Fact Sheet
List" is not a path.
A list looks like this: "/Templates/TemplateGallery/Fact
Sheet List".

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote in
message
news:05b101c4f8bf$e01e2350$a401280a@phx.gbl...
Hi Stefan,

I have had a look at the CreatePostingFromTemplate.cs
file. I am having a little difficulty following it.

What I am trying to do is integrate this into the
CreateChannel script you pointed me to the other day
but
having a little difficulty. I want to do everything in
one go.

Taking apart your CreatePostingFromTemplate, I have
worked out that much of the work is being done with
GetAuthoringNewUrl, so I am trying to integrate that
directly.

Once the newChannel name, displayname, description,
isHidden etc is written and before the return
statement,
I am trying to generate the default page. I am doing it
like this...


Microsoft.ContentManagement.WebControls.WebAuthorContext.C
urrent.GetAuthoringNewUrl((Template)
CmsHttpContext.Current.Searches.GetByPath("Fact Sheet
List"), (Channel)
CmsHttpContext.Current.Searches.GetByGuid
(newChannel.Guid));

but it isn't working as I expected. (That is the whole
line).

Am I on the right lines?

The whole section is...

if(_parent!=null)
{
//create the new
channel
newChannel =
_parent.CreateChannel();

//assign the
properties
newChannel.Name =
channelName;

newChannel.DisplayName = channelDisplay;

newChannel.Description = channelDescription;


//check if
channel should be hidden
if
(channelIsHidden)
{

newChannel.IsHiddenModePublished=true;
}

//commit the
changes

_cContext.CommitAll();


// Set up the
default posting (navigation template) for this channel.

Microsoft.ContentManagement.WebControls.WebAuthorC
ontext.Current.GetAuthoringNewUrl((Template)
CmsHttpContext.Current.Searches.GetByPath("Fact Sheet
List"), (Channel)
CmsHttpContext.Current.Searches.GetByGuid
(newChannel.Guid));
_cContext.CommitAll();
//return the url
for the new channel
return
newChannel.Url
+ "&WBCMODE=PresentationUnpublished&wbc_purpose=Basic";
}


Cheers.
Dave.
http://www.LincolnFOCUS.com

-----Original Message-----
Hi Dave,

yes this is possible.
Send me a mail to webmaster@stefan-gossner.de and I
will
send you a sample.

Cheers,
Stefan


"Dave" <david@revilloc.remove.this.bit.com> wrote in
message
news:1c5d01c4f7c6$032e7ca0$a301280a@phx.gbl...
Hi Stefan,

Thanks for the pointer for the channel create
routine.
It
works great... I wonder why this isn't in the
system by
default.

Anyway, is there a way to create a page from one of
my
own templates to use as a holding page. The page
won't
do
anything, but it will use my current defaultconsole,
which I can use to easily create the sub channels.

In fact, is there a way to set up so that specific
channels use specific templates, so that I take as
many
processes away from the user (make their job easier,
whilst keeping it consistent.)?

Thanks.
Dave Colliver.
http://www.GravesendFOCUS.com


-----Original Message-----
Hi Dave,

this can be easily achieved with the "hidden when
published" setting.
This is available to channel managers in the
Channel
properties dialog.
Swtiching this setting to false will prevent the
channel
from being shown in
navigation controls.

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote
in
message
news:1b5201c4f734$948f8410$a401280a@phx.gbl...
Hi Stefan,

Thanks for the reply.

What I meant with 3 was...
When the channel admin creates the channels, I
don't
want
them to be visible to visitors, except the
authors.
I
am
thinking that when a channel is created, it is
visible. I
want to restrict the visibility to everyone
except
people
working in the channel until the channel manager
decides
to make it live.

Is that possible?

I will have a look at the link you have sent me.

Best regards,
Dave Colliver.
http://www.DorkingFOCUS.com



-----Original Message-----
Hi Dave,

1) give him channel manager rights. Then you
could
implement custom console
actions to create new channels.
Something like this:



http://www.gotdotnet.com/Community/UserSamples/Details.as
px?SampleGuid=b6610912-b3b7-42ec-8430-
10cc9b749c6a

2) see above

3) I don't understand this question. Could you
please
rephrase?

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com
wrote
in
message
news:17f801c4f730$fa1f1b50$a301280a@phx.gbl...
Hi all,

I asked a Q last week about creating like a
news
application, of which I found the RSS feed
generator on
Stefan's site, which I modified to suit.

I am still working in the same application,
however, I
am
not sure of what I need to be doing.

Let me explain...

Imagine the system is a news system. I want to
have
something like...

News Items
News - Week 3.
Local News
Regional News
News - Week 2.
Local News
Regional News
News - Week 1.
Local News
Regional News

What I want to do is hand over administration
of
News
Items channel to someone else, without giving
them
admin
to everything else.

Each week, that person will create a
new "News -
Week
x"
and the two News subchannels.

These must not be seen by site visitors, only
authors,
editors and admins.

Authors can then only select a template within
the
Local
News and Regional News areas.

As you may see, this is an ongoing process.
Once
the
authors posts have been entered, they then get
read
by
a
summary page (which is where I used the
modified
RSS
script from Stefan's site), which then links
to
the
article. The summary page is the page that
will
be
seen
at the "Local News" or "Regional News" level.

Whew, I think that explains it in a nutshell.

Now,
1. How do I allow someone else to admin the
channels?
Is
there a web admin? I can't find one, but as
the
site
manager talks over HTTP, I would assume there
is
something that the channel managers can use.
2. If there is a web admin, how should I
integrate
this
into the process?
3. Can I do with the channels as I am
describing
(only
seen by authors etc until whole thing
published)?

I am sure there are other things I need to
ask,
but
can't
think what they are at the moment.

I appreciate your responses.

Best regards,
Dave Colliver.
http://www.DoncasterFOCUS.com




.



.



.



.
Back to top
Dave
Guest





Posted: Wed Jan 12, 2005 11:23 pm    Post subject: Re: Channel management Reply with quote

Hi Stefan,

Thanks for your help so far. I know I am almost there...

I have the correct template path now. (I didn't before,
as my pop-up window wasn't closing, through a try catch
block). I have double checked the template path by
clicking create new page and following the template path.

However, still not there. My page when it returns from
the CreateChannel shows the default template, not the
defined one. Also, if I look in site manager under the
channel, I don't get anything in the right pane when I
select the channel on the left.

I have a CommitAll after the template has been defined,
but still not happening.

I know I am so close now (with thanks to you) but not
there yet.

Best regards,
Dave.
http://www.BedfordFOCUS.com

Quote:
-----Original Message-----
Hi Dave,

I haven't reviewed every line but the general steps look
good!

Cheers,
Stefan.

"Dave" <david@revilloc.remove.this.bit.com> wrote in
message
news:0c6301c4f8c3$62af66f0$a601280a@phx.gbl...
Cheers Stefan, I thought that maybe it, but hadn't
tried
it.

Apart from that, does it look right? I will give it a
go
now and try it.

Regards,
Dave.
http://www.AxminsterFOCUS.com


-----Original Message-----
Hi Dave,

actually the path you entered is wrong: "Fact Sheet
List" is not a path.
A list looks like
this: "/Templates/TemplateGallery/Fact
Sheet List".

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote in
message
news:05b101c4f8bf$e01e2350$a401280a@phx.gbl...
Hi Stefan,

I have had a look at the
CreatePostingFromTemplate.cs
file. I am having a little difficulty following it.

What I am trying to do is integrate this into the
CreateChannel script you pointed me to the other day
but
having a little difficulty. I want to do everything
in
one go.

Taking apart your CreatePostingFromTemplate, I have
worked out that much of the work is being done with
GetAuthoringNewUrl, so I am trying to integrate that
directly.

Once the newChannel name, displayname, description,
isHidden etc is written and before the return
statement,
I am trying to generate the default page. I am
doing it
like this...



Microsoft.ContentManagement.WebControls.WebAuthorContext.C
urrent.GetAuthoringNewUrl((Template)
CmsHttpContext.Current.Searches.GetByPath("Fact
Sheet
List"), (Channel)
CmsHttpContext.Current.Searches.GetByGuid
(newChannel.Guid));

but it isn't working as I expected. (That is the
whole
line).

Am I on the right lines?

The whole section is...

if(_parent!=null)
{
//create the new
channel
newChannel =
_parent.CreateChannel();

//assign the
properties
newChannel.Name =
channelName;

newChannel.DisplayName = channelDisplay;

newChannel.Description = channelDescription;


//check if
channel should be hidden
if
(channelIsHidden)
{

newChannel.IsHiddenModePublished=true;
}

//commit the
changes

_cContext.CommitAll();


// Set up the
default posting (navigation template) for this
channel.

Microsoft.ContentManagement.WebControls.WebAuthorC
ontext.Current.GetAuthoringNewUrl((Template)
CmsHttpContext.Current.Searches.GetByPath("Fact
Sheet
List"), (Channel)
CmsHttpContext.Current.Searches.GetByGuid
(newChannel.Guid));
_cContext.CommitAll();
//return the url
for the new channel
return
newChannel.Url

+ "&WBCMODE=PresentationUnpublished&wbc_purpose=Basic";
}


Cheers.
Dave.
http://www.LincolnFOCUS.com

-----Original Message-----
Hi Dave,

yes this is possible.
Send me a mail to webmaster@stefan-gossner.de and I
will
send you a sample.

Cheers,
Stefan


"Dave" <david@revilloc.remove.this.bit.com> wrote
in
message
news:1c5d01c4f7c6$032e7ca0$a301280a@phx.gbl...
Hi Stefan,

Thanks for the pointer for the channel create
routine.
It
works great... I wonder why this isn't in the
system by
default.

Anyway, is there a way to create a page from one
of
my
own templates to use as a holding page. The page
won't
do
anything, but it will use my current
defaultconsole,
which I can use to easily create the sub
channels.

In fact, is there a way to set up so that
specific
channels use specific templates, so that I take
as
many
processes away from the user (make their job
easier,
whilst keeping it consistent.)?

Thanks.
Dave Colliver.
http://www.GravesendFOCUS.com


-----Original Message-----
Hi Dave,

this can be easily achieved with the "hidden
when
published" setting.
This is available to channel managers in the
Channel
properties dialog.
Swtiching this setting to false will prevent the
channel
from being shown in
navigation controls.

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com
wrote
in
message
news:1b5201c4f734$948f8410$a401280a@phx.gbl...
Hi Stefan,

Thanks for the reply.

What I meant with 3 was...
When the channel admin creates the channels, I
don't
want
them to be visible to visitors, except the
authors.
I
am
thinking that when a channel is created, it is
visible. I
want to restrict the visibility to everyone
except
people
working in the channel until the channel
manager
decides
to make it live.

Is that possible?

I will have a look at the link you have sent
me.

Best regards,
Dave Colliver.
http://www.DorkingFOCUS.com



-----Original Message-----
Hi Dave,

1) give him channel manager rights. Then you
could
implement custom console
actions to create new channels.
Something like this:




http://www.gotdotnet.com/Community/UserSamples/Details.as
px?SampleGuid=b6610912-b3b7-42ec-8430-
10cc9b749c6a

2) see above

3) I don't understand this question. Could
you
please
rephrase?

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com
wrote
in
message
news:17f801c4f730$fa1f1b50
$a301280a@phx.gbl...
Hi all,

I asked a Q last week about creating like a
news
application, of which I found the RSS feed
generator on
Stefan's site, which I modified to suit.

I am still working in the same application,
however, I
am
not sure of what I need to be doing.

Let me explain...

Imagine the system is a news system. I
want to
have
something like...

News Items
News - Week 3.
Local News
Regional News
News - Week 2.
Local News
Regional News
News - Week 1.
Local News
Regional News

What I want to do is hand over
administration
of
News
Items channel to someone else, without
giving
them
admin
to everything else.

Each week, that person will create a
new "News -
Week
x"
and the two News subchannels.

These must not be seen by site visitors,
only
authors,
editors and admins.

Authors can then only select a template
within
the
Local
News and Regional News areas.

As you may see, this is an ongoing process.
Once
the
authors posts have been entered, they then
get
read
by
a
summary page (which is where I used the
modified
RSS
script from Stefan's site), which then
links
to
the
article. The summary page is the page that
will
be
seen
at the "Local News" or "Regional News"
level.

Whew, I think that explains it in a
nutshell.

Now,
1. How do I allow someone else to admin the
channels?
Is
there a web admin? I can't find one, but as
the
site
manager talks over HTTP, I would assume
there
is
something that the channel managers can
use.
2. If there is a web admin, how should I
integrate
this
into the process?
3. Can I do with the channels as I am
describing
(only
seen by authors etc until whole thing
published)?

I am sure there are other things I need to
ask,
but
can't
think what they are at the moment.

I appreciate your responses.

Best regards,
Dave Colliver.
http://www.DoncasterFOCUS.com




.



.



.



.



.
Back to top
Stefan [MSFT]
Guest





Posted: Thu Jan 13, 2005 3:11 pm    Post subject: Re: Channel management Reply with quote

Hi Dave,

you should step through your code with the debugger to see if everything
works as expected.

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote in message
news:0cf001c4f8cb$613b1cd0$a601280a@phx.gbl...
Quote:
Hi Stefan,

Thanks for your help so far. I know I am almost there...

I have the correct template path now. (I didn't before,
as my pop-up window wasn't closing, through a try catch
block). I have double checked the template path by
clicking create new page and following the template path.

However, still not there. My page when it returns from
the CreateChannel shows the default template, not the
defined one. Also, if I look in site manager under the
channel, I don't get anything in the right pane when I
select the channel on the left.

I have a CommitAll after the template has been defined,
but still not happening.

I know I am so close now (with thanks to you) but not
there yet.

Best regards,
Dave.
http://www.BedfordFOCUS.com

-----Original Message-----
Hi Dave,

I haven't reviewed every line but the general steps look
good!

Cheers,
Stefan.

"Dave" <david@revilloc.remove.this.bit.com> wrote in
message
news:0c6301c4f8c3$62af66f0$a601280a@phx.gbl...
Cheers Stefan, I thought that maybe it, but hadn't
tried
it.

Apart from that, does it look right? I will give it a
go
now and try it.

Regards,
Dave.
http://www.AxminsterFOCUS.com


-----Original Message-----
Hi Dave,

actually the path you entered is wrong: "Fact Sheet
List" is not a path.
A list looks like
this: "/Templates/TemplateGallery/Fact
Sheet List".

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com> wrote in
message
news:05b101c4f8bf$e01e2350$a401280a@phx.gbl...
Hi Stefan,

I have had a look at the
CreatePostingFromTemplate.cs
file. I am having a little difficulty following it.

What I am trying to do is integrate this into the
CreateChannel script you pointed me to the other day
but
having a little difficulty. I want to do everything
in
one go.

Taking apart your CreatePostingFromTemplate, I have
worked out that much of the work is being done with
GetAuthoringNewUrl, so I am trying to integrate that
directly.

Once the newChannel name, displayname, description,
isHidden etc is written and before the return
statement,
I am trying to generate the default page. I am
doing it
like this...



Microsoft.ContentManagement.WebControls.WebAuthorContext.C
urrent.GetAuthoringNewUrl((Template)
CmsHttpContext.Current.Searches.GetByPath("Fact
Sheet
List"), (Channel)
CmsHttpContext.Current.Searches.GetByGuid
(newChannel.Guid));

but it isn't working as I expected. (That is the
whole
line).

Am I on the right lines?

The whole section is...

if(_parent!=null)
{
//create the new
channel
newChannel =
_parent.CreateChannel();

//assign the
properties
newChannel.Name =
channelName;

newChannel.DisplayName = channelDisplay;

newChannel.Description = channelDescription;


//check if
channel should be hidden
if
(channelIsHidden)
{

newChannel.IsHiddenModePublished=true;
}

//commit the
changes

_cContext.CommitAll();


// Set up the
default posting (navigation template) for this
channel.

Microsoft.ContentManagement.WebControls.WebAuthorC
ontext.Current.GetAuthoringNewUrl((Template)
CmsHttpContext.Current.Searches.GetByPath("Fact
Sheet
List"), (Channel)
CmsHttpContext.Current.Searches.GetByGuid
(newChannel.Guid));
_cContext.CommitAll();
//return the url
for the new channel
return
newChannel.Url

+ "&WBCMODE=PresentationUnpublished&wbc_purpose=Basic";
}


Cheers.
Dave.
http://www.LincolnFOCUS.com

-----Original Message-----
Hi Dave,

yes this is possible.
Send me a mail to webmaster@stefan-gossner.de and I
will
send you a sample.

Cheers,
Stefan


"Dave" <david@revilloc.remove.this.bit.com> wrote
in
message
news:1c5d01c4f7c6$032e7ca0$a301280a@phx.gbl...
Hi Stefan,

Thanks for the pointer for the channel create
routine.
It
works great... I wonder why this isn't in the
system by
default.

Anyway, is there a way to create a page from one
of
my
own templates to use as a holding page. The page
won't
do
anything, but it will use my current
defaultconsole,
which I can use to easily create the sub
channels.

In fact, is there a way to set up so that
specific
channels use specific templates, so that I take
as
many
processes away from the user (make their job
easier,
whilst keeping it consistent.)?

Thanks.
Dave Colliver.
http://www.GravesendFOCUS.com


-----Original Message-----
Hi Dave,

this can be easily achieved with the "hidden
when
published" setting.
This is available to channel managers in the
Channel
properties dialog.
Swtiching this setting to false will prevent the
channel
from being shown in
navigation controls.

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com
wrote
in
message
news:1b5201c4f734$948f8410$a401280a@phx.gbl...
Hi Stefan,

Thanks for the reply.

What I meant with 3 was...
When the channel admin creates the channels, I
don't
want
them to be visible to visitors, except the
authors.
I
am
thinking that when a channel is created, it is
visible. I
want to restrict the visibility to everyone
except
people
working in the channel until the channel
manager
decides
to make it live.

Is that possible?

I will have a look at the link you have sent
me.

Best regards,
Dave Colliver.
http://www.DorkingFOCUS.com



-----Original Message-----
Hi Dave,

1) give him channel manager rights. Then you
could
implement custom console
actions to create new channels.
Something like this:




http://www.gotdotnet.com/Community/UserSamples/Details.as
px?SampleGuid=b6610912-b3b7-42ec-8430-
10cc9b749c6a

2) see above

3) I don't understand this question. Could
you
please
rephrase?

Cheers,
Stefan.


"Dave" <david@revilloc.remove.this.bit.com
wrote
in
message
news:17f801c4f730$fa1f1b50
$a301280a@phx.gbl...
Hi all,

I asked a Q last week about creating like a
news
application, of which I found the RSS feed
generator on
Stefan's site, which I modified to suit.

I am still working in the same application,
however, I
am
not sure of what I need to be doing.

Let me explain...

Imagine the system is a news system. I
want to
have
something like...

News Items
News - Week 3.
Local News
Regional News
News - Week 2.
Local News
Regional News
News - Week 1.
Local News
Regional News

What I want to do is hand over
administration
of
News
Items channel to someone else, without
giving
them
admin
to everything else.

Each week, that person will create a
new "News -
Week
x"
and the two News subchannels.

These must not be seen by site visitors,
only
authors,
editors and admins.

Authors can then only select a template
within
the
Local
News and Regional News areas.

As you may see, this is an ongoing process.
Once
the
authors posts have been entered, they then
get
read
by
a
summary page (which is where I used the
modified
RSS
script from Stefan's site), which then
links
to
the
article. The summary page is the page that
will
be
seen
at the "Local News" or "Regional News"
level.

Whew, I think that explains it in a
nutshell.

Now,
1. How do I allow someone else to admin the
channels?
Is
there a web admin? I can't find one, but as
the
site
manager talks over HTTP, I would assume
there
is
something that the channel managers can
use.
2. If there is a web admin, how should I
integrate
this
into the process?
3. Can I do with the channels as I am
describing
(only
seen by authors etc until whole thing
published)?

I am sure there are other things I need to
ask,
but
can't
think what they are at the moment.

I appreciate your responses.

Best regards,
Dave Colliver.
http://www.DoncasterFOCUS.com




.



.



.



.



.
Back to top