Categories, Pages and Parents

Topics: ASP.NET 2.0, Business Logic Layer
Nov 13, 2009 at 3:26 PM

Gail, can you or someone else help me regarding how to setup Pages and the relevance of doing so...  Is it just to have a singular Post appear?  What I am really trying to do it setup 2 or 3 pages and  have the relevant posts pertaining to those pages' categories appear under those pages... so a Page entitled 'Trades' would have all the posts appearing with the category of 'trades' etc on the same page, and the main post for the page appears at the top.

I am new to blogging and need help understanding how to sort and categorize blogs, posts, pages and categories.

 

Craig

 

Nov 13, 2009 at 6:25 PM

I use pages for things like "About", "FAQ", "Privacy Policy", and other static content pages (including lists of posts).

A qucik idea for how you could do the pages with relevant posts underneath based on categories is using an IFRAME, either that or write your own .net code.

The IFRAME approach could work by creating say a page named "Safe Drinking Water" and then including an IFRAME that links to the category URL for safe drinking water category... like put http://www.yourwebsite.com/category/SafeDrinkingWater.aspx  as you categorized posts as SafeDrinkingWater, they would show up on the category list page automatically and in your IFRAME on the safeDrinkingWater page

quick and dirty

Nov 15, 2009 at 12:08 AM

Hi Craig,

Here's a link to a page from the Documentation section that explains some things about pages:

http://blogengine.codeplex.com/wikipage?title=Pages&referringTitle=Documentation

They are a little like "static" posts, but more like separate web pages that you might want to use for other kinds of site information.  While you'd usually use an input/editor similar to the one used when typing posts, you can also switch that to an html editing view to do some html sorts of things, if you are so inclined.  To get to pages, you'll probably want to either design a link in your theme for that (that would be in the site.master of your chosen theme), or you might want to use the pages widget or link list widget to help people navigate to them.

Al Nyveldt has an interesting post about using "the other kind" (i.e., separate .aspx files) of pages in various ways in your site:

http://www.nyveldt.com/blog/post/BE-Theme-Tip-Make-the-front-page-look-different.aspx

but note when you add a "page" through the "pages" control in the administrative interface, it's adding a bit of html to a database field, not actually writing a separate file on the disk.

If you're planning to use some asp.net control on the page--like a gridview or a submit button or something, you'll want a "file-based" kind of .aspx kind of page.  If you want to post information and maybe an image, a wysiwyg-edited "put text in the database field" kind of page will probably do.

Best Wishes,
-GayLyn