Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Available solutions
ziggy1
I was wondering if there are solutions available for common scripts like a news template with index pages or something like a menu template.
We have just recently begun working with interwoven and are looking to create some kind of a news module that should be as reusable as possible. The news template itself is easy to create, that is something that is covered well in the boot camp, but creating an index page that summarises these news created wasn't covered in the boot camp and I cannot seem to find the answers to my questions in the TeamSite Templating manual.
The news system will have a few groups for example "sports", "technology", "world news", or whatever I choose to have there.
In the news template select from a drop-down menu the "group" in which the new "news" will be in.
Then I have a summary page for each of these groups where I display the news in that particular group. And I also have another page that should summarise latest news from within all the groups.
It sounds like it should be something that should be an easy thing to do and it probably is, but for a beginner I would say it isn´t easy to figure out using just the manual!
That´s why I was wondering if there are examples available or even solutions that I could use and perhaps alter for my requirements.
Find more posts tagged with
Comments
mogoo
ziggy-
We're still testing out our press release section, but I'll share with you how we set it up...
We have 1 template for our pr section, but they are broken up into different groups, similar to your "sports", "tech", etc. -- in the data dir for press, we have dirs called "sports", "tech", etc.
A new pr page is generated using regular teamsite templating.
Every night, the index template (summary page, as you call it) crawls the press html pages. If the associated dcrs have "/sports/" in their path, they are put in the sports section, "/tech/" goes to the tech section, etc. (this is an alternative suggestion to your drop-down menu where the group has to be chosen) *If you use a different tpl for each group, you could look at which tpl was used, rather than the dcr path.
As you're looking at each page, you could compare the creation date (or post date, or pr date) to today's date, and grab the most recent ones for your latest news.
...There are many ways to approach this, and it depends on your specific needs. It's somewhat "easy" once you figure out exactly how you want to do it. Maybe others have better suggestions, but hopefully this will get you thinking...
maureen
ziggy1
Thank you maureen,
I was approaching this another way and getting into all sorts of problems, especially with generating index templates. That is something I have been experimenting since I can´t find any documentation about how this should be done or even how it could be done.
But thank you very much for your help, it gives me a new idea on how I could approach this.