 | |  |
 |

Tinnie
User
Feb 21, 2007, 8:25 AM
Post #1 of 9
(506 views)
Shortcut
|
|
cross-referencing categories and projects
|
Can't Post
|
|
Hi all, we have categories, with articles. Some of these articles also belong to projects. I did that until now with an added field, where I as an admin hardcoded the projects in a list. On the live website I want to be able to get these projectnames back (which enables me to throw it into the search.cgi and get all documents belonging to a project). Until now I cheated a bit and just had the projectnames in the field AND in a template. question1: Is there an easier way of accomplishing this, which means that the project names are in one place and with that an editor can choose a project with an article, and the website can find the project-selection back in the searchmachine without having the projectnames in the template? question2: Is it possible to have a solution where the editor can either choose a project name OR create a new one without needing assistance of an admin? Kind regards, Tinnie
(This post was edited by Tinnie on Feb 21, 2007, 8:27 AM)
|
|
|  |
 |

ross
Staff
/ Moderator

Feb 21, 2007, 2:05 PM
Post #2 of 9
(497 views)
Shortcut
|
|
Re: [Tinnie] cross-referencing categories and projects
[In reply to]
|
Can't Post
|
|
Hi Tinnie Thanks for posting and welcome to the board! I am not sure if I quite understand you here but what I am thinking is that you could setup different categories for each of your projects and then post articles to each one as needed. That way, you'll get a list of all your projects on the left side of the page and when you click on one, a list of all the documents in that project will appear in the middle of the page. Does that sound like what you are looking for? If you could get me some more details, I can see what options we have here . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

Tinnie
User
Feb 22, 2007, 3:13 AM
Post #3 of 9
(491 views)
Shortcut
|
|
Re: [ross] cross-referencing categories and projects
[In reply to]
|
Can't Post
|
|
Hello Ross, Nope, what I mean is: The articles are already in -some different- categories. Next to this we also put them in projects. (Hence the word "cross-reference") We have e.g. a publication, a meeting and an invitation (in different categories) which all belong to the project "Security policy". So in the category publications, in the category meetings and in the agenda (where the invitation is) we have this articles, and each article has a custom field (from AM1) for the project choice. On the website each article should be found in it's own categorie, but it should also be possible to find all articles related to the project "security policy". Does that make the two questions more clear? TIA, Tinnie
|
|
|  |
 |

ChetW
Staff

Feb 23, 2007, 8:55 AM
Post #4 of 9
(480 views)
Shortcut
|
|
Re: [Tinnie] cross-referencing categories and projects
[In reply to]
|
Can't Post
|
|
Hi Tinnie, Thanks for the extra details! If I'm thinking about this correctly what you have going is three categories, when an article is created it will sometimes be added to each of your three categories. Each of you articles also have a field that you use for assigning which project that this article belongs to. Is this how you have things set-up Tia? What I'm not sure of still is this: "On the live website I want to be able to get these projectnames back" Is the main goal to publish the project name that each article is related to with the actual published article? Also are you hoping to have a link on your articles that will return results for all articles/documents related to this project? Once I have a better understanding of how you want things to operate I'll be able to help guide you towards the best options for setting it all up. :) Does this help Tia? I look forward to hearing back from you soon! Cheers, Chet Woodside - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

Tinnie
User
Feb 24, 2007, 4:34 AM
Post #5 of 9
(474 views)
Shortcut
|
|
Re: [ChetW] cross-referencing categories and projects
[In reply to]
|
Can't Post
|
|
Yes, that is how things are set up. The first question is: At this moment I need the projectnames in the admin interface (for making it possible for editors to choose them) and I need them in htmlcode in the website to be able to find them back on projectname (by issuing a search, but also because readers see this projectname). Is there a way to get those projectnames into the website without hardcoding? Is there a templatefield $fieldwiththenameProjects:listboxvalue1$ $fieldwiththenameProjects:listboxvalue2$ and so on, or something like that? Or is it possible to set this up different (E.G. I see 'article in multiple categories' announced for AM 2.10) ? You are right in thinking that I already have links that trigger the search engine, giving me all articles related to a certain project. I would like to have the projectnames not hardcoded on this links, but generated in some way... Question2: Is there a way of accomplishing this and also let editors create new projectnames? Thanks in advance, Tinnie
|
|
|  |
 |

ChetW
Staff

Feb 24, 2007, 11:11 AM
Post #6 of 9
(469 views)
Shortcut
|
|
Re: [Tinnie] cross-referencing categories and projects
[In reply to]
|
Can't Post
|
|
Hi One thing that you could do is create a new dropdown field for all you projects to do this simply follow the steps below: 1. Login to you Article Manager login and go to 'Admin' --> 'Database Editor'. 2. On the "Database Editor" page select 'edit table & fields' for the "articles" table. 3. You'll now be in the "Table Editor" for your articles, from the bottom right hand side of the page select the 'Add Field' button. 4. Fill in the new fields sections like so: Fields Label: Associated Project Field Name: associatedProject Field Type: List Stored as: string (max: 255 chars) Display as: Check off 'Single Choice' and 'pulldown' List items: create your project names in this section Input Validation: If all your articles need to be linked to a project select 'Required' Save the changes to your new field. Now if you go to create a new article what you'll have is a new field called "Associated Project" that will allow you to select whichever project the article is linked to. Next we'll make this project name appear with on your article pages, to do this login to your server and go to the /template/articlePages/articlePage.html template file. Edit this template so that is has something similar to this:
<h1>$article.associatedProject$</h1> The above code will display the actual project name that this article is related to. Is this similar to what your looking for Tia? You could also us this new field for searches to filter out all project related content. If you have any other questions please feel free to ask! Cheers, Chet Woodside - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

Tinnie
User
Feb 26, 2007, 2:38 AM
Post #7 of 9
(451 views)
Shortcut
|
|
Re: [ChetW] cross-referencing categories and projects
[In reply to]
|
Can't Post
|
|
Hi Chet, That's more or less what I have now. Now the problem is: How to have a general Projects Page with links to all the projects (usign the search) without knowing the project names? Can I get them from the field in some way? Until now I have to repeat them (in code) on the general Projects page, because I do not know a way of getting the project names all in once. Thanks, we are getting there. Tinnie.
|
|
|  |
 |

ross
Staff
/ Moderator

Feb 26, 2007, 8:47 AM
Post #8 of 9
(445 views)
Shortcut
|
|
Re: [Tinnie] cross-referencing categories and projects
[In reply to]
|
Can't Post
|
|
Hi Tinnie Thanks for clearing that up! I have an idea that you might be able to use. Basically, you can create additional category menus using the field editor. Now, they aren't really going to be treated as category menus because that's actually a special thing Article Manager does itself, but it should let you store the category names for each article so that you can run a search on it. Now, what I am thinking might be even better is the fact that Article Manager 2.1 which is currently in beta 3 will have a built in feature to let you add articles to as many different categories that you like. That to me sounds like the best idea as it will be exactly what you are looking for. The only thing is that I am not quite sure when that will be ready to roll. You can check out the progress over in our beta forum if you like: http://www.interactivetools.com/iforum/Products_C2/Beta_Releases_F20/Article_Manager_2.10_Beta_3_-_Updates_to_Template_Editor_and_Unicode_support_%28also_Multi-cat_articles%2C_improved_publishing_speed%29_P53131/ Let me know what you think . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

Tinnie
User
Feb 26, 2007, 12:32 PM
Post #9 of 9
(438 views)
Shortcut
|
|
Re: [ross] cross-referencing categories and projects
[In reply to]
|
Can't Post
|
|
Thanks Ross, I look into that and think it should be the easiest solution... Keep my fingers crossed for the next release, thanks you guys for your excellent support. Tinnie
|
|
|  |
|