This project is read-only.

Custom Category Headers for Posts

Jun 5, 2008 at 2:25 PM
I'm sorry if the answer to my question is already out there somewhere, but I've checked endlessly and am still having trouble.
Here is my situation.  I'm about to launch my website, which is basically an interactive entertainment, art, flash, design website with original artwork, flash games, a flash comic strip, and some other random fun stuff.

I have 5 different sections to the Site:
Home Page with a Flash menu and blog entries
Bootleg - the flash comic strip (all these pages I am doing in HTML - this is fine)
Deez - one of the blog categories I set up - designs and downloads - wallpapers, buddy icons, designs, etc
Extra - one of the blog categories I set up - it will have just random Flash work and other designs not in the other categories - just other random stuff :)
Games - one of the blog categories I set up - it will have flash games to play and get the high score
About - one of the blog categories I set up - just have a sort of About me and the website - random posts - contact information

I don't want to leave out any details because it's such a specific problem I'm having.
My friend set up Dasblog for me and my other friend helped me with the CSS and style sheets.
It looks pretty much exactly the way I want it to.  I even made custom headers for each category and got those working (I found out how to do that on the dasblog forums - by making a folder for each category and uploading their own Itemtemplates and Hometemplates for each of the folders and editing the header information - which works great)
However, the custom headers only stay there if you're viewing the Category page and not a specific post/entry.
If you're not sure what I mean (I know this is a ridiculously long post, but I have to explain it all in detail so you know where I'm coming from)
you can visit my website - www.exactlyinaccurate.com
the flash menu works and I have custom headers working depending on which category you are viewing, BUT if you click on any of the posts' title links - I don't want the Main Menu's flash header to come up, I want whatever category that post belongs to's header to be showing.

I hope this makes sense and I hope someone can help me because I want to finish making the posts for all my content soon so I can launch my website and move on.

Thanks

-Rich
Jun 5, 2008 at 5:49 PM

Does this not work for you?

http://www.yourdomain.com/postxyz.asp?category=Menu2

Of couse this is not perfect, if you show more than one post in that category per page, then when the user clicks on another post, the link will only be "nextpost.aspx" (it will not include ?category=menu2), and I don't know of any way to get this to work for you.

Sounds like multiple blogs with different themes may have been the way to go instead of what you have.

Of course you could limit to one post per page and imbed your links in your posts to other predefined posts with xxx.aspx?category=men2 format if that works for your site layout.

What it appears you are really doing is not using dasBlog a blog but rather as a CMS (content managment systems), somthing like this site which really is dasblog but you can hardly tell it: http://www.emsi.com

Tom

Jun 5, 2008 at 9:55 PM

thanks very much for getting back to me.

I'm not sure what that Menu 2 solution is doing or what I'd have to do in that case?


Is there a way maybe to make the Item posts - whenever you click on the Post link to reference another header other than my animated Main Menu one - even if it's not the category one - for example - maybe just another version of my static Headers that says something like "Posts" on the brick wall header?
I wouldn't be opposed to that - I just don't want the Animated Main Menu as the header coming up every time someone posts a comment, clicks on the link to a post, etc., etc.

-Rich


tomwatts wrote:

Does this not work for you?

http://www.yourdomain.com/postxyz.asp?category=Menu2

Of couse this is not perfect, if you show more than one post in that category per page, then when the user clicks on another post, the link will only be "nextpost.aspx" (it will not include ?category=menu2), and I don't know of any way to get this to work for you.

Sounds like multiple blogs with different themes may have been the way to go instead of what you have.

Of course you could limit to one post per page and imbed your links in your posts to other predefined posts with xxx.aspx?category=men2 format if that works for your site layout.

What it appears you are really doing is not using dasBlog a blog but rather as a CMS (content managment systems), somthing like this site which really is dasblog but you can hardly tell it: http://www.emsi.com

Tom




Jun 5, 2008 at 11:42 PM
Edited Jun 5, 2008 at 11:56 PM
I don't think you follow what I am trying to say are your options.

Your menu has a link to all posts with the category of Games.
http://www.exactlyinaccurate.com/CategoryView,category,Games.aspx

Your menu could have a link to a particular post with the attribute to be the Games category or other.

http://www.exactlyinaccurate.com/PlayMyGameNbspDraculaemAndIllGetMyFangs.aspx?category=Games (these would work if the post had category of Games and theme Games) 

or

http://www.exactlyinaccurate.com/PlayMyGameNbspDraculaemAndIllGetMyFangs.aspx?category=Extra (these would work if the post had category of Extra and theme Extra) 


If you set your blog engine to display only one default post as your home page, them you could use dasblog posts as static pages in your web site with difference themes per page if thats what you want.

But if you make a link that calls the whole category, all posts with that category will show unless your configuration page restricts that. Play with the settings and the possbile links, you should be able to do most anything layout if you spend the effort.

Remember a post can have links to other posts using this format, and you can remove the post link you don't want to have it. The post can be addressed by its title, if you turn of url rewriting etc. Look at the sample site I gave you, every page is a post without a title, and all links call a  post.

Luck
PS What category do you have on your game page etc. the above links should work???