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)
Using Controller for .page files
System
I am curious about using the Controller to be able to capture content via one component and passing that to another component or to another .page file.
Example of what I am trying to do:
I have a component that is creates a news article and thus produces a .page file that is a html page with the article.
I have another component that creates a news summary page of all news articles. Basically the Article heading, title, and date is captured in this component thus creating a .page file that is a html page with the summary of articles.
What I want to do is automate this process so that when I create a news article page it automatically updates or appends the summary page with necessary information.
Is this possible using the Controller and if so...please give me a starting point.
Thanks
Find more posts tagged with
Comments
vpatel
Your use case isn't clear to me completely. Are you saying that you have a page that has "news listing" and then you have another "news detail" page and if you update the title / summary and it should be updated on both pages?
Migrateduser
Sorry about the vagueness...but that is correct but the other way around. I want to create a new news article detail page and it automatically updates the news summary page.
vpatel
Are you generating static html files or using LS? If using LS then this should be fairly straight fwd.
For your news listing component, have an External that retrieves "News DCRs" based on some criteria -- i.e. a given directory, given date/month, latest 10 or 20, etc.