DanM
-
9/4/2013 6:05:03 AM
A list of categories, each with an associated image
Hi,
I've been working on a category list for the front page. It will be in the sidebar. It will also have an image associated with each category (like finance with an svg dollar sign or water with an svg droplet).
I am working with the portal method. I just wanted to ask; is there a way that I can add an image (or file upload) field in to the category General info tab? I'm new to kentico, so I am sometimes unaware if there are ways to do this other than create my own functions/controls. One other way I can think of doing it is to upload images with the category names, then use a transformation to load in the category name to a url like this - www.mysite.com/images/<%# Eval("CategoryDisplayName") %>.svg
This seems like a very poor solution to me and I'm sure that there must be a better way of doing things, but can I only achieve that by creating my own cs functions and doing the whole thing through visual studio?
I'm currently using a Category list with a transformation that i have written myself.
Bonus question, I'm guessing that the best way to organise blog posts and articles by category is to create a set of categories and then associate them, right?
I apologise if these questions seem pretty basic, but this is my first time fully building a .net website.
Thanks, Dan
|