storing pages in an array
-
I am not sure if asp.net is the best way to do this, but from what I have been reading it should be the way to go. I have been searching for days now looking for some sample code to do this with no luck. I will just explain the functionality I am looking for and if someone could suggest the best way to do this that would be wonderful! Here's what I have: Three categories for a portfolio: (Currently they are tabs at the top of the page) View By Client, View by Category, Recent Creative. Say there's a new website example that I need to post. I want it to show up in all three places, but I only want to build the content page once (content consisting of the thumbnail, description copy, link to enlarge, link to contact). So what I was thinking is that I could build a page for each portfolio piece that could dynamically get pulled into the sections that I need it to. I would like to somehow be able to assign each page what ever keywords I need to like the client name, the category, if it's recent etc. The left nav would have everything that was in that particular category and would be links to the other pieces in that category. Thank you so much for any help you can provide.
-
I am not sure if asp.net is the best way to do this, but from what I have been reading it should be the way to go. I have been searching for days now looking for some sample code to do this with no luck. I will just explain the functionality I am looking for and if someone could suggest the best way to do this that would be wonderful! Here's what I have: Three categories for a portfolio: (Currently they are tabs at the top of the page) View By Client, View by Category, Recent Creative. Say there's a new website example that I need to post. I want it to show up in all three places, but I only want to build the content page once (content consisting of the thumbnail, description copy, link to enlarge, link to contact). So what I was thinking is that I could build a page for each portfolio piece that could dynamically get pulled into the sections that I need it to. I would like to somehow be able to assign each page what ever keywords I need to like the client name, the category, if it's recent etc. The left nav would have everything that was in that particular category and would be links to the other pieces in that category. Thank you so much for any help you can provide.
-
I am not vey sure I entirely understand, but you are trying to retreive all the info of a particular Customer/Category etc. (from a DB I presume?) How do you display the info in the 3 pages (Customer, category, etc.)? You use a DataGrid?
I don't actually have anything built yet because I am really not sure where to start. I was talking to a "classic asp" developer and he was saying it wouldn't require a DB that he would just store the page names/urls in an array and call them that in to each page that way. But I am not opposed to using a db if that's the best way. I was hoping I could just have a page built that would act as a shell, then for each portfolio piece I would build a separate html file that could get pulled into the page depending on it's "tag" (client name, category, new or not). It would be GREAT if I could get my hands on some sample code that did something similar to what I need. I am pretty fluent in html, but I am just starting to get my feet wet with backend coding. thank you for your time!