posts - 380, comments - 634, trackbacks - 117,
Dan Bartels online engineering logbook... Items that I find useful organized for my use, and indexed by google for yours. Here you can find information about Microsoft C# programming, SQL SERVER 2005, Telligent Systems CommunityServer, Dot Net Nuke, Windows Vista / Longhorn, and just about anything else that would compel me to type.

News

What I am Reading:


Professional Community Server

Past books can be viewed on:

Post Categories

Archives

Coding Techniques

Coding Tools

Community Sites

Deal Finders

Friends Businesses

Microsofties

Smartphones

Utilities

my blogmap
Adding Content Pages to Community Server 2.0

I cant tell you how many times I get asked how to add just a static page to a CS site...  The current URL rewriting can make adding a custom ASPX page a daunting task, especially if you are trying to integrate some of the current CS skin elements.  In CS2, this process is ridiculously simple (although well hidden)...

In the control panel, under Administration / System Tools, there is an option to "Manage / Create Articles"

Articles are just a sligtly different way to create content parts (editable regions of a CS page)..  In this case they are designed to be created from this admin interface, no site code editing required.  Just go ahead and make your self an article...

Name - is the name of the aspx page community server will use to refer to this "article"
Headline - is what will appear in the breadcrumb when an administrative user is logged into the site viewing the "article"

The body, becomes the content of the page (between the standard header / nav and the site footer)

Enter some content, and click save...  the site directs you to view the "article" on your site, the URL can then be placed in other "Content Parts" or "Posts" on your site...  if you need to get the item into the top nav, you will need to edit the SiteUrls.Config

I have created a sample here on my site, for my 92 Honda Prelude I have for sale...

http://blog.danbartels.com/contentparts/Prelude.aspx

Dan

Published Tuesday, April 25, 2006 11:03 PM by DanB

Filed under
::

Comments

# re: Adding Content Pages to Community Server 2.0 @ Wednesday, April 26, 2006 3:30 AM

Damn, you just published my next tip :). Nice one, and it answers a question that I get all the time too.

Jaxon Rice

# re: Adding Content Pages to Community Server 2.0 @ Saturday, May 27, 2006 6:26 PM

Is there a means to get a list of articles that you have created ?

Anoj

# re: Adding Content Pages to Community Server 2.0 @ Saturday, May 27, 2006 11:01 PM

Well articles are "special" content parts, they will be listed on the administration screen where you create them at /ControlPanel/Tools/ManageArticles.aspx

I say special, because you can view any content part as its own page throught the \Content\[ContentPartName].aspx format...  but if you didnt use the admin interface to create the content part, (all you need to do to make a content part, is integrate the server control in a page...)  then it wont appear on the admin list...

Dan

DanB

# re: Adding Content Pages to Community Server 2.0 @ Wednesday, August 23, 2006 6:46 PM

Excellent tip. But can you confirm that the content entered on these articles is not included in the search! For example a search on "prelude" in this blog returns only this page - not the target page which is all about your (now sold) prelude.

Rob Holmes

# re: Adding Content Pages to Community Server 2.0 @ Wednesday, August 23, 2006 10:59 PM

That is correct; currently in CommunityServer (including when using the Enterprise Search Addon) "articles" are not included in the search...

Searching only searches items in the cs_Posts table, these "Content Parts" are not stored there "yet"...  as such they dont participate in the full CS security process, and dont really have the same base class structure as the items in the search...

We are working to remidy this, but it will take some effort due to our current architecuture.

Dan

DanB

# Dan Bartels wrote the consummate blog post on this @ Wednesday, November 22, 2006 11:01 AM

How to add a Content Page to Community Server 2.0. Dan Bartels wrote the consummate blog post on this

Daily News Faq List

# Dan Bartels wrote the consummate blog post on this @ Monday, March 12, 2007 11:21 AM

How to add a Content Page to Community Server 2.0. Dan Bartels wrote the consummate blog post on this

Community Server Bits

# re: Adding Content Pages to Community Server 2.0 @ Thursday, July 12, 2007 6:36 PM

Hey there Dan!

Sorry for the bother, but do you know of a way to do this in CS 3.0?  

Justice~!

# re: Adding Content Pages to Community Server 2.0 @ Saturday, March 29, 2008 10:59 PM

The process was pretty strait-forward and I successfully added an admin-editable article with a tab at the top.  HOWEVER, when I am on the page, the tab is not highlighted, as is the case with the default pages.

Does anyone know how I can accomplish this as well?

Thanks so much.

Mike Summers

# re: Adding Content Pages to Community Server 2.0 @ Monday, April 07, 2008 9:23 AM

Mike...  are you really still using CS 2.0?  I sure hope you have updated, we are about to launch our release candidate of cs 2008 (4.0).  I would sugguest you give this a try with our current beta, and if you still see the issue please leave us feedback on the bugs and issues forum of communityserver.org.

Dan

DanB

Leave a Comment

(required) 
(required) 
(optional)
(required) 
 
Powered by Community Server (Commercial Edition), by Telligent Systems
powered by god (with a little help from Telligent Systems - Community Server 2.1)